/* Reference-led homepage. All overrides are limited to the home route. */
body[data-page="home"] {
  --meeture-paper: #f6f3ef;
  --meeture-surface: #fbf9f6;
  --meeture-ink: #39332e;
  --meeture-muted: #6b6056;
  --meeture-wine: #654e3d;
  --meeture-wine-deep: #49392d;
  --meeture-line: #d5ccc4;
  --meeture-line-soft: #e7dfd7;
  --meeture-panel: #e9ddd3;
  --meeture-panel-deep: #cbb8ad;
  --meeture-copper: #9e7b61;
  --meeture-accent-ink: #654e3d;
  --meeture-paper-rgb: 246, 243, 239;
  --meeture-surface-rgb: 251, 249, 246;
  --meeture-ink-rgb: 57, 51, 46;
  --meeture-wine-rgb: 101, 78, 61;
  --meeture-wine-deep-rgb: 73, 57, 45;
  --paper: var(--meeture-paper);
  --surface: var(--meeture-surface);
  --ink: var(--meeture-ink);
  --muted: var(--meeture-muted);
  --wine: var(--meeture-wine);
  --line: var(--meeture-line);
  --gold: var(--meeture-copper);
  --blush: var(--meeture-panel);
  --web-radius: 10px;
  --web-shadow: 0 3px 12px #4c3b2e08;
  background: var(--paper);
  color: var(--ink);
}
body[data-page="home"] .header {
  height: 78px;
  background: #f8f5f1;
  border-bottom: 1px solid #d9d1ca;
  box-shadow: none;
}
body[data-page="home"] .header .desktop-nav a { font-size: 12px; color: #605954; }
body[data-page="home"] .header .desktop-nav a span { display: none; }
body[data-page="home"] .brand-word { color: #302b27; font-weight: 400; }
body[data-page="home"] .editorial-home {
  max-width: none;
  padding: 0 0 16px;
  margin: 0;
  background: var(--paper);
}

/* The wide image includes the reference's quiet left margin for the headline. */
body[data-page="home"] .editorial-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-width: 880px;
  margin-top: 24px;
  border-radius: 10px;
  margin-inline: auto;
  overflow: hidden;
  background: #eee5db;
}
body[data-page="home"] .editorial-hero-picture { position: absolute; inset: 0; display: block; }
body[data-page="home"] .editorial-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body[data-page="home"] .editorial-hero-copy {
  position: absolute;
  inset: 10% auto 8% 5.85%;
  width: 29%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #483725;
}
body[data-page="home"] .editorial-hero-copy > .eyebrow {
  font: 10px / 1.5 sans-serif;
  letter-spacing: 1.5px;
}
body[data-page="home"] .editorial-hero-copy h1 {
  font-family: 'Noto Serif SC', 'Songti SC', SimSun, serif !important;
  font-size: 30px !important;
  font-weight: 400 !important;
  line-height: 1.48 !important;
  letter-spacing: .12em !important;
  margin: 22px 0 12px !important;
}
body[data-page="home"] .editorial-english {
  font: 13px / 1.6 sans-serif;
  letter-spacing: .28em;
  color: #ac876d;
  margin: 0;
}
body[data-page="home"] .editorial-rule {
  width: 62px;
  height: 1px;
  background: #b5967b;
  margin: 12px 0;
  flex-shrink: 0;
}
body[data-page="home"] .editorial-description { font-size: 13px; line-height: 1.8; margin: 0; }
body[data-page="home"] .editorial-hero-actions { display: flex; align-items: center; gap: 12px 22px; margin-top: 18px; }
body[data-page="home"] .editorial-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  border: 1px solid #83684f;
  border-radius: 40px;
  padding: 13px 27px;
  font-size: 14px;
  min-height: 48px;
  color: #47382c;
  background: #f6f0e833;
  transition: background .2s, border-color .2s;
}
body[data-page="home"] .editorial-book:hover { background: #fff9f0; border-color: #49392d; }
body[data-page="home"] .editorial-book span { font-size: 22px; }
body[data-page="home"] .editorial-discover {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: none;
  color: #654e3d;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0;
  cursor: pointer;
  transition: border-color .2s;
}
body[data-page="home"] .editorial-discover:hover { border-bottom-color: currentColor; }
body[data-page="home"] .editorial-discover span { font-size: 18px; }
body[data-page="home"] .editorial-hero-actions .editorial-discover { display: none; }
body[data-page="home"] .editorial-city { margin-top: auto; font: 9px / 1.6 sans-serif; letter-spacing: 1px; color: #80644f; }
body[data-page="home"] .editorial-hero-aside {
  position: absolute;
  right: 3.5%;
  top: 43%;
  width: 10%;
  color: #96765f;
  font-size: 10px;
  line-height: 2;
  letter-spacing: .12em;
}
body[data-page="home"] .editorial-hero-aside i { display: block; height: 1px; width: 52px; background: #b69c86; margin: 30px 0; }
body[data-page="home"] .editorial-hero-aside p { color: #51463d; white-space: nowrap; letter-spacing: .06em; }
body[data-page="home"] .editorial-hero-aside .editorial-discover { margin-top: 42px; }
html[lang="en"] body[data-page="home"] .editorial-english { display: none; }
html[lang="en"] body[data-page="home"] .editorial-hero-copy h1 { letter-spacing: .015em !important; }

body[data-page="home"] .editorial-home .reference-services,
body[data-page="home"] .editorial-home .reference-story { max-width: 1120px; width: calc(100% - 64px); margin-inline: auto !important; }
body[data-page="home"] .editorial-home .reference-services { padding: 32px 0 22px !important; }
body[data-page="home"] .editorial-home .section-heading {
  border-bottom: 1px solid #d5ccc4;
  padding: 0 20px 28px;
  margin-bottom: 26px;
  align-items: end;
  gap: 24px;
}
body[data-page="home"] .editorial-home .section-heading > div { min-width: 0; }
body[data-page="home"] .editorial-home .section-heading h2 { font: 400 34px / 1.5 'Songti SC', serif !important; color: #332e2a; margin: 8px 0; }
body[data-page="home"] .editorial-home .section-heading .eyebrow { font-size: 10px; letter-spacing: .12em; }
body[data-page="home"] .editorial-home .section-heading > .text-link { flex-shrink: 0; min-height: 44px; display: inline-flex; align-items: center; }
body[data-page="home"] .editorial-home .service-families { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
body[data-page="home"] .editorial-home .service-family { border: 1px solid #d6cfca; background: #fbf9f6; border-radius: 10px; box-shadow: 0 3px 9px #58473308; }
body[data-page="home"] .editorial-home .family-heading {
  min-height: 220px;
  padding: 22px 26px;
  background-size: cover !important;
  background-position: center !important;
  color: #302b28;
}
body[data-page="home"] .editorial-home .service-family--makeup .family-heading {
  background-image: linear-gradient(90deg, #ece0d5f5 0%, #ece0d5cf 38%, #ece0d52e 78%), url('/assets/home-20261015/makeup-reference.webp') !important;
}
body[data-page="home"] .editorial-home .service-family--brows .family-heading {
  background-image: linear-gradient(90deg, #f4f0ebfc 0%, #f4f0ebdb 38%, #f4f0eb10 85%), url('/assets/home-20261015/brows-reference.webp') !important;
}
body[data-page="home"] .editorial-home .family-heading h3 { font: 400 28px / 1.4 'Songti SC', serif; margin: 18px 0 12px; white-space: normal; color: #332d28; }
body[data-page="home"] .editorial-home .family-heading p { max-width: 65%; padding: 0; font-size: 13px; color: #665c53; }
body[data-page="home"] .editorial-home .family-kicker { font-size: 9px; color: #54483e; }
body[data-page="home"] .editorial-home .family-mark,
body[data-page="home"] .editorial-home .family-eye,
body[data-page="home"] .editorial-home .family-subtitle { display: none; }
body[data-page="home"] .editorial-home .family-explore { justify-content: flex-start; gap: 14px; color: #443b32; }
body[data-page="home"] .editorial-home .family-paths { padding: 4px 34px 24px; }
body[data-page="home"] .editorial-home .family-option { min-height: 72px; border-color: #e7dfd7; }
body[data-page="home"] .editorial-home .family-option-copy strong { font-size: 18px; color: #4c433b; }
body[data-page="home"] .editorial-home .family-option-copy small,
body[data-page="home"] .editorial-home .family-inquiry small { color: #756d66; }
body[data-page="home"] .editorial-home .family-consultation { padding-top: 0; }
body[data-page="home"] .editorial-home .family-inquiry { min-height: 82px; border-color: #e7dfd7; }
body[data-page="home"] .editorial-home .family-inquiry strong { font-size: 17px; }
body[data-page="home"] .editorial-home .secondary-service {
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 24px;
  padding: 28px 36px;
  min-height: 155px;
  background: linear-gradient(90deg, #eee9e2 0%, #eee9e2de 50%, #eee9e220 100%), url('/assets/home-20261015/skin.webp') center 45% / cover;
  border-color: #d6cfca;
}
body[data-page="home"] .editorial-home .secondary-service > .eyebrow,
body[data-page="home"] .editorial-home .secondary-service > div { grid-column: 1; }
body[data-page="home"] .editorial-home .secondary-service > .text-link { grid-column: 2; grid-row: 1 / 3; background: #fcfaf6; border-radius: 18px; padding: 16px 24px; }
body[data-page="home"] .editorial-home .reference-story { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); background: #cbb8ad; padding: 26px 32px; gap: 28px; border: 0; border-radius: 10px; }
body[data-page="home"] .editorial-home .reference-story > div { min-width: 0; }
body[data-page="home"] .editorial-home .reference-story h2 { margin-top: 16px; font-family: 'Songti SC', serif; color: #43382f; white-space: normal; }
body[data-page="home"] .editorial-home .reference-story p { font-size: 12px; color: #5b5048; }
body[data-page="home"] .editorial-home .reference-story .text-link { min-height: 44px; display: inline-flex; align-items: center; }
body[data-page="home"] .editorial-home .reference-locations { gap: 16px; }
body[data-page="home"] .editorial-home .reference-locations .editorial-location {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 180px;
  background: #faf8f4;
  padding: 22px 18px 22px 36%;
  border: 0;
  overflow: hidden;
  border-radius: 6px;
  gap: 12px;
}
body[data-page="home"] .editorial-location .location-art { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; overflow: hidden; background: #ddccbb; }
body[data-page="home"] .location-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
body[data-page="home"] .location-contact { display: flex; align-items: center; justify-content: space-between; gap: 8px; overflow-wrap: anywhere; }
body[data-page="home"] .editorial-home .reference-story .location-caption { font-size: 10px; margin: 10px 0 0; line-height: 1.6; }
body[data-page="home"] .editorial-home .reference-locations .editorial-location--empty { padding: 24px; }

body[data-page="home"] .footer {
  background: #f1ebe5 !important;
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 0;
  padding: 26px max(32px, calc((100vw - 1320px) / 2)) !important;
  min-height: 0 !important;
  border-top: 1px solid #ded4cb;
  box-shadow: none;
}
body[data-page="home"] .footer::before,
body[data-page="home"] .footer::after { display: none !important; }
body[data-page="home"] .footer-brand { font-size: 32px !important; margin: 0 !important; color: #493d34 !important; }
body[data-page="home"] .footer-brand span { font-size: 9px; margin-top: 4px; }
body[data-page="home"] .footer > p { display: none; }
body[data-page="home"] .footer-links { margin: 0 0 0 auto !important; gap: 20px; display: flex; flex-wrap: wrap; }
body[data-page="home"] .footer > small { font-size: 9px; margin: 0 !important; }
body[data-page="home"] .footer .motion-toggle { flex-basis: auto; font-size: 10px; min-height: 32px; padding: 6px 12px; }
/* Keep the existing music control in the footer flow, clear of booking actions. */
body[data-page="home"] .music-control {
  position: static;
  display: flex;
  justify-content: flex-end;
  padding: 0 max(32px, calc((100vw - 1320px) / 2)) 24px;
  background: #f1ebe5;
}
body[data-page="home"] .music-toggle { border-color: #d5ccc4; border-radius: 20px; box-shadow: none; font-size: 11px; }
body[data-page="home"] .sticky-booking { display: none !important; }
body[data-page="home"] a:focus-visible,
body[data-page="home"] button:focus-visible,
body[data-page="home"] select:focus-visible { outline: 2px solid #72563d; outline-offset: 4px; }
body[data-page="home"] .family-heading:focus-visible { outline-offset: -5px; }
body[data-page="home"] #home-services-title:focus { outline: none; }

@media (max-width: 1000px) {
  body[data-page="home"] .mobile-nav {
    display: flex;
    position: fixed;
    inset: auto 0 0;
    height: calc(68px + env(safe-area-inset-bottom, 0px));
    padding: 0 12px env(safe-area-inset-bottom, 0px);
    border-top: 1px solid #d5ccc4;
    background: rgba(251, 249, 246, .97);
    backdrop-filter: blur(14px);
    z-index: 20;
    border-radius: 0;
    box-shadow: 0 -3px 16px #49392d08;
  }
  body[data-page="home"] .mobile-nav a { display: flex; flex: 1; min-width: 0; min-height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; font-size: 11px; color: #756d66; }
  body[data-page="home"] .mobile-nav a.active { color: #49392d; }
  body[data-page="home"] .mobile-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.3; flex-shrink: 0; }
  body[data-page="home"] .music-control { padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
  body[data-page="home"] .editorial-hero-copy h1 { margin-top: 30px !important; }
  body[data-page="home"] .editorial-rule { margin: 12px 0; }
  body[data-page="home"] .editorial-hero-actions { margin-top: 20px; }
  body[data-page="home"] .editorial-book { padding: 9px 19px; min-height: 44px; }
  body[data-page="home"] .editorial-hero-aside { right: 3%; width: 12%; }
  body[data-page="home"] .editorial-hero-aside .editorial-discover { margin-top: 20px; }
  body[data-page="home"] .editorial-home .family-heading { padding: 24px; min-height: 220px; }
  body[data-page="home"] .editorial-home .family-paths { padding-inline: 24px; }
  body[data-page="home"] .editorial-home .family-option-copy strong { font-size: 16px; }
  body[data-page="home"] .editorial-home .family-inquiry strong { font-size: 15px; }
  body[data-page="home"] .editorial-home .reference-story { grid-template-columns: minmax(0, 1fr); }
  body[data-page="home"] .editorial-home .reference-locations .editorial-location { min-height: 160px; }
}

/* Reflow before the overlaid copy reaches the subjects at tablet/zoom widths. */
@media (max-width: 1000px) {
  body[data-page="home"] .header { height: 74px; padding-inline: 18px; gap: 8px; }
  body[data-page="home"] .editorial-hero { width: calc(100% - 32px); max-width: 640px; aspect-ratio: auto; max-height: none; overflow: hidden; background: #f2ebe3; }
  body[data-page="home"] .editorial-hero-picture { position: relative; inset: auto; width: 100%; }
  body[data-page="home"] .editorial-hero-image { height: auto; object-fit: contain; }
  body[data-page="home"] .editorial-hero-copy { position: relative; inset: auto; width: auto; padding: 28px 24px 30px; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; }
  body[data-page="home"] .editorial-hero-copy > .eyebrow { grid-column: 1 / -1; font-size: 8px; letter-spacing: 1px; }
  body[data-page="home"] .editorial-hero-copy h1 { grid-column: 1; font-size: 33px !important; margin: 18px 0 10px !important; line-height: 1.4 !important; letter-spacing: .08em !important; }
  body[data-page="home"] .editorial-english { grid-column: 2; grid-row: 2; align-self: center; font-size: 12px; letter-spacing: .2em; }
  body[data-page="home"] .editorial-rule { grid-column: 1 / -1; margin: 8px 0 14px; }
  body[data-page="home"] .editorial-description { grid-column: 1 / -1; font-size: 13px; }
  body[data-page="home"] .editorial-hero-actions { grid-column: 1 / -1; flex-wrap: wrap; margin-top: 20px; }
  body[data-page="home"] .editorial-hero-actions .editorial-discover { display: inline-flex; }
  body[data-page="home"] .editorial-book { font-size: 13px; gap: 18px; padding: 10px 22px; }
  body[data-page="home"] .editorial-city { grid-column: 1 / -1; display: block; margin-top: 24px; font-size: 8px; }
  body[data-page="home"] .editorial-hero-aside { display: none; }
  html[lang="en"] body[data-page="home"] .editorial-hero-copy h1 { grid-column: 1 / -1; }
  body[data-page="home"] .editorial-home .reference-services,
  body[data-page="home"] .editorial-home .reference-story { width: calc(100% - 32px); }
  body[data-page="home"] .editorial-home .reference-services { padding-top: 30px !important; }
  body[data-page="home"] .editorial-home .section-heading { padding: 0 4px 20px; gap: 14px; display: block; }
  body[data-page="home"] .editorial-home .section-heading h2 { font-size: 27px !important; }
  body[data-page="home"] .editorial-home .section-heading p { font-size: 12px; line-height: 1.8; }
  body[data-page="home"] .editorial-home .section-heading > .text-link { margin-top: 10px; font-size: 12px; }
  body[data-page="home"] .editorial-home .service-families { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  body[data-page="home"] .editorial-home .family-heading { min-height: 220px; }
  body[data-page="home"] .editorial-home .family-heading h3 { font-size: 30px; }
  body[data-page="home"] .editorial-home .secondary-service { padding: 24px; grid-template-columns: minmax(0, 1fr); }
  body[data-page="home"] .editorial-home .secondary-service > .text-link { grid-column: 1; grid-row: auto; justify-self: start; padding: 12px 18px; margin-top: 12px; }
  body[data-page="home"] .editorial-home .secondary-service p { max-width: 85%; }
  body[data-page="home"] .editorial-home .reference-story { padding: 26px 22px; gap: 22px; }
  body[data-page="home"] .editorial-home .reference-locations { grid-template-columns: minmax(0, 1fr); }
  body[data-page="home"] .editorial-home .reference-locations .editorial-location { min-height: 135px; padding-left: 37%; }
  body[data-page="home"] .footer { padding-inline: 24px !important; gap: 22px; }
  body[data-page="home"] .music-control { padding-inline: 24px; }
  body[data-page="home"] .footer-links { margin: 0 !important; gap: 16px; }
}
@media (max-width: 360px) {
  body[data-page="home"] .header { padding-inline: 12px; }
  body[data-page="home"] .editorial-hero-copy { padding-inline: 20px; column-gap: 12px; }
  body[data-page="home"] .editorial-hero-copy h1 { font-size: 29px !important; }
  body[data-page="home"] .editorial-english { font-size: 10px; }
  body[data-page="home"] .editorial-home .family-heading,
  body[data-page="home"] .editorial-home .family-paths { padding-inline: 20px; }
  body[data-page="home"] .editorial-home .family-heading p { max-width: 78%; }
  body[data-page="home"] .editorial-home .family-inquiry { gap: 8px; }
  body[data-page="home"] .editorial-home .family-inquiry strong { font-size: 14px; }
  body[data-page="home"] .editorial-home .reference-story { padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .editorial-book,
  body[data-page="home"] .editorial-discover { transition: none; }
}
body[data-page="home"][data-motion="off"] .editorial-book,
body[data-page="home"][data-motion="off"] .editorial-discover { transition: none; }
