html { scroll-padding-top: 7rem; }
.beauty-brand {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  line-height: 1.1;
  font-weight: 700;
}
.beauty-brand span { align-self: start; font: .8rem/1.3 Arial, sans-serif; }
#mobile-toggle { color: inherit; }
#menu-mobile[hidden] { display: none; }
.beauty-hero { isolation: isolate; }
.beauty-hero-copy {
  box-sizing: border-box;
  height: auto;
  text-transform: none;
  gap: .85rem;
  justify-content: start;
  padding: .75rem 1.5rem 2rem;
}
.beauty-hero-copy h1 {
  max-width: none;
  font-size: clamp(2.7rem, 6.9vw, 6.2rem);
  line-height: .98;
  text-transform: uppercase;
  margin-block: .55rem 1rem;
}
.hero-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; }
.hero-lead { max-width: 36ch; font-size: 1rem; line-height: 1.45; }
.hero-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .75rem; }
.hero-actions a {
  margin: 0;
  padding: .75rem .9rem;
  width: auto;
  max-width: none;
  background: var(--color-blue, #152654);
}
.hero-badge { font-size: .82rem; margin-top: .65rem; }
.hero-badge span { margin-inline-start: .4rem; }
.hero-promises {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem 2rem;
  padding-block: 1rem;
  font-weight: 700;
}
.beauty-section { padding-bottom: clamp(2rem, 5vw, 5rem); }
.beauty-section + .beauty-section { border-top: 1px solid #dce0e9; }
.section-label {
  padding-top: 2.5rem;
  text-align: center;
}
.beauty-section .section-label + h2 { padding-top: .6rem; }
.beauty-section h2 { text-transform: uppercase; }
.section-prose { max-width: 70ch; margin: .9rem auto; }
.beauty-grid { display: grid; gap: 1rem; }
.beauty-card { padding: 1.2rem; border: 1px solid #dce0e9; }
.beauty-cta { margin-top: 1.5rem; }
.contact-grid { display: grid; gap: 2rem; margin-block: 2rem; }
.contact-grid address { font-style: normal; }
.contact-grid address p { margin-block: .5rem; }
.contact-grid a { text-decoration: underline; overflow-wrap: anywhere; }
#enquiry { padding: 1.25rem; border: 1px solid #dce0e9; }
#enquiry h3 { font-size: 1.5rem; font-weight: 700; }
#enquiry label { display: grid; gap: .25rem; margin-block: .8rem; }
#enquiry :is(input, select, textarea) {
  width: 100%;
  padding: .6rem;
  border: 1px solid #818ca7;
  background: white;
}
#enquiry textarea { resize: vertical; }
@media (min-width: 768px) {
  .beauty-hero-copy { max-width: 43%; margin-top: 0; padding-inline: 0; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1536px) {
  .section-label { text-align: left; }
  .section-prose { margin-left: 0; }
}
@media (max-width: 767px) {
  .beauty-hero-copy {
    position: relative;
    align-items: center;
    margin-top: 0;
    text-align: center;
    background: linear-gradient(to bottom, rgba(227,246,249,.93) 65%, transparent);
  }
  .beauty-hero { justify-content: space-between; }
  .beauty-hero img { object-position: 63% center; }
  .hero-actions { justify-content: center; }
}
.hero-actions a:hover { background: transparent; }
@media (max-width: 360px) {
  .hero-actions a { font-size: .9rem !important; padding-inline: .65rem; }
  .hero-actions a svg { margin-inline-start: .45rem; }
}

.product-photo { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; margin-bottom: 1rem; }

/* The sticky header occupies its own row. Anchor jumps clear that row. */
:root { --nav-height: 96px; }
html { scroll-padding-top: calc(var(--nav-height) + 1rem); }
.site-navigation {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  padding-inline: clamp(1rem, 5vw, 4rem);
  background: rgb(255 255 255 / .70);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color .35s, color .35s;
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.language-link { white-space: nowrap; text-decoration: underline; text-underline-offset: .25em; }
.menu-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
}
.menu-toggle span {
  position: absolute;
  width: 23px;
  height: 1px;
  background: currentColor;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}
.menu-toggle span:first-child { transform: translateY(-5px); }
.menu-toggle span:last-child { transform: translateY(5px); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.menu-is-open .site-navigation { background: var(--color-blue); color: white; }
.mobile-menu {
  position: fixed;
  inset: var(--nav-height) 0 0;
  z-index: 40;
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--color-blue);
  color: white;
  visibility: hidden;
  transform: translateY(-100%);
  transition: transform .8s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .8s;
}
.mobile-menu[aria-hidden="false"] {
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.mobile-menu-inner { width: min(100%, 36rem); margin-inline: auto; padding: .25rem 1rem 2rem; }
.mobile-menu-links { border-top: 1px solid rgb(255 255 255 / .45); }
.mobile-menu-links a {
  display: block;
  padding-block: .75rem;
  border-bottom: 1px solid rgb(255 255 255 / .45);
  font-size: clamp(1.3rem, 5vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
}
.mobile-menu-tools { display: flex; align-items: center; justify-content: center; gap: 2rem; margin-top: 1.5rem; }
.social-links { display: flex; align-items: center; gap: .35rem; }
.social-links a { display: grid; place-items: center; width: 44px; height: 44px; }
.social-links svg { width: 22px; height: 22px; }
.contact-grid .social-links { margin-block-start: .5rem; }
.beauty-hero-copy { position: relative; inset: auto; height: auto; }
[lang="ar"].language-link, [dir="rtl"] body { font-family: "Cairo Variable", Tahoma, Arial, sans-serif; }
[dir="rtl"] .beauty-hero-copy h1 { line-height: 1.25; }
[dir="rtl"] .hero-actions svg { margin-left: 0; margin-inline-start: .75rem; }
[dir="rtl"] .beauty-section h2, [dir="rtl"] footer p { text-align: start; }
[dir="rtl"] .section-prose { margin-inline: auto; }
@media (min-width: 768px) {
  [dir="rtl"] .beauty-hero-copy {
    width: 43%;
    margin-inline: auto 4rem;
  }
  [dir="rtl"] .beauty-hero-copy h1 { text-align: start; }
}
@media (min-width: 1024px) {
  .mobile-menu { display: none; }
}
@media (max-width: 1023px) {
  :root { --nav-height: 80px; }
  .nav-links { display: none; }
}
@media (max-width: 767px) {
  .beauty-hero {
    min-height: calc(100vh - var(--nav-height));
    min-height: calc(100svh - var(--nav-height));
  }
  .beauty-hero-copy { flex: 0 0 auto; padding-block-start: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mobile-menu, .site-navigation, .menu-toggle span { transition: none; }
}
#__next > a:first-child:not(:focus) {
  inset: 0 auto auto 0;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 360px) {
  .site-navigation { padding-inline: .75rem; }
  .nav-row, .nav-actions { gap: .35rem; }
  .nav-brand .beauty-brand { font-size: 1.25rem; }
}
.nav-actions > div:last-child { width: auto; height: auto; }

.nav-brand .brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: .18em;
  font: inherit;
}
.brand-wordmark img {
  width: .88em;
  height: auto;
  align-self: center;
  transform: translateY(-.14em);
  flex: none;
}
@media (max-width: 767px) {
  .beauty-hero {
    display: grid;
    grid-template-rows: auto minmax(clamp(20rem, 95vw, 29rem), 1fr);
    gap: 0;
    background: #dff4f7;
  }
  .beauty-hero .hero-media { position: relative; inset: auto; grid-row: 2; z-index: 0; }
  .beauty-hero .hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(#dff4f7, transparent 9%, transparent 82%, rgb(0 37 84 / .5));
  }
  .beauty-hero img { object-position: 77% center; }
  .beauty-hero-copy { grid-row: 1; grid-column: 1; padding-bottom: 1rem; background: none; }
  .beauty-hero > div:last-child {
    position: absolute;
    inset: auto 0 .5rem;
    z-index: 1;
  }
}

/* Extend the hero under the sticky navigation while reserving room for its text. */
.beauty-hero {
  margin-block-start: calc(-1 * var(--nav-height));
  padding-block-start: var(--nav-height);
}
.mobile-hero-details { display: none; }

@media (max-width: 767px) {
  .beauty-hero {
    display: block;
    min-height: max(calc(39rem + var(--nav-height)), 100svh);
    padding-block-start: 0;
    background: #cae9ee;
  }
  .beauty-hero .hero-media {
    position: absolute;
    inset: 0;
  }
  .beauty-hero img { object-position: 79% center; }
  .beauty-hero .hero-media::after {
    background: linear-gradient(180deg, rgb(234 250 252 / .47), transparent 36%, transparent 83%, rgb(0 37 84 / .4));
  }
  .beauty-hero-copy {
    position: absolute;
    inset: var(--nav-height) 0 0;
    z-index: 1;
    padding: 1.3rem .85rem 0;
    gap: .25rem;
    background: linear-gradient(180deg, rgb(236 250 252 / .33), transparent 29%);
    pointer-events: none;
  }
  .beauty-hero-copy::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 10rem;
    backdrop-filter: blur(2px);
    mask-image: linear-gradient(#000 45%, transparent);
    z-index: -1;
  }
  .beauty-hero-copy h1 { margin-block: .65rem; color: rgb(0 37 84 / .94); }
  .beauty-hero-copy :is(.hero-lead, .hero-badge) { display: none; }
  .hero-actions {
    position: absolute;
    inset: auto .65rem 19%;
    gap: .35rem;
  }
  .hero-actions a { pointer-events: auto; }
  .beauty-hero > div:last-child { bottom: 1rem; pointer-events: none; }
  .mobile-hero-details {
    display: grid;
    justify-items: center;
    padding: 1.1rem 1.25rem;
    background: #eef8f9;
    text-align: center;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-revealed {
    animation: beauty-scroll-reveal 400ms cubic-bezier(.2, .7, .3, 1) backwards;
    animation-delay: var(--scroll-delay, 0ms);
  }
  .scroll-revealed:focus-within { animation: none; }

  #about > .section-prose:nth-of-type(2) { --scroll-delay: 40ms; }
  #about > .section-prose:nth-of-type(3) { --scroll-delay: 80ms; }

  @media (768px <= width < 1536px) {
    :is(#products, #routine) .beauty-card:nth-child(even) { --scroll-delay: 65ms; }
  }
  @media (min-width: 1536px) {
    :is(#products, #routine) .beauty-card:nth-child(4n + 2) { --scroll-delay: 55ms; }
    :is(#products, #routine) .beauty-card:nth-child(4n + 3) { --scroll-delay: 110ms; }
    :is(#products, #routine) .beauty-card:nth-child(4n) { --scroll-delay: 165ms; }
  }

  @keyframes beauty-scroll-reveal {
    from { opacity: .45; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

[dir="rtl"] .nav-brand .beauty-brand > span[lang="en"] {
  font-family: var(--font-brown);
}
[lang="ar"].beauty-brand, .beauty-brand span[lang="ar"] {
  font-family: "Cairo Variable", Tahoma, Arial, sans-serif;
}
