/*
 * Home and team recovery, grounded in 09.9.zip.
 * Brand: #504842 ink, #b1a389 taupe, #f9f9f9 paper, #fffae9 cream.
 * Preserve the existing light identity, Jost / Marcellus SC, and 8px corners.
 * No global Tilda reset: these rules apply only to the two restored pages.
 */
body.ms-home-page,
body.ms-team-page {
  --ms-ink: #504842;
  --ms-ink-strong: #2a2622;
  --ms-taupe: #b1a389;
  --ms-paper: #f9f9f9;
  --ms-cream: #fffae9;
  --ms-line: #d8d0bf;
  --ms-muted: #736d68;
  color: var(--ms-ink);
  background: var(--ms-paper);
}
body.ms-home-page :is(.ms-home-sec, .ms-team, .ms-why, .ms-home-team-heading),
body.ms-team-page #rec763614830 {
  font-family: Jost, Arial, sans-serif;
}
:is(.ms-home-page, .ms-team-page) :is(.ms-home-sec, .ms-team) a {
  color: var(--ms-ink) !important;
  text-decoration-color: var(--ms-taupe);
  text-underline-offset: 4px;
}
:is(.ms-home-page, .ms-team-page) :is(.ms-home-sec, .ms-team, #hero) :is(a, button, summary):focus-visible {
  outline: 2px solid var(--ms-ink);
  outline-offset: 5px;
}
body.ms-home-page .mstudio-hero-shell {
  padding: 52px 24px 64px;
  background: var(--ms-paper);
}
.ms-home-page #hero {
  max-width: 1160px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.65fr);
  gap: 40px;
}
.ms-home-page .hero-left {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.ms-home-page .hero-left-top { display: grid; gap: 18px; }
.ms-home-page .hero-title { font-family: 'Marcellus SC', Georgia, serif; }
.ms-home-page .hero-title-main { font-size: clamp(48px, 5.3vw, 76px); line-height: 1.05; }
.ms-home-page .hero-title-sub { display: flex; gap: 9px; align-items: baseline; }
.ms-home-page .hero-title-sub-start { font: 200 1.12em/1 Jost, Arial, sans-serif; font-size: clamp(50px, 5.6vw, 82px); }
.ms-home-page #hero h1 {
  margin: 0;
  font: 400 clamp(25px, 2.3vw, 32px)/1.2 'Marcellus SC', Georgia, serif;
  color: var(--ms-ink);
  text-wrap: balance;
}
.ms-home-page #hero .hero-desc { margin: 0; font: 400 17px/1.55 Jost, Arial, sans-serif; }
.ms-home-page #hero .hero-meta { margin: -4px 0 0; font: 400 14px/1.5 Jost, Arial, sans-serif; color: var(--ms-muted); }
.ms-home-page .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.ms-home-page #hero #book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--ms-taupe);
  border-radius: 8px;
  background: var(--ms-taupe);
  color: var(--ms-ink) !important;
  font: 500 16px/1.3 Jost, Arial, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}
.ms-home-page #book svg { display: none; }
.ms-home-page #hero .hero-secondary {
  color: var(--ms-ink) !important;
  font: 500 15px/1.5 Jost, Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 5px;
  white-space: nowrap;
}
.ms-home-page #hero #book:hover { background: var(--ms-ink); border-color: var(--ms-ink); color: var(--ms-cream) !important; }
.ms-home-page .hero-right { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 12px; min-width: 0; align-self: center; height: 520px; }
.ms-home-page .hero-right-middle { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; min-width: 0; min-height: 0; }
.ms-home-page .hero-right-bottom { display: grid; grid-template-rows: 74px 1fr; gap: 12px; min-width: 0; min-height: 0; }
.ms-home-page #hero img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 8px; }
.ms-home-page #hero .communication {
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--ms-taupe); border-radius: 8px;
  color: var(--ms-ink) !important; font: 400 15px/1.4 Jost, Arial, sans-serif;
  text-decoration: none;
}
.ms-home-page #hero .communication:hover { background: var(--ms-cream); }
.ms-home-page #hero .book-mobile { display: none; }

/* A shared rhythm for the content added to the homepage. */
body.ms-home-page .ms-why { padding: 40px 24px 72px; min-height: 0; display: block; }
body.ms-home-page .ms-why__inner { max-width: 1160px; padding: 0; }
body.ms-home-page .ms-why__head { margin-bottom: 28px; max-width: none; }
body.ms-home-page .ms-why__eyebrow { display: none; }
body.ms-home-page .ms-why__head h2 { white-space: normal; font-size: clamp(28px, 3vw, 40px); line-height: 1.2; }
body.ms-home-page .ms-why__grid { border-color: var(--ms-line); border-radius: 8px; }
body.ms-home-page .ms-why__item { padding: 28px; border-color: var(--ms-line); gap: 16px; animation: none; }
body.ms-home-page .ms-why__num { color: var(--ms-muted); font-size: 16px; }
body.ms-home-page .ms-why__copy h3 { font-size: 22px; }
body.ms-home-page .ms-why__copy p { font-size: 16px; line-height: 1.6; font-weight: 400; }
body.ms-home-page .ms-home-sec { padding: 64px 24px; }
body.ms-home-page .ms-home-sec__inner { max-width: 1160px; }
body.ms-home-page .ms-home-sec h2 { margin: 0 0 28px; font-size: clamp(28px, 3vw, 40px); line-height: 1.2; text-wrap: balance; }
body.ms-home-page .ms-home-sec h3 { line-height: 1.35; }
body.ms-home-page .ms-home-sec p,
body.ms-home-page .ms-home-sec ul { font-size: 17px; font-weight: 400; line-height: 1.65; }
body.ms-home-page .ms-home-sec p { margin: 0 0 16px; }
body.ms-home-page .ms-home-sec p:last-child { margin-bottom: 0; }
body.ms-home-page .ms-home-sec__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; }
body.ms-home-page .ms-home-video { max-width: 320px; aspect-ratio: 4/5; border-radius: 8px; box-shadow: none; }
body.ms-home-page .ms-home-sec__cta {
  min-height: 48px; padding: 12px 22px; box-sizing: border-box;
  border-radius: 8px; font-size: 16px; line-height: 1.4;
  background: var(--ms-taupe); color: var(--ms-ink) !important; text-align: center;
}
body.ms-home-page .ms-home-sec__cta--outline { border-color: var(--ms-ink); background: transparent; }
body.ms-home-page .ms-home-sec__cta:hover { background: var(--ms-ink); color: var(--ms-cream) !important; }
body.ms-home-page .ms-home-sec__link { font-weight: 500; }
body.ms-home-page .ms-home-steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 36px; padding: 0; margin: 0; list-style: none;
}
body.ms-home-page .ms-home-steps li,
body.ms-home-page .ms-home-steps li:first-child { display: block; border-top: 1px solid var(--ms-line); padding: 20px 0 0; margin: 0; }
body.ms-home-page .ms-home-steps__n { display: block; color: var(--ms-muted); margin-bottom: 12px; }
body.ms-home-page .ms-home-steps h3 { margin: 0 0 10px; font: 500 19px/1.35 Jost, Arial, sans-serif; }
body.ms-home-page .ms-home-steps p { margin: 0; font-size: 16px; }
body.ms-home-page .ms-home-wear-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 64px; }
body.ms-home-page .ms-home-wear-notes { border-left: 1px solid var(--ms-line); padding-left: 32px; }
body.ms-home-page .ms-home-wear-notes h3 { margin-top: 0; }
body.ms-home-page .ms-home-wear-notes ul { margin: 0; padding-left: 20px; }
body.ms-home-page #russian-manicure-safe .ms-home-sec__inner { max-width: 900px; }
body.ms-home-page .ms-home-matters { border: 0; background: none; gap: 28px 48px; overflow: visible; }
body.ms-home-page .ms-home-matters article { padding: 24px 0 0; border: 0; border-top: 1px solid var(--ms-line); }
body.ms-home-page .ms-home-matters h3 { font-size: 23px; }
body.ms-home-page .ms-home-matters p { font-size: 16px; }
body.ms-home-page .ms-home-sec .ms-home-note { margin-top: 28px; font-size: 15px; }
body.ms-home-page .ms-home-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
body.ms-home-page .ms-home-cards article { padding: 0; border: 0; border-radius: 0; background: transparent; gap: 12px; }
body.ms-home-page .ms-home-service-photo { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 8px; margin-bottom: 4px; }
body.ms-home-page .ms-home-cards h3 { font-size: 19px; line-height: 1.35; font-weight: 500; }
body.ms-home-page .ms-home-cards p { font-size: 16px; line-height: 1.5; margin: 0; }
body.ms-home-page .ms-home-cards .ms-price { font-size: 18px; font-weight: 500; }
body.ms-home-page .ms-home-cards article > p:last-child { margin-top: auto; }
body.ms-home-page .ms-home-faq { max-width: 900px; }
body.ms-home-page .ms-home-faq details { padding: 20px 0; border-color: var(--ms-line); }
body.ms-home-page .ms-home-faq summary { font-size: 18px; font-weight: 500; line-height: 1.4; }
body.ms-home-page .ms-home-faq p { margin-top: 16px; }
body.ms-home-page #about .ms-home-sec__inner { max-width: 900px; }
body.ms-home-page #about p { font-size: 21px; }
body.ms-home-page .ms-home-team-heading { max-width: 1160px; margin: auto; padding: 56px 24px 12px; }
body.ms-home-page .ms-home-team-heading h2 { font: 400 clamp(28px, 3vw, 40px)/1.2 'Marcellus SC', Georgia, serif; margin: 0 0 20px; color: var(--ms-ink); }
body.ms-home-page .ms-home-team-heading p { max-width: 720px; margin: 0; font: 400 17px/1.6 Jost, Arial, sans-serif; color: var(--ms-ink); }
/* The legacy #allrecords ul reset otherwise removes only the left gutter. */
body.ms-home-page #allrecords .ms-team-grid { padding-inline: 24px; }
body.ms-home-page .ms-team-card { text-align: center; }
body.ms-home-page .ms-team-best,
body.ms-home-page .ms-team-card-bio { max-width: 30ch; margin-inline: auto; }
body.ms-home-page .ms-home-team-heading p { margin-inline: auto; text-align: center; }

/* The shared team partial must not fall back to the browser's serif font. */
:is(.ms-home-page, .ms-team-page) .ms-team { font: 400 16px/1.5 Jost, Arial, sans-serif; color: var(--ms-ink); }
:is(.ms-home-page, .ms-team-page) .ms-team-grid {
  box-sizing: border-box; max-width: 1208px; padding: 24px 24px 40px;
  grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 28px;
}
:is(.ms-home-page, .ms-team-page) .ms-team-card { max-width: none; display: flex; flex-direction: column; }
:is(.ms-home-page, .ms-team-page) .ms-team-card[hidden] { display: none !important; }
:is(.ms-home-page, .ms-team-page) .ms-team-card-photo { box-sizing: border-box; max-width: none; border: 0; border-radius: 8px; margin-bottom: 18px; aspect-ratio: 1/1; }
:is(.ms-home-page, .ms-team-page) .ms-team-card-name { font: 500 23px/1.3 Jost, Arial, sans-serif; margin: 0 0 6px; }
:is(.ms-home-page, .ms-team-page) .ms-team-card-name,
:is(.ms-home-page, .ms-team-page) .ms-team-card-name a { color: var(--ms-ink) !important; }
:is(.ms-home-page, .ms-team-page) .ms-team-card-role { font: 400 14px/1.5 Jost, Arial, sans-serif; opacity: 1; color: var(--ms-muted); margin-bottom: 12px; }
:is(.ms-home-page, .ms-team-page) .ms-team-best,
:is(.ms-home-page, .ms-team-page) .ms-team-card-bio { font: 400 15px/1.6 Jost, Arial, sans-serif; color: var(--ms-ink); margin: 0 0 18px; padding: 0; }
:is(.ms-home-page, .ms-team-page) .ms-team-best li { list-style: none; }
:is(.ms-home-page, .ms-team-page) .ms-team-ctas { margin-top: auto; align-items: center; gap: 16px; }
:is(.ms-home-page, .ms-team-page) .ms-team-ctas a { font: 500 14px/1.4 Jost, Arial, sans-serif; }
:is(.ms-home-page, .ms-team-page) .ms-team-ctas a.ms-team-book { background: var(--ms-taupe); color: var(--ms-ink) !important; min-height: 42px; box-sizing: border-box; padding: 10px 16px; border-radius: 8px; }
:is(.ms-home-page, .ms-team-page) .ms-team-ctas a.ms-team-book:hover { background: var(--ms-ink); color: var(--ms-cream) !important; }
:is(.ms-home-page, .ms-team-page) .ms-team-filters { padding: 12px 24px 8px; gap: 10px; font: 400 15px/1.4 Jost, Arial, sans-serif; }
:is(.ms-home-page, .ms-team-page) .ms-team-filters button { min-height: 44px; padding: 10px 18px; border-color: var(--ms-line); font: inherit; border-radius: 8px; }
:is(.ms-home-page, .ms-team-page) .ms-team-filters button[aria-pressed="true"] { border-color: var(--ms-ink); }
:is(.ms-home-page, .ms-team-page) .ms-team-filters button:hover { border-color: var(--ms-ink); }
:is(.ms-home-page, .ms-team-page) .ms-team-view-all { margin: 0; padding-bottom: 56px; }
:is(.ms-home-page, .ms-team-page) .ms-team-view-all a { font: 500 16px/1.5 Jost, Arial, sans-serif; border-radius: 8px; min-height: 48px; box-sizing: border-box; }
.ms-team-page #rec763614830 { padding-top: 64px !important; padding-bottom: 64px !important; }
.ms-team-page #rec763614830 .t-section__container { margin-bottom: 20px; }
.ms-team-page #rec763614830 .t-section__title { color: var(--ms-ink); font: 400 clamp(34px, 4vw, 50px)/1.15 'Marcellus SC', Georgia, serif; margin-bottom: 18px; }
.ms-team-page #rec763614830 .t-section__descr { color: var(--ms-ink); font: 400 21px/1.45 Jost, Arial, sans-serif; margin-bottom: 18px; }
.ms-team-page #rec763614830 .ms-team-intro { max-width: 720px; margin: 0 auto 12px; text-align: center; font: 400 16px/1.65 Jost, Arial, sans-serif; color: var(--ms-ink); }

@media (max-width: 1100px) {
  .ms-home-page #hero { gap: 28px; grid-template-columns: 1fr 1.45fr; }
  .ms-home-page .hero-right { height: 500px; }
  body.ms-home-page .ms-home-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
}
@media (max-width: 980px) {
  .ms-team-page #rec763614830 { padding-top: 40px !important; }
  :is(.ms-home-page, .ms-team-page) .ms-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 808px; }
  body.ms-home-page .ms-home-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ms-home-page .hero-title-main { font-size: 52px; }
  .ms-home-page .hero-title-sub-start { font-size: 58px; }
}
@media (max-width: 768px) {
  body.ms-home-page .mstudio-hero-shell { padding: 16px 24px 40px !important; }
  .ms-home-page #hero { grid-template-columns: 1fr; gap: 28px; }
  body.ms-home-page .hero-left-top { padding-top: 0 !important; gap: 16px; }
  .ms-home-page .hero-left { gap: 16px; }
  .ms-home-page .hero-title { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
  .ms-home-page .hero-title-main { font-size: clamp(29px, 8vw, 48px); }
  .ms-home-page .hero-title-sub-start { font-size: clamp(32px, 8.5vw, 52px); }
  .ms-home-page .hero-title-sub { gap: 8px; }
  .ms-home-page #hero h1 { max-width: 530px; font-size: clamp(25px, 6vw, 32px); text-wrap: initial; }
  .ms-home-page #hero .hero-desc { font-size: 16px; }
  .ms-home-page .hero-actions { gap: 16px; }
  .ms-home-page #hero #book { font-size: 15px; padding-inline: 18px; }
  .ms-home-page #hero .hero-secondary { font-size: 14px; }
  .ms-home-page .hero-right { height: clamp(245px, 66vw, 430px); gap: 8px; }
  .ms-home-page .hero-right-middle { gap: 8px; }
  .ms-home-page .hero-right-bottom { grid-template-rows: 48px 1fr; gap: 8px; }
  .ms-home-page #hero .communication { font-size: 13px; }
  body.ms-home-page .ms-why { padding: 24px 24px 48px; }
  body.ms-home-page .ms-why__grid { grid-template-columns: 1fr; }
  body.ms-home-page .ms-why__item { padding: 24px; border-right: 0; border-bottom: 1px solid var(--ms-line); }
  body.ms-home-page .ms-why__item:last-child { border-bottom: 0; }
  body.ms-home-page .ms-home-sec { padding: 48px 24px; }
  body.ms-home-page .ms-home-sec h2 { margin-bottom: 24px; }
  body.ms-home-page .ms-home-sec p, body.ms-home-page .ms-home-sec ul { font-size: 16px; }
  body.ms-home-page .ms-home-sec__grid, body.ms-home-page .ms-home-wear-layout { grid-template-columns: 1fr; gap: 32px; }
  body.ms-home-page .ms-home-video { max-width: 360px; }
  body.ms-home-page .ms-home-wear-notes { border-left: 0; padding: 24px 0 0; border-top: 1px solid var(--ms-line); }
  body.ms-home-page .ms-home-wear-notes ul { columns: 2; column-gap: 28px; }
  body.ms-home-page .ms-home-wear-notes li { break-inside: avoid; }
  body.ms-home-page .ms-home-matters { grid-template-columns: 1fr 1fr; gap: 24px; }
  body.ms-home-page .ms-home-matters article:nth-last-child(-n+2) { border-bottom: 0; }
  body.ms-home-page .ms-home-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.ms-home-page .ms-home-team-heading { padding-top: 40px; }
  body.ms-home-page #about p { font-size: 19px; }
  .ms-team-page #rec763614830 .ms-team-intro { padding-inline: 4px; }
}
@media (max-width: 560px) {
  :is(.ms-home-page, .ms-team-page) .ms-team-grid { grid-template-columns: minmax(0, 1fr); max-width: 440px; gap: 36px; }
  body.ms-home-page .ms-home-steps, body.ms-home-page .ms-home-matters { grid-template-columns: 1fr; }
  body.ms-home-page .ms-home-steps { gap: 24px; }
  body.ms-home-page .ms-home-steps li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }
  body.ms-home-page .ms-home-steps__n { padding-top: 3px; }
  body.ms-home-page .ms-home-wear-notes ul { columns: 1; }
  :is(.ms-home-page, .ms-team-page) .ms-team-filters { gap: 8px; }
  :is(.ms-home-page, .ms-team-page) .ms-team-filters button { padding: 10px 12px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.ms-home-page, .ms-team-page) .ms-team-card-photo img { transition: none; }
  :is(.ms-home-page, .ms-team-page) .ms-team-card-photo:hover img { transform: none; }
}

/* Tilda's :link/:visited rules are more specific than a plain component link. */
:is(.ms-home-page, .ms-team-page) .ms-team .ms-team-card-name a:any-link {
  color: var(--ms-ink) !important;
}
:is(.ms-home-page, .ms-team-page) .ms-team .ms-team-ctas a.ms-team-book:any-link {
  min-height: 44px;
  padding: 10px 16px;
  font: 500 14px/1.4 Jost, Arial, sans-serif;
  color: var(--ms-ink) !important;
}
:is(.ms-home-page, .ms-team-page) .ms-team .ms-team-ctas a.ms-team-book:hover {
  color: var(--ms-cream) !important;
}
:is(.ms-home-page, .ms-team-page) .ms-team-filters button { box-sizing: border-box; }

/* Clear, consistent primary actions: cream text on brand ink (8.6:1). */
body.ms-home-page #hero #book,
body.ms-home-page .ms-home-sec a.ms-home-sec__cta,
:is(.ms-home-page, .ms-team-page) .ms-team .ms-team-ctas a.ms-team-book:any-link,
:is(.ms-home-page, .ms-team-page) #t-header .t-btn {
  background: var(--ms-ink) !important;
  border-color: var(--ms-ink) !important;
  color: var(--ms-cream) !important;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
:is(.ms-home-page, .ms-team-page) #t-header .t-btn span,
body.ms-home-page .ms-home-sec a.ms-home-sec__cta span {
  color: var(--ms-cream) !important;
}
body.ms-home-page #hero #book:hover,
body.ms-home-page .ms-home-sec a.ms-home-sec__cta:hover,
:is(.ms-home-page, .ms-team-page) .ms-team .ms-team-ctas a.ms-team-book:hover,
:is(.ms-home-page, .ms-team-page) #t-header .t-btn:hover {
  background: var(--ms-ink-strong) !important;
  border-color: var(--ms-ink-strong) !important;
  color: var(--ms-cream) !important;
}

/* Headings are centered consistently, including headings inside old exports. */
body.ms-home-page :is(h1, h2, h3),
body.ms-team-page :is(h1, h2, h3) { text-align: center !important; }
body.ms-home-page .hero-left { text-align: center; }
body.ms-home-page .hero-title-sub,
body.ms-home-page .hero-actions { justify-content: center; }
body.ms-home-page .hero-title { text-align: center; justify-content: center; }
body.ms-home-page .ms-home-team-heading p { text-align: center; margin-inline: auto; }
body.ms-home-page #russian-manicure-faq .ms-home-sec__inner { max-width: 900px; }
body.ms-home-page .ms-home-faq { width: 100%; max-width: 900px; margin-inline: auto; box-sizing: border-box; }

/* Three distinct service stories, with photography and useful visual anchors. */
body.ms-home-page .ms-visual-section { padding-block: 80px; }
body.ms-home-page .ms-visual-heading { max-width: 900px; margin: 0 auto 44px; text-align: center; }
body.ms-home-page .ms-visual-heading h2 { margin-bottom: 16px; }
body.ms-home-page .ms-visual-heading > p { max-width: 700px; margin: 0 auto; font-size: 18px; color: var(--ms-muted); }
body.ms-home-page .ms-visual-section figure { margin: 0; min-width: 0; overflow: hidden; border-radius: 8px; }
body.ms-home-page .ms-visual-section figure > img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.ms-home-page .ms-line-icon { display: block; width: 40px; height: 40px; margin: 0 auto 16px; object-fit: contain; }
body.ms-home-page .ms-visual-section .ms-home-sec__cta { gap: 20px; margin-top: 0; }
body.ms-home-page .ms-visual-section .ms-home-sec__cta span { font-size: 22px; line-height: 1; }

body.ms-home-page .ms-wear-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
body.ms-home-page .ms-wear-photo { aspect-ratio: 1 / 1; }
body.ms-home-page .ms-wear-photo img { object-position: 50% 45%; }
body.ms-home-page .ms-wear-story { text-align: center; min-width: 0; }
body.ms-home-page .ms-wear-stat { display: flex; gap: 16px; justify-content: center; align-items: baseline; margin: 0 0 18px; }
body.ms-home-page .ms-wear-stat__number { font: 400 clamp(96px, 10vw, 144px)/1 'Marcellus SC', Georgia, serif; letter-spacing: -.06em; }
body.ms-home-page .ms-wear-stat__unit { font: 400 24px/1 Jost, Arial, sans-serif; }
body.ms-home-page .ms-wear-caption { margin: 0 auto 28px; max-width: 440px; font-size: 16px; line-height: 1.6; }
body.ms-home-page .ms-wear-foundations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border-block: 1px solid var(--ms-line); padding: 24px 0; margin-bottom: 28px; }
body.ms-home-page .ms-wear-foundations .ms-line-icon { width: 34px; height: 34px; margin-bottom: 12px; }
body.ms-home-page .ms-wear-foundations h3 { margin: 0 0 6px; font: 500 18px/1.3 Jost, Arial, sans-serif; }
body.ms-home-page .ms-wear-foundations p { font-size: 14px; line-height: 1.5; margin: 0; }
body.ms-home-page .ms-wear-details { margin: 20px auto 0; max-width: 460px; }
body.ms-home-page .ms-wear-details summary { cursor: pointer; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; list-style-position: inside; }
body.ms-home-page .ms-wear-details p { font-size: 15px; margin: 16px 0 0; }
body.ms-home-page .ms-wear-details summary:focus-visible { outline: 2px solid var(--ms-ink); outline-offset: 5px; }

body.ms-home-page #russian-manicure-safe .ms-home-sec__inner { max-width: 1160px; }
body.ms-home-page .ms-safety-gallery { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
body.ms-home-page .ms-safety-gallery figure { height: 300px; }
body.ms-home-page .ms-safety-gallery figure:first-child img { object-position: 50% 57%; }
body.ms-home-page .ms-safety-standards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 36px 0; text-align: center; }
body.ms-home-page .ms-safety-standards h3 { margin: 0 0 12px; font: 400 23px/1.3 'Marcellus SC', Georgia, serif; }
body.ms-home-page .ms-safety-standards p { max-width: 320px; margin: 0 auto; font-size: 16px; line-height: 1.6; }
body.ms-home-page .ms-safety-footer { text-align: center; padding-top: 28px; border-top: 1px solid var(--ms-line); }
body.ms-home-page .ms-safety-footer p { max-width: 750px; margin: 0 auto 22px; font-size: 15px; }

body.ms-home-page #what-matters .ms-visual-heading { max-width: 850px; }
body.ms-home-page .ms-care-composition { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 36px; align-items: center; }
body.ms-home-page .ms-care-column { display: grid; gap: 44px; }
body.ms-home-page .ms-care-point { text-align: center; }
body.ms-home-page .ms-care-point h3 { margin: 0 0 12px; font: 400 24px/1.3 'Marcellus SC', Georgia, serif; }
body.ms-home-page .ms-care-point p { max-width: 270px; margin: 0 auto; font-size: 16px; line-height: 1.6; }
body.ms-home-page .ms-care-photo { height: 480px; }
body.ms-home-page .ms-care-photo img { object-position: 46% 50%; }
body.ms-home-page .ms-home-sec .ms-care-hospitality { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 36px auto 0; padding-top: 28px; border-top: 1px solid var(--ms-line); font-size: 16px; text-align: center; }
body.ms-home-page .ms-care-hospitality img { flex: 0 0 24px; }

@media (max-width: 1100px) {
  body.ms-home-page .ms-wear-visual { gap: 36px; }
  body.ms-home-page .ms-care-composition { grid-template-columns: 1fr 1.15fr 1fr; gap: 24px; }
  body.ms-home-page .ms-care-point h3 { font-size: 21px; }
  body.ms-home-page .ms-care-photo { height: 460px; }
}
@media (max-width: 860px) {
  body.ms-home-page .ms-wear-visual { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  body.ms-home-page .ms-wear-photo { aspect-ratio: 4 / 3; }
  body.ms-home-page .ms-wear-stat__number { font-size: 120px; }
  body.ms-home-page .ms-safety-gallery figure { height: 240px; }
  body.ms-home-page .ms-safety-standards { gap: 24px; }
  body.ms-home-page .ms-safety-standards h3 { font-size: 20px; }
  body.ms-home-page .ms-care-composition { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; max-width: 640px; margin: 0 auto; }
  body.ms-home-page .ms-care-column { display: contents; }
  body.ms-home-page .ms-care-photo { order: -1; grid-column: 1 / -1; width: 100%; height: 380px; }
}
@media (max-width: 600px) {
  body.ms-home-page .ms-visual-section { padding-block: 52px; }
  body.ms-home-page .ms-visual-heading { margin-bottom: 28px; }
  body.ms-home-page .ms-visual-heading > p { font-size: 16px; }
  body.ms-home-page .ms-wear-visual { gap: 28px; }
  body.ms-home-page .ms-wear-stat { margin-bottom: 12px; }
  body.ms-home-page .ms-wear-stat__number { font-size: 108px; }
  body.ms-home-page .ms-wear-stat__unit { font-size: 21px; }
  body.ms-home-page .ms-wear-foundations { gap: 10px; margin-bottom: 24px; }
  body.ms-home-page .ms-wear-foundations h3 { font-size: 16px; }
  body.ms-home-page .ms-wear-foundations p { font-size: 13px; }
  body.ms-home-page .ms-safety-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  body.ms-home-page .ms-safety-gallery figure { height: 200px; }
  body.ms-home-page .ms-safety-standards { grid-template-columns: 1fr; gap: 28px; margin-block: 28px; }
  body.ms-home-page .ms-safety-standards .ms-line-icon { width: 36px; height: 36px; margin-bottom: 12px; }
  body.ms-home-page .ms-safety-standards h3 { font-size: 23px; margin-bottom: 8px; }
  body.ms-home-page .ms-safety-footer { padding-top: 24px; }
  body.ms-home-page .ms-care-composition { gap: 28px 22px; }
  body.ms-home-page .ms-care-photo { height: 300px; }
  body.ms-home-page .ms-care-point h3 { font-size: 20px; }
  body.ms-home-page .ms-care-point p { font-size: 15px; line-height: 1.55; }
  body.ms-home-page .ms-care-point .ms-line-icon { width: 34px; height: 34px; margin-bottom: 12px; }
  body.ms-home-page .ms-home-sec .ms-care-hospitality { margin-top: 28px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  body.ms-home-page #hero #book,
  body.ms-home-page .ms-home-sec a.ms-home-sec__cta,
  :is(.ms-home-page, .ms-team-page) .ms-team .ms-team-ctas a.ms-team-book:any-link { transition: none; }
}

/* Homepage editorial compositions: photography leads, copy supports it. */
body.ms-home-page #hero,
body.ms-home-page #hero .hero-left,
body.ms-home-page #hero h1 { text-align: left !important; }
body.ms-home-page #hero .hero-title,
body.ms-home-page #hero .hero-title-sub,
body.ms-home-page #hero .hero-actions { justify-content: flex-start; text-align: left; }

body.ms-home-page .ms-section-kicker {
  margin: 0 0 12px;
  color: var(--ms-muted);
  font: 500 12px/1.2 Jost, Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}
body.ms-home-page .ms-gel-story,
body.ms-home-page .ms-process-story,
body.ms-home-page .ms-services-lookbook,
body.ms-home-page .ms-about-studio { padding-block: clamp(64px, 8vw, 112px); }
body.ms-home-page .ms-gel-story__lead { max-width: 720px; margin: 0 auto 42px; text-align: center; }
body.ms-home-page .ms-gel-story__lead h2 { margin-bottom: 14px; }
body.ms-home-page .ms-gel-story__lead > p:last-child { margin: 0; font-size: 18px; }
body.ms-home-page .ms-gel-story__composition { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 0; align-items: stretch; max-width: 1040px; margin: 0 auto; }
body.ms-home-page .ms-gel-story__photo { position: relative; margin: 0; min-height: 610px; overflow: hidden; border-radius: 8px 0 0 8px; }
body.ms-home-page .ms-gel-story__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
body.ms-home-page .ms-gel-story__photo figcaption { position: absolute; left: 24px; bottom: 22px; color: var(--ms-cream); font: 400 15px/1.4 Jost, Arial, sans-serif; text-shadow: 0 1px 16px rgba(42,38,34,.65); }
body.ms-home-page .ms-gel-story__panel { display: flex; flex-direction: column; padding: 54px 46px 40px; background: var(--ms-ink); color: var(--ms-cream); border-radius: 0 8px 8px 0; }
body.ms-home-page .ms-gel-story__number { display: flex; align-items: baseline; gap: 14px; margin: 0 0 16px; color: var(--ms-cream); }
body.ms-home-page .ms-gel-story__number strong { font: 400 clamp(96px, 9vw, 132px)/.8 'Marcellus SC', Georgia, serif; letter-spacing: -.07em; }
body.ms-home-page .ms-gel-story__number span { font: 400 20px/1 Jost, Arial, sans-serif; }
body.ms-home-page .ms-gel-story__intro { margin: 0 0 34px; color: var(--ms-cream); font-size: 17px; line-height: 1.55; }
body.ms-home-page .ms-gel-story__factors { margin: 0 0 34px; border-top: 1px solid rgba(255,250,233,.35); }
body.ms-home-page .ms-gel-story__factors p { display: grid; grid-template-columns: 34px 1fr; gap: 12px; margin: 0; padding: 15px 0; border-bottom: 1px solid rgba(255,250,233,.35); color: var(--ms-cream); font-size: 15px; line-height: 1.35; }
body.ms-home-page .ms-gel-story__factors b { color: var(--ms-taupe); font: 400 17px/1 'Marcellus SC', Georgia, serif; }
body.ms-home-page .ms-gel-story__panel .ms-home-sec__cta { align-self: flex-start; margin-top: auto; background: var(--ms-cream) !important; border-color: var(--ms-cream) !important; color: var(--ms-ink) !important; }
body.ms-home-page .ms-gel-story__panel .ms-home-sec__cta span { color: var(--ms-ink) !important; }
body.ms-home-page .ms-gel-story__panel .ms-home-sec__cta:hover { background: #fff !important; color: var(--ms-ink) !important; }
body.ms-home-page .ms-gel-story__panel .ms-wear-details { margin: 22px 0 0; color: var(--ms-cream); }
body.ms-home-page .ms-gel-story__panel .ms-wear-details summary { color: var(--ms-cream); }
body.ms-home-page .ms-gel-story__panel .ms-wear-details p { color: var(--ms-cream); font-size: 14px; }

body.ms-home-page .ms-process-story { background: #f9f9f9; padding-block: 72px; }
body.ms-home-page .ms-process-story__head { margin: 0 auto 32px; max-width: 1040px; text-align: center; }
body.ms-home-page .ms-process-story__head h2 { margin: 0; }
body.ms-home-page .ms-process-story__composition { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 4vw, 56px); align-items: center; max-width: 1040px; margin: auto; }
body.ms-home-page .ms-process-story__photo { height: 510px; margin: 0; overflow: hidden; border-radius: 8px; }
body.ms-home-page .ms-process-story__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.ms-home-page .ms-home-sec .ms-process-story__intro { max-width: 450px; margin: 0 0 24px; font-size: 18px; line-height: 1.55; }
body.ms-home-page .ms-process-story__stages { border-top: 1px solid var(--ms-line); margin-bottom: 24px; }
body.ms-home-page .ms-process-story__stages article { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 18px; align-items: start; padding: 21px 0; border-bottom: 1px solid var(--ms-line); }
body.ms-home-page .ms-process-story__stages span { color: var(--ms-ink); font: 400 30px/1.15 'Marcellus SC', Georgia, serif; }
body.ms-home-page .ms-process-story__stages h3 { margin: 0 0 7px; text-align: left !important; font: 400 25px/1.2 'Marcellus SC', Georgia, serif; }
body.ms-home-page .ms-process-story__stages p { max-width: 360px; margin: 0; font-size: 16px; line-height: 1.5; }

body.ms-home-page .ms-services-lookbook { background: var(--ms-cream); }
body.ms-home-page .ms-services-lookbook__head { margin: 0 auto 34px; text-align: center; }
body.ms-home-page .ms-services-lookbook__head h2 { margin: 0; }
body.ms-home-page .ms-services-lookbook__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(3, 300px); gap: 14px; }
body.ms-home-page .ms-services-lookbook__card { position: relative; display: block; overflow: hidden; border-radius: 8px; color: var(--ms-cream) !important; text-decoration: none; }
body.ms-home-page .ms-services-lookbook__card--1 { grid-column: 1 / span 2; grid-row: 1 / span 2; }
body.ms-home-page .ms-services-lookbook__card--9 img { object-position: 50% 38%; }
body.ms-home-page .ms-services-lookbook__card img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .5s ease; }
body.ms-home-page .ms-services-lookbook__card::after { position: absolute; content: ''; inset: 40% 0 0; background: linear-gradient(transparent, rgba(42,38,34,.74)); pointer-events: none; }
body.ms-home-page .ms-services-lookbook__label { position: absolute; z-index: 1; right: 20px; bottom: 18px; left: 20px; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
body.ms-home-page .ms-services-lookbook__label b { color: var(--ms-cream); font: 400 clamp(19px, 2vw, 27px)/1.1 'Marcellus SC', Georgia, serif; }
body.ms-home-page .ms-services-lookbook__label small { color: var(--ms-cream); font: 400 14px/1.2 Jost, Arial, sans-serif; white-space: nowrap; }
body.ms-home-page .ms-services-lookbook__card:hover img { transform: scale(1.035); }
body.ms-home-page .ms-services-lookbook__footer { margin: 28px 0 0; text-align: center; }

body.ms-home-page .ms-about-studio { background: #f9f9f9; }
body.ms-home-page .ms-about-studio__composition { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 68px); align-items: center; max-width: 1160px; margin: auto; }
body.ms-home-page .ms-about-studio__collage { position: relative; isolation: isolate; padding: 0 22px 36px 0; }
body.ms-home-page .ms-about-studio__collage::before { content: ''; position: absolute; z-index: -1; top: 18px; left: 18px; right: 4px; bottom: 18px; border: 1.5px solid var(--ms-taupe); border-radius: 16px; }
body.ms-home-page .ms-about-studio__main-image { display: block; width: 100%; height: 540px; object-fit: cover; object-position: 50% 0%; border-radius: 12px; box-shadow: 0 14px 32px rgba(80,72,66,.08); }
body.ms-home-page .ms-about-studio__detail-image { position: absolute; z-index: 1; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; height: auto; object-fit: cover; object-position: 50% 40%; box-sizing: border-box; border: 6px solid var(--ms-paper); border-radius: 16px; box-shadow: 0 12px 26px rgba(80,72,66,.12); }
body.ms-home-page .ms-about-studio__copy { text-align: left; }
body.ms-home-page .ms-about-studio__copy h2 { margin: 0 0 24px; text-align: left !important; }
body.ms-home-page #about .ms-about-studio__copy > p { max-width: 490px; margin-bottom: 24px; font-size: 17px; }
body.ms-home-page .ms-about-studio__features { display: grid; gap: 24px; margin: 28px 0; }
body.ms-home-page .ms-about-studio__feature { display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 18px; align-items: start; }
body.ms-home-page .ms-about-studio__icon { width: 52px; height: 52px; display: grid; place-items: center; background: var(--ms-cream); border: 1px solid var(--ms-line); border-radius: 12px; }
body.ms-home-page .ms-about-studio__icon img { width: 28px; height: 28px; display: block; }
body.ms-home-page .ms-about-studio__feature h3 { margin: 0 0 7px; font: 400 22px/1.25 'Marcellus SC',Georgia,serif; text-align: left !important; }
body.ms-home-page #about .ms-about-studio__feature p { margin: 0; font-size: 16px; line-height: 1.6; }
body.ms-home-page .ms-about-studio__meta { color: var(--ms-muted); font-size: 15px !important; }
body.ms-home-page .ms-about-studio__photo { height: 540px; margin: 0; overflow: hidden; border-radius: 8px; }
body.ms-home-page .ms-about-studio__photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 55%; }

/* The reasons need their numbers tied to each thought, rather than floating aside. */
body.ms-home-page .ms-why__head { text-align: center; }
body.ms-home-page .ms-why__item { grid-template-columns: 66px 1fr; gap: 18px; }
body.ms-home-page .ms-why__num { display: block; color: var(--ms-ink); font-size: 42px; line-height: .9; padding-top: 1px; }
body.ms-home-page .ms-why__copy h3 { text-align: left !important; }

@media (max-width: 760px) {
  body.ms-home-page #hero,
  body.ms-home-page #hero .hero-left,
  body.ms-home-page #hero h1 { text-align: left !important; }
  body.ms-home-page #hero .hero-title,
  body.ms-home-page #hero .hero-title-sub,
  body.ms-home-page #hero .hero-actions { justify-content: flex-start; }
  body.ms-home-page .ms-gel-story__composition { grid-template-columns: 1fr; max-width: 540px; }
  body.ms-home-page .ms-gel-story__photo { min-height: 430px; border-radius: 8px 8px 0 0; }
  body.ms-home-page .ms-gel-story__panel { padding: 38px 28px 30px; border-radius: 0 0 8px 8px; }
  body.ms-home-page .ms-gel-story__number strong { font-size: 104px; }
  body.ms-home-page .ms-process-story__composition,
  body.ms-home-page .ms-about-studio__composition { grid-template-columns: 1fr; gap: 30px; max-width: 540px; }
  body.ms-home-page .ms-process-story__photo { height: 390px; }
  body.ms-home-page .ms-process-story { padding-block: 48px; }
  body.ms-home-page .ms-process-story__stages article { grid-template-columns: 40px 1fr; gap: 8px 12px; }
  body.ms-home-page .ms-process-story__stages h3 { font-size: 23px; }
  body.ms-home-page .ms-services-lookbook__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 360px repeat(4, 250px); gap: 10px; }
  body.ms-home-page .ms-services-lookbook__card--1 { grid-row: 1; grid-column: 1 / -1; }
  body.ms-home-page .ms-services-lookbook__label { right: 14px; bottom: 14px; left: 14px; display: block; }
  body.ms-home-page .ms-services-lookbook__label b { display: block; margin-bottom: 4px; font-size: 18px; }
  body.ms-home-page .ms-services-lookbook__label small { display: block; font-size: 13px; }
  body.ms-home-page .ms-services-lookbook__card--1 .ms-services-lookbook__label { display: flex; justify-content: space-between; align-items: end; }
  body.ms-home-page .ms-services-lookbook__card--1 .ms-services-lookbook__label b { margin: 0; font-size: 22px; }
  body.ms-home-page .ms-about-studio__copy { order: 2; }
  body.ms-home-page .ms-about-studio__collage { order: 1; padding-right: 18px; padding-bottom: 28px; }
  body.ms-home-page .ms-about-studio__main-image { height: 440px; }
  body.ms-home-page .ms-about-studio__detail-image { width: 45%; border-width: 5px; }
  body.ms-home-page .ms-about-studio__feature { grid-template-columns: 46px minmax(0,1fr); gap: 14px; }
  body.ms-home-page .ms-about-studio__icon { width: 46px; height: 46px; }
  body.ms-home-page .ms-about-studio__feature h3 { font-size: 21px; }
  body.ms-home-page .ms-about-studio__photo { order: 1; height: 420px; }
  body.ms-home-page .ms-why__item { grid-template-columns: 54px 1fr; }
  body.ms-home-page .ms-why__num { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  body.ms-home-page .ms-services-lookbook__card img { transition: none; }
}

/* A quieter photographic note for gel wear: the image and the fact share one composition. */
body.ms-home-page .ms-gel-story { display: none; }
body.ms-home-page .ms-gel-note { padding-block: clamp(64px, 9vw, 124px); }
body.ms-home-page .ms-gel-note__composition { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(340px, .96fr); gap: clamp(32px, 7vw, 112px); align-items: center; max-width: 1050px; margin: auto; }
body.ms-home-page .ms-gel-note__photo { height: 630px; margin: 0; overflow: hidden; border-radius: 8px; }
body.ms-home-page .ms-gel-note__photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 50%; }
body.ms-home-page .ms-gel-note__copy { max-width: 460px; text-align: left; }
body.ms-home-page .ms-gel-note__copy h2 { margin: 0 0 30px; text-align: left !important; font-size: clamp(34px, 4vw, 54px); line-height: 1.08; }
body.ms-home-page .ms-gel-note__statement { margin: 0 0 28px; padding: 22px 0; border-block: 1px solid var(--ms-line); font-size: 18px; line-height: 1.6; }
body.ms-home-page .ms-gel-note__rules { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 30px; color: var(--ms-muted); font: 500 13px/1.4 Jost, Arial, sans-serif; text-transform: uppercase; letter-spacing: .06em; }
body.ms-home-page .ms-gel-note__rules span::before { content: '•'; margin-right: 8px; color: var(--ms-ink); }
body.ms-home-page .ms-gel-note .ms-home-sec__cta { margin: 0; }
body.ms-home-page .ms-gel-note .ms-wear-details { margin: 20px 0 0; }

/* The services section now contains the whole studio menu; the old Tilda service panel is hidden. */
#rec714049418 > div > .container { display: none !important; }

/* Actual tool-processing footage, played silently when its frame is in view. */
body.ms-home-page .ms-sterilization { background: var(--ms-cream); }
body.ms-home-page #tool-sterilization,
body.ms-home-page #russian-manicure-process { scroll-margin-top: 110px; }
body.ms-home-page .ms-sterilization__heading { max-width: 880px; margin: 0 auto 36px; text-align: center; }
body.ms-home-page .ms-sterilization__heading h2 { margin: 0; }
body.ms-home-page .ms-sterilization__layout { display: grid; grid-template-columns: 338px minmax(0, 1fr); gap: 64px; align-items: center; max-width: 980px; margin: auto; }
body.ms-home-page .ms-sterilization__film { position: relative; width: 100%; max-width: 338px; aspect-ratio: 9 / 16; margin: 0 auto; overflow: hidden; border-radius: 8px; background: var(--ms-ink-strong); }
body.ms-home-page .ms-sterilization__film video { display: block; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: contain; }
body.ms-home-page .ms-sterilization__toggle { position: absolute; z-index: 2; right: 14px; bottom: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; padding: 10px 15px; border: 1px solid rgba(255,250,233,.6); border-radius: 6px; background: rgba(42,38,34,.85); color: var(--ms-cream); cursor: pointer; font: 400 13px/1.2 Jost, Arial, sans-serif; }
body.ms-home-page .ms-sterilization__toggle:hover { background: var(--ms-ink-strong); }
body.ms-home-page .ms-sterilization__toggle:focus-visible { outline-color: var(--ms-cream); }
body.ms-home-page .ms-sterilization [hidden] { display: none !important; }
body.ms-home-page .ms-sterilization__film .ms-sterilization__error { position: absolute; z-index: 3; inset: 36% 20px auto; color: var(--ms-cream); text-align: center; font-size: 15px; }
body.ms-home-page .ms-sterilization__error a:any-link { display: block; color: var(--ms-cream) !important; text-decoration: underline; margin-top: 12px; }
body.ms-home-page .ms-home-sec .ms-sterilization__intro { max-width: 490px; margin: 0 0 30px; font-size: 20px; line-height: 1.6; }
body.ms-home-page .ms-sterilization__stages { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ms-line); border-radius: 8px; overflow: hidden; margin-bottom: 28px; }
body.ms-home-page .ms-sterilization__stages > div { display: flex; align-items: center; gap: 14px; padding: 24px 20px; border-bottom: 1px solid var(--ms-line); }
body.ms-home-page .ms-sterilization__stages > div:nth-child(odd) { border-right: 1px solid var(--ms-line); }
body.ms-home-page .ms-sterilization__stages > div:nth-last-child(-n+2) { border-bottom: 0; }
body.ms-home-page .ms-sterilization__stages span { font: 400 25px/1 'Marcellus SC', Georgia, serif; }
body.ms-home-page .ms-sterilization__stages h3 { margin: 0; font: 400 21px/1.2 'Marcellus SC', Georgia, serif; text-align: left !important; }
body.ms-home-page .ms-sterilization__assurance { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
body.ms-home-page .ms-sterilization__assurance img { flex: 0 0 36px; width: 36px; height: 36px; }
body.ms-home-page .ms-sterilization__assurance p { font-size: 16px; line-height: 1.6; margin: 0; }
@media (max-width: 980px) and (min-width: 761px) {
  body.ms-home-page .ms-sterilization__layout { grid-template-columns: minmax(240px, .85fr) minmax(0, 1.15fr); gap: 32px; }
  body.ms-home-page .ms-sterilization__stages > div { padding: 18px 14px; gap: 8px; }
  body.ms-home-page .ms-sterilization__stages span { font-size: 21px; }
  body.ms-home-page .ms-sterilization__stages h3 { font-size: 17px; }
}
@media (max-width: 760px) {
  body.ms-home-page .ms-sterilization__layout { grid-template-columns: 1fr; gap: 30px; max-width: 540px; }
  body.ms-home-page .ms-sterilization__film { max-width: 338px; }
  body.ms-home-page .ms-home-sec .ms-sterilization__intro { font-size: 18px; margin-bottom: 24px; }
  body.ms-home-page .ms-sterilization__stages > div { padding: 20px 14px; gap: 10px; }
  body.ms-home-page .ms-sterilization__stages span { font-size: 22px; }
  body.ms-home-page .ms-sterilization__stages h3 { font-size: 19px; }
  body.ms-home-page .ms-sterilization__assurance p { font-size: 15px; }
}
@media (max-width: 359px) {
  body.ms-home-page .ms-sterilization__stages > div { padding: 18px 10px; gap: 7px; }
  body.ms-home-page .ms-sterilization__stages h3 { font-size: 17px; }
  body.ms-home-page .ms-sterilization__stages span { font-size: 19px; }
}

/* The short video previews use a taller editorial frame. */
#mstudio-videos { display: block !important; visibility: visible !important; opacity: 1 !important; transform: none !important; padding: clamp(64px, 8vw, 110px) 24px !important; background: #f9f9f9; }
#mstudio-videos > div { max-width: 1160px !important; }
#mstudio-videos h2 { margin: 0 0 36px !important; color: var(--ms-ink) !important; font: 400 clamp(32px, 3vw, 44px)/1.15 'Marcellus SC', Georgia, serif !important; }
#mstudio-videos .mstudio-video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 18px !important; }
#mstudio-videos .mstudio-video-card { max-width: none !important; aspect-ratio: 3 / 4 !important; border: 1px solid var(--ms-line) !important; border-radius: 8px !important; box-shadow: none !important; }
#mstudio-videos .mstudio-video-thumb-wrap { min-height: 0 !important; }

@media (max-width: 760px) {
  body.ms-home-page .ms-gel-note__composition { grid-template-columns: 1fr; gap: 30px; max-width: 540px; }
  body.ms-home-page .ms-gel-note__photo { height: 440px; }
  body.ms-home-page .ms-gel-note__copy h2 { font-size: 34px; }
  body.ms-home-page .ms-gel-note__rules { display: grid; gap: 10px; }
  #mstudio-videos .mstudio-video-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  #mstudio-videos .mstudio-video-card { aspect-ratio: 3 / 4 !important; }
}
