/* Deliberate content substitutions only. Original layout styles remain in style0/style1. */
:where(button[data-accordion-toggle], button[data-nav-dropdown-link], button[data-modal-target], button[data-modal-close]) {
  appearance: none; border: 0; padding: 0; background: transparent; color: inherit;
  font: inherit; text-align: inherit; cursor: pointer;
}
button[data-accordion-toggle] { width: 100%; }
/* Focus must be available while the group retains its original opacity fade. */
[data-modal-name][data-modal-status="active"] { visibility: visible; }
button[data-accordion-toggle]:focus-visible, button[data-nav-dropdown-link]:focus-visible,
[data-modal-target]:focus-visible, button[data-modal-close]:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
body { font-family: "Geist", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; }
[hidden] { display: none !important; }
.video-card-visual__img { object-fit: contain; }
.hero-render { display: none !important; }
.process-section .bunny-bg, .process-section .hiw-image-mob { display: none !important; }
.faq-section .faq-image { display: none !important; }
.rx-text:empty { display: none; }
/* Reference clinical video controls cannot act on still-image substitutions. */
.bunny-bg__loading, .bunny-bg__playpause { display: none; }
/* Show the settled hero state immediately without the load intro. */
.is-home [data-load-marquee],
.is-home [data-load-nav],
.is-home [data-load-hero-video],
.is-home [data-load-hero-button] { opacity: 1; }
.is-home [data-load-hero-title] { display: none !important; }

/* h2 typography adjustments for Japanese copy */
h2 {
  font-size: clamp(22px, 2vw + 12px, 42px) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em;
}

h2.intro-title {
  font-size: clamp(26px, 2.5vw + 14px, 52px) !important;
  line-height: 1.25 !important;
}

h2.display.is-w-m.is-home {
  font-size: clamp(28px, 3.5vw + 14px, 68px) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em;
}

h2.medical-header {
  font-size: clamp(24px, 2vw + 14px, 42px) !important;
  line-height: 1.3 !important;
}

h2.display.is-light-text.is-hiw {
  font-size: clamp(32px, 4vw + 16px, 76px) !important;
  line-height: 1.15 !important;
}

h2.display.centre-align {
  font-size: clamp(36px, 4.5vw + 18px, 84px) !important;
  line-height: 1.15 !important;
}

h2.heading-3 {
  font-size: clamp(24px, 2vw + 14px, 40px) !important;
  line-height: 1.3 !important;
}

h2.hero-heading.is-footer {
  font-size: clamp(24px, 2vw + 14px, 42px) !important;
  line-height: 1.25 !important;
}

/* Give every product image more space within its card. */
.products-section .product-slide .video-card-visual__img {
  transform: scale(0.8);
  transform-origin: center;
}

/* Series grid layout overrides. */
.complete-series .series-grid {
  position: relative; z-index: 3; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 23rem), 1fr));
  gap: var(--_responsive-sizes---spacing--xxs);
  max-width: 100rem; margin: 0 auto; padding: 0 var(--_responsive-sizes---spacing--s) var(--_responsive-sizes---spacing--s);
}
.series-item { min-width: 0; }
.complete-series .product-card { min-height: 32rem; }
.complete-series .card-asset-contain { width: 100%; padding: 0; }
.complete-series .video-card-visual { aspect-ratio: 4/3; height: auto; border-radius: 0; }
.complete-series .video-card-visual__img { object-fit: contain; }
/* Original image frame contains the complete listing artwork without cropping. */
.complete-series .product-slide [data-official-series-image] { transform: none; width: 100%; height: 100%; display: block; }
.complete-series .card-buttons-flex { gap: .5rem; flex-wrap: wrap; }
.complete-series .card-buttons-flex > a { flex: 1; }
/* The last series section needs the standard section bottom spacing before Instagram. */
#skincare { padding-bottom: var(--_responsive-sizes---spacing--l); }
.series-filters { display: flex; flex-wrap: wrap; gap: .6rem; }
.series-filters button { border: 1px solid currentColor; }
.series-filters button[aria-pressed="true"] { background: var(--brand-colours--grey); color: var(--brand-colours--cream); }
.series-filters button[aria-pressed="false"] { background: var(--brand-colours--cream); color: var(--brand-colours--grey); }
.hero-series-controls {
  position: absolute; z-index: 6; right: var(--_responsive-sizes---spacing--s);
  bottom: var(--_responsive-sizes---spacing--s); display: flex; align-items: center; gap: .75rem;
  padding: .5rem; border-radius: .4rem; background: #fffef8; color: #323232;
}
.hero-series-controls .subheading { min-width: 12rem; text-align: center; }
.hero-series-controls button { min-width: 2.5rem; }
.complete-instagram { padding: var(--_responsive-sizes---spacing--l) var(--_responsive-sizes---spacing--base); gap: var(--_responsive-sizes---spacing--base); }
.instagram-carousel { width: 100%; min-width: 0; margin-top: calc(var(--_responsive-sizes---spacing--base) + 1.5rem); }
.instagram-carousel-controls { display: flex; justify-content: flex-end; gap: var(--_responsive-sizes---spacing--xxs); margin-bottom: var(--_responsive-sizes---spacing--xxs); }
.instagram-carousel-controls button { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; padding: 0; border: 1px solid #e5e5e5; border-radius: 9999px; background: #fff; color: inherit; box-shadow: 0 1px 2px 0 rgb(0 0 0 / .05); cursor: pointer; transition: background-color .15s ease; }
.instagram-carousel-controls button svg { display: block; flex: none; width: 1rem; height: 1rem; pointer-events: none; }
@media (hover: hover) { .instagram-carousel-controls button:not(:disabled):hover { background: #f5f5f5; } }
.instagram-carousel-controls button:disabled { opacity: .5; cursor: default; pointer-events: none; }
.instagram-carousel-controls button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.instagram-direction-controls { display: flex; gap: var(--_responsive-sizes---spacing--xxs); }
.instagram-embeds { display: flex; align-items: flex-start; width: 100%; min-width: 0; gap: var(--_responsive-sizes---spacing--xs); overflow-x: auto; overscroll-behavior-x: contain; padding-block: .375rem .75rem; scrollbar-width: none; }
.instagram-embeds::-webkit-scrollbar { display: none; }
.instagram-embed-card {
  position: relative;
  box-sizing: border-box;
  display: block;
  flex: 0 0 368px;
  min-width: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--_responsive-sizes---radius--regular, .6rem);
  background: #e9e4d9;
  color: #222;
  text-decoration: none;
  -webkit-user-drag: none;
}
.instagram-card-visual { position: relative; display: block; width: 100%; height: 100%; }
.instagram-card-badge { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff; pointer-events: none; }
.instagram-card-badge svg { display: block; width: 16px; height: 16px; margin-left: 1px; }
.instagram-card-visual img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; }
.instagram-card-overlay {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 3.5rem 1rem 1rem;
  color: #fffef8;
  background: linear-gradient(to top, rgba(20, 18, 14, .82), rgba(20, 18, 14, .34) 58%, transparent);
  opacity: 0;
  transition: opacity .35s ease;
}
.instagram-embed-card:hover .instagram-card-overlay,
.instagram-embed-card:focus-visible .instagram-card-overlay { opacity: 1; }
.instagram-card-date {
  display: block;
  color: #fffef8;
  font-family: "Geist Mono", "Geistmono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1.3;
}
.instagram-card-caption {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: #fffef8;
  font-size: .85rem;
  line-height: 1.55;
  font-weight: 400;
}
.instagram-embed-card:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (hover: none), (pointer: coarse) {
  .instagram-embed-card {
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
    overflow: visible;
    border-radius: 0;
    background: transparent;
  }
  .instagram-card-visual {
    height: auto;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: var(--_responsive-sizes---radius--regular, .6rem);
    background: #e9e4d9;
  }
  .instagram-card-overlay {
    position: static;
    inset: auto;
    gap: .3rem;
    padding: .7rem .1rem 0;
    color: #222;
    background: none;
    opacity: 1;
    transition: none;
  }
  .instagram-card-date { color: #8b806d; }
  .instagram-card-caption {
    -webkit-line-clamp: 3;
    height: calc(1.5em * 3);
    color: #4f4a42;
  }
}
@media screen and (max-width: 767px) {
  .instagram-carousel-controls { display: none; }
  .complete-instagram { padding-inline: var(--_responsive-sizes---spacing--base); min-width: 0; }
  .instagram-embeds { gap: var(--_responsive-sizes---spacing--xxs); }
  .instagram-embed-card { flex-basis: min(368px, calc(100% - var(--_responsive-sizes---spacing--xs))); }
}
.series-filters button:focus-visible, [data-hero-control]:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* Retain the source 12-column grid: links start at column 2, leaving column 1 clear. */
@media (min-width: 992px) {
  .complete-footer-grid > #layout-bccdbfd28a0957f5 { grid-area: 2 / 8 / 3 / 12; }
}

/* Keep short Japanese nouns from splitting across lines in category copy. */
.products-section .featured-flex .heading-5 .nowrap {
  white-space: nowrap;
}

/* Hero index control: numbers replace the previous arrow buttons. */
.hero-series-controls.is-index {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  padding: 0;
  background: transparent;
  color: #fffef8;
  border-radius: 0;
}
.hero-series-controls.is-index .hero-index-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.hero-series-controls.is-index .hero-series-index {
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .5rem;
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 2.25rem;
  padding: .28rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-family: "Geist Mono", "Geistmono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .72rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .14em;
  opacity: .62;
  cursor: pointer;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .78);
  transition: opacity .2s ease;
}
.hero-series-controls.is-index .hero-series-index-bar {
  display: block;
  width: 1.4rem;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transition: opacity .2s ease;
}
.hero-series-controls.is-index .hero-series-index:hover,
.hero-series-controls.is-index .hero-series-index:focus-visible {
  opacity: .85;
}
.hero-series-controls.is-index .hero-series-index.is-active {
  opacity: 1;
}
.hero-series-controls.is-index .hero-series-index.is-active .hero-series-index-bar {
  opacity: 1;
}
.hero-series-controls.is-index .hero-series-index:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
@media screen and (max-width: 767px) {
  .hero-series-controls.is-index .hero-series-index {
    min-height: 2.6rem;
    font-size: .75rem;
  }
}

/* Hero slides crossfade instead of switching display state. */
[data-bunny-background-init] .bunny-bg__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .85s cubic-bezier(.4, 0, .2, 1);
}
[data-bunny-background-init] .bunny-bg__placeholder.is-active {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  [data-bunny-background-init] .bunny-bg__placeholder {
    transition: none;
  }
}

/* Keep the baked-in series names inside the frame at every width. */
[data-hero-slide="toitoitoi"],
[data-hero-slide="mue"] {
  object-position: 0% 50%;
}
.bunny-bg {
  height: 100% !important;
  transform: none !important;
}
@media screen and (max-width: 1023px) {
  .hero-section {
    height: 80svh !important;
    min-height: 80svh !important;
    overflow: hidden;
  }
  .hero-video,
  .bunny-bg {
    height: 100% !important;
  }
}
@media screen and (max-width: 767px) {
  .hero-section {
    height: 88svh !important;
    min-height: 88svh !important;
  }
  [data-hero-slide="toitoitoi"] {
    object-position: 18% 50%;
  }
  [data-hero-slide="mue"] {
    object-position: 100% 50%;
  }
}

/* The page wrapper creates a stacking context (z-index: 1). While the mobile
   menu is open, lift it above the sibling marquee (z-index: 2); the hero sits
   behind the marquee at other times, so this must apply only to the open menu. */
@media screen and (max-width: 991px) {
  .page-wrapper:has(.mobile-menu:is([style*="display: flex"], [style*="display:flex"])) {
    z-index: 3;
  }
}

/* 992px–1259px: the reference header squeezes the five labels below their
   intrinsic width, wrapping Japanese labels onto two lines. The upper bound
   includes ~20px for classic desktop scrollbars, which reduce the content
   width and move the wrapping boundary higher. */
@media screen and (min-width: 992px) and (max-width: 1259px) {
  .nav-bar.is-main .nav-link {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

/* Mobile menu: category accordion. */
.mobile-menu .main-links {
  width: 100%;
  padding-top: 1.5rem !important;
}
.mobile-menu .accordion-css__item-bottom {
  transition: grid-template-rows 225ms cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu .menu-accordion-icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: var(--brand-colours--cream);
}
.mobile-menu .menu-accordion-icon__bar {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 225ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu .accordion-css__item-top.is-menu[aria-expanded="true"] .menu-accordion-icon__bar {
  opacity: 0;
  transform: rotate(90deg);
}
.mobile-menu .accordion-css__item-top:focus-visible,
.mobile-menu .menu-accordion-quicklinks a:focus-visible,
.mobile-menu .menu-accordion-action a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .8);
  outline-offset: 4px;
}

/* Category CTA chevron: only inside the mobile menu. */
.mobile-menu .menu-chevron-icon {
  flex: 0 0 auto;
  width: .6rem;
  height: auto;
  color: currentColor;
  translate: 0 0 0;
  transition: translate .3s var(--ease-smooth);
}
@media (hover: hover) and (pointer: fine) {
  .mobile-menu .menu-accordion-action .primary-button:is(:hover, :focus-visible) .menu-chevron-icon {
    translate: .2em 0 0;
  }
}

.mobile-menu .menu-content {
  justify-content: flex-start;
}
.mobile-menu .social-flex.is-mobile {
  margin-top: auto;
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu .accordion-css__item-bottom,
  .mobile-menu .menu-accordion-icon__bar,
  .mobile-menu .menu-chevron-icon {
    transition: none;
  }
}

/* FAQ section: use the same section top spacing as News and Instagram. */
.faq-section { padding-top: var(--_responsive-sizes---spacing--l); }
.faq-section .global-grid.is-faq {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  row-gap: 0;
}
.faq-section #layout-4140af355aa45466,
.faq-section #layout-1afde949c988a5ae,
.faq-section #layout-4871b123eacc8563 {
  grid-column: 1 / -1;
  width: 100%;
  justify-self: center;
}
.faq-section #layout-4140af355aa45466 {
  grid-row: 1 / 2;
  padding-bottom: 0;
}
.faq-section #layout-1afde949c988a5ae {
  grid-row: 2 / 3;
  margin-top: var(--_responsive-sizes---spacing--xs, 1rem);
  text-align: center;
}
.faq-section #layout-1afde949c988a5ae .heading-5.grey-text.is-max {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1rem, 0.9vw + 0.78rem, 1.375rem);
  line-height: 1.6;
}
.faq-section #layout-4871b123eacc8563 {
  grid-row: 3 / 4;
  margin-top: var(--_responsive-sizes---spacing--s);
  max-width: 56rem;
}

/* News section between Instagram and FAQ. */
.complete-news {
  padding: var(--_responsive-sizes---spacing--l) var(--_responsive-sizes---spacing--base);
}
.news-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "heading"
    "list";
  align-items: end;
  row-gap: var(--_responsive-sizes---spacing--s);
  width: 100%;
  max-width: 72rem;
}
.news-heading {
  grid-area: heading;
  justify-self: center;
  margin: 0;
}
.news-view-all {
  grid-area: heading;
  justify-self: end;
  align-self: center;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--accent-greys--heading-grey);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}
.news-view-all-text {
  padding-bottom: .5rem;
  border-bottom: 1px solid currentColor;
  font-family: var(--font--body-family, "Geist", Arial, sans-serif);
  font-size: var(--_responsive-sizes---font-size--body-large, 1rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: normal;
}
.news-view-all-icon {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--brand-colours--grey);
  color: var(--brand-colours--cream);
  font-size: .875rem;
  line-height: 1;
  transition: transform .25s ease;
}
.news-view-all:hover .news-view-all-icon,
.news-view-all:focus-visible .news-view-all-icon {
  transform: translateX(2px);
}
.news-view-all:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: .2rem;
}
.news-list {
  grid-area: list;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--accent-greys--stroke-grey);
}
.news-item {
  border-bottom: 1px solid var(--accent-greys--stroke-grey);
}
.news-link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(8.5rem, 13.5%) minmax(0, 1fr);
  align-items: center;
  padding: calc(var(--_responsive-sizes---spacing--base) + var(--_responsive-sizes---spacing--xxs)) 0;
  color: var(--accent-greys--heading-grey);
  text-decoration: none;
}
.news-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--accent-greys--heading-grey);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .4s cubic-bezier(.87, 0, .13, 1);
}
.news-link:hover::after,
.news-link:focus-visible::after {
  transform: scaleX(1);
}
.news-link:focus-visible {
  outline: 2px solid var(--accent-greys--heading-grey);
  outline-offset: -2px;
}
.news-info {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  min-width: 0;
  padding-right: var(--_responsive-sizes---spacing--base);
}
.news-category {
  color: var(--accent-greys--heading-grey);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.2;
}
.news-date {
  color: var(--accent-greys--body-grey);
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.news-title {
  min-width: 0;
  color: var(--accent-greys--heading-grey);
  font-size: var(--_responsive-sizes---font-size--body-large);
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
@media screen and (max-width: 767px) {
  .news-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "heading"
      "list"
      "view-all";
    row-gap: calc(var(--_responsive-sizes---spacing--base) + var(--_responsive-sizes---spacing--xxs));
  }
  .news-view-all {
    grid-area: view-all;
    justify-self: center;
    align-self: auto;
  }
  .news-link {
    grid-template-columns: minmax(0, 1fr);
    row-gap: .5rem;
    padding: var(--_responsive-sizes---spacing--base) 0 0;
  }
  .news-info {
    padding-right: 0;
  }
  .news-title {
    padding: .75rem 1.25rem var(--_responsive-sizes---spacing--base);
  }
}
@media (prefers-reduced-motion: reduce) {
  .news-link::after,
  .news-view-all-icon {
    transition: none;
  }
  .news-view-all:hover .news-view-all-icon,
  .news-view-all:focus-visible .news-view-all-icon {
    transform: none;
  }
}
