/* Current public-site presentation. This is the sole active style layer for
   the approved Home and Method layouts; historical preview styles are not
   release inputs. */
.home-page .method-editorial__quote {
  width: min(39rem,82vw) !important;
  margin: 0 auto clamp(2rem,4vw,3.5rem) !important;
  text-align: center !important;
}

.home-page .method-editorial__quote .home-wall-quote {
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: auto !important;
}

.home-page .method-editorial__quote .home-signoff-stamp {
  width: auto !important;
  margin: .3rem auto 0 !important;
  justify-content: center !important;
  text-align: center !important;
}

/* Home uses the centered quote in the same vertical title band as every
   other route; its editorial story beneath remains flush left. */
.home-page .home-wall-hero > .method-editorial__quote {
  position: absolute !important;
  z-index: 3;
  top: var(--unltd-universal-header-top,clamp(7rem,13vw,11rem));
  left: 50%;
  width: min(39rem,82vw) !important;
  margin: 0 !important;
  transform: translateX(-50%);
}

.home-page .home-wall-hero > .method-editorial__quote::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1.4rem -2.5rem;
  pointer-events: none;
  background: radial-gradient(ellipse at center,rgba(0,0,0,.3) 0%,rgba(0,0,0,.16) 50%,transparent 78%);
  filter: blur(.7rem);
}

.page-bar .site-nav[data-shared-navigation="true"] > .nav-drop--method {
  z-index: 88 !important;
  overflow: visible !important;
}

.page-bar .site-nav[data-shared-navigation="true"] > .nav-drop--method > .nav-menu {
  box-sizing: border-box !important;
  z-index: 100 !important;
  top: calc(100% - .2rem) !important;
  right: auto !important;
  left: 50% !important;
  width: min(42rem,calc(100vw - 2rem)) !important;
  max-height: min(31rem,calc(100svh - 5rem)) !important;
  padding: 1rem !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  grid-template-rows: repeat(4,minmax(48px,auto)) !important;
  grid-auto-flow: column !important;
  gap: .25rem .45rem !important;
  overflow-y: auto !important;
  border: 0 !important;
  border-radius: .9rem !important;
  outline: 0 !important;
  background: rgba(5,5,5,.28) !important;
  box-shadow: 0 .75rem 1.8rem rgba(0,0,0,.14) !important;
  -webkit-backdrop-filter: blur(6px) saturate(.96) !important;
  backdrop-filter: blur(6px) saturate(.96) !important;
  transform: translateX(-50%) !important;
}

.page-bar .site-nav[data-shared-navigation="true"] > .nav-drop--method > .nav-menu > :is(a,button) {
  box-sizing: border-box !important;
  min-height: 48px !important;
  height: auto !important;
  padding: .72rem .9rem !important;
  justify-content: flex-start !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #fff !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: .7rem !important;
  line-height: 1.35 !important;
  letter-spacing: .075em !important;
  text-align: left !important;
  text-shadow: 0 1px .24rem rgba(0,0,0,.96) !important;
  white-space: normal !important;
}

.page-bar .site-nav[data-shared-navigation="true"] > .nav-drop--method > .nav-menu > :is(a,button):is(:hover,:focus-visible) {
  color: #fff !important;
  background: transparent !important;
  letter-spacing: .075em !important;
  text-shadow: 0 0 .08rem #fff,0 0 .42rem rgba(255,255,255,.62) !important;
}

@media (max-width: 799px) {
  .page-bar .site-nav[data-shared-navigation="true"] > .nav-drop--method > .nav-menu {
    width: calc(100vw - 1rem) !important;
    padding: .6rem !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    grid-template-rows: repeat(4,minmax(48px,auto)) !important;
    grid-auto-flow: column !important;
  }
}

@media (max-width: 700px) {
  .home-page .method-editorial__quote {
    width: min(34rem,91vw) !important;
    margin-inline: auto !important;
  }

  .home-page .method-editorial__quote .home-wall-quote {
    width: 100% !important;
  }

  .home-page .method-editorial__quote .home-signoff-stamp {
    margin-left: auto !important;
    justify-content: center !important;
  }
}

/* Keep the opening initial locked to its intended two text lines. The
   flow-root contains the float fallback so it never indents the next
   paragraph; modern browsers use the two-line initial-letter metric. */
.method-editorial__opening {
  display: flow-root;
  max-inline-size: 52ch;
  text-wrap: balance;
}

.home-page .method-editorial__subtitle {
  margin: .7rem 0 0;
  color: #eee8df;
  font: 400 clamp(1.15rem,2.15vw,1.7rem)/1.15 Georgia,"Times New Roman",serif;
  letter-spacing: -.025em;
  text-align: left;
}

@supports (initial-letter: 2 2) {
  .method-editorial__opening::first-letter {
    float: none;
    margin: 0 .32rem 0 0;
    font-family: Georgia,"Times New Roman",serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
    initial-letter: 2 2;
  }
}

/* The Method portrait is an image that dissolves into the page, never a card. */
.method-editorial__visual .method-film-trigger.method-film-trigger--icon-only {
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-mask-image: linear-gradient(90deg,transparent 0%,rgba(0,0,0,.14) 6%,rgba(0,0,0,.5) 14%,#000 26%,#000 74%,rgba(0,0,0,.5) 86%,rgba(0,0,0,.14) 94%,transparent 100%) !important;
  mask-image: linear-gradient(90deg,transparent 0%,rgba(0,0,0,.14) 6%,rgba(0,0,0,.5) 14%,#000 26%,#000 74%,rgba(0,0,0,.5) 86%,rgba(0,0,0,.14) 94%,transparent 100%) !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-size: 100% 100% !important;
  mask-size: 100% 100% !important;
}

.method-editorial__visual .method-film-trigger.method-film-trigger--icon-only::before,
.method-editorial__visual .method-film-trigger.method-film-trigger--icon-only::after {
  border-radius: 0 !important;
  -webkit-mask-image: linear-gradient(90deg,transparent 0%,rgba(0,0,0,.18) 5%,rgba(0,0,0,.58) 11%,#000 21%,#000 79%,rgba(0,0,0,.58) 89%,rgba(0,0,0,.18) 95%,transparent 100%) !important;
  mask-image: linear-gradient(90deg,transparent 0%,rgba(0,0,0,.18) 5%,rgba(0,0,0,.58) 11%,#000 21%,#000 79%,rgba(0,0,0,.58) 89%,rgba(0,0,0,.18) 95%,transparent 100%) !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-size: 100% 100% !important;
  mask-size: 100% 100% !important;
}

.method-editorial__visual .method-film-trigger.method-film-trigger--icon-only::after {
  background: linear-gradient(180deg,transparent 58%,rgba(5,8,8,.24)) !important;
}

/* Phones keep the desktop editorial relationship: copy begins to the left of
   a compact right-floated film starter, then returns to the full measure once
   the portrait ends. The dialog retains its independent full viewing size. */
@media (max-width: 700px) {
  .home-page .method-editorial__subtitle {
    margin-top: .5rem;
    font-size: clamp(1.05rem,5.2vw,1.35rem);
  }

  .home-page .method-editorial__opening {
    max-inline-size: clamp(24ch,48vw,44ch);
  }

  .home-page .method-editorial__flow > .method-editorial__visual.method-film {
    width: clamp(7rem,31vw,9.5rem) !important;
    margin: .1rem 0 .9rem clamp(.75rem,3vw,1rem) !important;
    float: right !important;
  }

  .home-page .method-editorial__visual .method-film-trigger.method-film-trigger--icon-only {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    aspect-ratio: 9 / 16 !important;
  }
}

/* The full editorial story now lives on Home. Method Overview begins with its
   map, starting at Hair & Grooming Assessment. */
.private-style-page .private-style-hero.method-editorial {
  display: none !important;
}

.private-style-page main > .method-orientation:first-child {
  padding-top: clamp(7.5rem,12vw,10rem) !important;
}

/* Booking is the master editorial header: every primary page uses its exact
   vertical anchor, eyebrow typography, title face, title size, and leading. */
:root {
  --unltd-universal-header-top: var(--unltd-editorial-hero-top,clamp(7rem,13vw,11rem));
  --unltd-universal-title-size: var(--unltd-editorial-title-size,clamp(3.1rem,6.9vw,6rem));
}

.hair-hero--wall .hair-hero__copy {
  padding-top: var(--unltd-universal-header-top) !important;
}

:is(.makeup-wall-hero,.extension-wall-hero) {
  padding-top: var(--unltd-universal-header-top) !important;
  place-items: start center !important;
}

.home-edit-hero {
  padding-top: var(--unltd-universal-header-top) !important;
  place-items: start center !important;
}

:is(
  .hair-eyebrow,
  .makeup-wall-hero__eyebrow,
  .extension-wall-hero__eyebrow,
  .home-edit-hero__copy > p:first-child,
  .uniform-page-eyebrow,
  .method-editorial__eyebrow
) {
  margin: 0 0 .75rem !important;
  color: #d9d2ca !important;
  font: 300 .63rem/1.35 Poppins,"Century Gothic",Helvetica,sans-serif !important;
  letter-spacing: .23em !important;
  text-transform: none !important;
}

:is(
  .hair-hero--wall .hair-hero__copy,
  .makeup-wall-hero .makeup-wall-hero__copy,
  .extension-wall-hero .extension-wall-hero__copy,
  .home-edit-hero .home-edit-hero__copy,
  .uniform-page-header,
  .home-page .method-editorial__header
) > :is(h1,h2) {
  margin: 0 !important;
  color: #fff !important;
  font: 400 var(--unltd-universal-title-size)/.94 Georgia,"Times New Roman",serif !important;
  letter-spacing: -.075em !important;
  text-transform: none !important;
}

.uniform-page-header {
  box-sizing: border-box;
  width: min(92%,72rem);
  margin: 0 auto;
  padding: var(--unltd-universal-header-top) 0 0;
  position: relative;
  z-index: 2;
  text-align: center;
}

.uniform-page-header > h1 {
  max-width: 13ch;
  margin-inline: auto !important;
}

.method-overview-intro {
  max-width: 52rem;
  margin: clamp(1.2rem,2.8vw,1.8rem) auto 0;
  color: #e3ddd4;
  font: 300 clamp(1rem,1.3vw,1.05rem)/1.8 Poppins,"Century Gothic",Helvetica,sans-serif;
  text-align: left;
  text-wrap: pretty;
}

.method-overview-header + .method-orientation {
  margin-top: clamp(2rem,4vw,3.5rem);
}

.method-orientation__column--studio-edit {
  grid-column: 1 / -1;
  min-height: clamp(12rem,24vw,18rem);
  padding: clamp(.85rem,2vw,1.2rem);
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: clamp(1rem,3vw,2rem);
  background: rgba(8,8,8,.32);
}

.method-orientation__column--studio-edit .method-orientation__media {
  grid-column: 1;
  grid-row: 1 / -1;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  display: block;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: .72rem;
}

.method-orientation__column--studio-edit > h2,
.method-orientation__column--studio-edit > p,
.method-orientation__column--studio-edit > .method-orientation__link {
  grid-column: 2;
}

.method-orientation__column--studio-edit > h2 { grid-row: 1; }
.method-orientation__column--studio-edit > p { grid-row: 2; }
.method-orientation__column--studio-edit > .method-orientation__link { grid-row: 3; }

@media(max-width:760px) {
  .method-orientation__column--studio-edit {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    row-gap: .9rem;
  }
  .method-orientation__column--studio-edit .method-orientation__media {
    grid-column: 1;
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }
  .method-orientation__column--studio-edit > h2,
  .method-orientation__column--studio-edit > p,
  .method-orientation__column--studio-edit > .method-orientation__link {
    grid-column: 1;
    grid-row: auto;
  }
}

/* Booking keeps personal-image services on the left and home services on the
   right. Each column remains internally ordered when its details open. */
.booking-route-page .services-hub__group--method .private-style-foundations__grid.method-booking-columns {
  align-items: start !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 1rem !important;
}

.booking-route-page .method-booking-column {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: .55rem;
}

/* Desktop editorial headings remain optically centered across every route. */
@media (min-width: 761px) {
  :is(
    .hair-hero--wall .hair-hero__copy,
    .makeup-wall-hero .makeup-wall-hero__copy,
    .extension-wall-hero .extension-wall-hero__copy,
    .home-edit-hero .home-edit-hero__copy,
    .uniform-page-header
  ) {
    margin-inline: auto !important;
    align-items: center !important;
    text-align: center !important;
  }

  :is(
    .hair-hero--wall .hair-hero__copy,
    .makeup-wall-hero .makeup-wall-hero__copy,
    .extension-wall-hero .extension-wall-hero__copy,
    .home-edit-hero .home-edit-hero__copy,
    .uniform-page-header
  ) > :is(h1,h2) {
    margin-inline: auto !important;
    text-align: center !important;
  }
}

@media (max-width: 760px) {
  :root {
    --unltd-universal-header-top: 7rem;
    --unltd-universal-title-size: clamp(2.35rem,11.25vw,3.05rem);
  }

  :is(
    .hair-hero--wall .hair-hero__copy,
    .makeup-wall-hero .makeup-wall-hero__copy,
    .extension-wall-hero .extension-wall-hero__copy,
    .home-edit-hero .home-edit-hero__copy,
    .uniform-page-header
  ) {
    margin-inline: auto !important;
    align-items: center !important;
    text-align: center !important;
  }

  :is(
    .hair-hero--wall .hair-hero__copy,
    .makeup-wall-hero .makeup-wall-hero__copy,
    .extension-wall-hero .extension-wall-hero__copy,
    .home-edit-hero .home-edit-hero__copy,
    .uniform-page-header
  ) > :is(h1,h2) {
    margin-inline: auto !important;
    text-align: center !important;
  }

  .home-page .home-wall-hero > .method-editorial__quote {
    width: min(34rem,91vw) !important;
  }

  .booking-route-page .services-hub__group--method .private-style-foundations__grid.method-booking-columns {
    grid-template-columns: 1fr !important;
  }
}

.sitemap-page {
  width: min(74rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: var(--unltd-universal-header-top,clamp(7rem,13vw,11rem)) 0 5rem;
}

.sitemap-page__header {
  margin: 0 auto clamp(2rem,5vw,4rem);
  text-align: center;
}

.sitemap-page__eyebrow {
  margin: 0 0 .6rem;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sitemap-page__header h1 {
  margin: 0;
  font-weight: 200;
  font-size: var(--unltd-universal-title-size,clamp(3rem,7vw,5.7rem));
  line-height: .96;
}

.sitemap-page__groups {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1rem;
}

.sitemap-page__group {
  padding: clamp(1rem,3vw,1.8rem);
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(0,0,0,.24);
  backdrop-filter: blur(12px);
}

.sitemap-page__group h2 {
  margin: 0 0 1rem;
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.sitemap-page__group nav {
  display: grid;
  gap: .65rem;
}

.sitemap-page__group a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: .2em;
}

.sitemap-page__group a:is(:hover,:focus-visible) {
  text-decoration: underline;
}

@media (max-width: 760px) {
  .sitemap-page__groups { grid-template-columns: 1fr; }
}
