@font-face {
  font-family: 'MADE The Artist Script';
  src: url('../fonts/made-the-artist-script.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.site-logo {
  flex: 0 0 auto;
  width: clamp(7rem, 7.5vw, 7.75rem);
  height: auto;
}

.site-logo__image {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
}

.home-footer__origin {
  margin: 0;
  color: var(--color-gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-align: center;
  text-transform: none;
}

.home-page {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--header-height));
  overflow-x: clip;
  background: var(--color-bg-deep);
}

.home-page::before,
.home-page::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: '';
}

.home-page::before {
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 7, 0.2), rgba(8, 8, 7, 0.62)),
    url('../images/brand/galla-olive-atmosphere-overlay-1920x1080.png') center / cover no-repeat,
    url('../images/brand/galla-background-olive-reference-1920x1080.png') center / cover no-repeat,
    var(--color-bg-deep);
  opacity: 0.72;
}

.home-page::after {
  z-index: 0;
  background: url('../images/decor/galla-stars-garland-white-outline.png') left -2.1vw / 62.5% auto no-repeat;
  opacity: 0.24;
  filter: blur(2px);
}

.home-page__decor {
  position: fixed;
  z-index: 1;
  display: block;
  pointer-events: none;
  user-select: none;
  line-height: 0;
}

.home-page__decor img {
  display: block;
  width: 100%;
  height: auto;
}

.home-page__decor--right {
  right: -8vw;
  bottom: -18vh;
  width: clamp(22rem, 34vw, 38rem);
  opacity: 0.36;
  transform: scaleX(-1);
}

.home-page__decor--left-bottom {
  left: -2vw;
  bottom: -8vh;
  width: clamp(18rem, 24vw, 25rem);
  opacity: 0.44;
}

.home-hero {
  position: relative;
  z-index: 3;
  display: grid;
  height: calc(100svh - var(--header-height));
  padding-block: clamp(1.25rem, 3vh, 2.5rem) clamp(1rem, 2.5vh, 2rem);
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(20rem, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  min-height: 0;
}

.home-hero__visual {
  position: relative;
  min-width: 0;
}

.home-video {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--color-surface);
  cursor: pointer;
}

.home-video__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--color-bg-deep);
}

.home-video__audio-toggle {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(236, 229, 211, 0.55);
  border-radius: 50%;
  color: var(--color-ivory);
  background: rgba(20, 18, 16, 0.58);
  cursor: pointer;
}

.home-video__audio-toggle:hover,
.home-video__audio-toggle:focus-visible {
  background: rgba(20, 18, 16, 0.78);
}

.home-video__audio-icon {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.home-video__audio-icon[hidden] {
  display: none;
}

.home-video .frame-corner {
  z-index: 1;
}

.home-video .frame-corner--top-left {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}

.home-video .frame-corner--top-right {
  top: -1px;
  right: -1px;
  border-width: 1px 1px 0 0;
}

.home-video .frame-corner--bottom-left {
  bottom: -1px;
  left: -1px;
  border-width: 0 0 1px 1px;
}

.home-video .frame-corner--bottom-right {
  right: -1px;
  bottom: -1px;
  border-width: 0 1px 1px 0;
}

.home-hero__content {
  display: flex;
  align-self: stretch;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding-block: clamp(0.5rem, 2vh, 1.25rem);
}

  .home-hero__message {
    width: 100%;
    max-width: 31rem;
    margin-inline: auto;
  }

  .home-hero__message .display-title {
    margin-bottom: 0;
    font-size: clamp(2.1rem, 3.35vw, 3.75rem);
    line-height: 1.02;
  }

  .home-hero__message .home-hero__family-title {
    display: grid;
    gap: 0.08em;
    color: var(--color-ivory);
    font-family: 'MADE The Artist Script', cursive;
    font-size: clamp(3.35rem, 5vw, 5.25rem);
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 0.9;
    text-shadow: none;
    text-align: center;
    text-transform: none;
    font-synthesis: none;
  }

  .home-hero__family-title span {
    display: block;
  }

  .home-hero__script-line {
    width: 100%;
    text-align: center;
    text-align-last: auto;
  }

  .home-hero__script-line + .home-hero__script-line {
    margin-top: 0.04em;
  }

  .home-hero__divider {
    margin-block: clamp(1.35rem, 2.6vh, 2rem);
  }

.home-hero__divider {
  margin-block: clamp(1.25rem, 3vh, 2rem);
}

.home-hero__fragrance {
  width: clamp(16rem, 20vw, 20rem);
  margin-left: auto;
}

.home-product-scene {
  position: relative;
  width: 100%;
  height: clamp(16rem, 40vh, 25rem);
}

.home-product-composition {
  display: none;
}

.home-hero__fragrance-link {
  display: block;
  margin-bottom: clamp(1rem, 2vh, 1.5rem);
  color: inherit;
  text-decoration: none;
}

@media (min-width: 769px) {
  .home-page {
    min-height: calc(100svh - var(--header-height) - 1px);
    overflow-y: clip;
  }

  .home-page::before {
    background:
      radial-gradient(ellipse 48% 42% at 94% 0%, rgba(121, 138, 97, 0.16), transparent 72%),
      linear-gradient(180deg, rgba(8, 8, 7, 0.48) 0%, rgba(8, 8, 7, 0.65) 55%, rgba(8, 8, 7, 0.9) 100%),
      url('../images/brand/galla-olive-atmosphere-overlay-1920x1080.png') center / cover no-repeat,
      url('../images/brand/galla-background-olive-reference-1920x1080.png') center / cover no-repeat,
      var(--color-bg-deep);
    opacity: 0.48;
  }

  .home-page::after {
    background: url('../images/decor/galla-stars-garland-white-outline.png') left -2.1vw / 62.5% auto no-repeat;
    opacity: 0.24;
  }

  .home-hero {
    height: calc(100svh - var(--header-height) - 1px);
  }

  .home-page + .home-footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 4;
    display: block;
    margin: 0;
    padding: 0.75rem 48px 1rem;
    border-top: 0;
    background: transparent;
    text-align: center;
  }

  .home-hero__grid {
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  }

  .home-hero__content {
    align-self: start;
    margin-top: clamp(4rem, calc(42vh - 267px), 12rem);
  }

  .home-product-scene .home-hero__fragrance-link {
    position: absolute;
    inset: 0;
    z-index: 4;
    margin: 0;
    overflow: visible;
  }

  .home-product-scene {
    height: clamp(17rem, 42vh, 27rem);
  }

  .home-product-composition {
    position: absolute;
    right: clamp(-7rem, -5vw, -3rem);
    bottom: 0;
    display: block;
    width: clamp(27rem, 42vw, 46rem);
    max-width: none;
    height: auto;
    pointer-events: none;
  }

  .home-hero__fragrance > .text-link {
    position: relative;
    z-index: 5;
  }

  .home-page__decor--right {
    right: -12vw;
    opacity: 0.31;
  }
}

@media (max-width: 1024px) {
  .home-hero {
    height: auto;
    min-height: 0;
    padding-block: clamp(2rem, 6vh, 4rem);
  }

  .home-hero__grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .home-hero__content {
    display: contents;
  }

  .home-hero__visual {
    order: 1;
    width: 100%;
  }

  .home-hero__message {
    order: 2;
  }

  .home-hero__fragrance {
    order: 3;
    width: min(100%, 42rem);
    margin-inline: auto;
  }

  .home-product-scene {
    height: auto;
  }

  .home-product-scene .home-hero__fragrance-link {
    position: relative;
    inset: auto;
    overflow: visible;
  }

  .home-product-composition {
    position: relative;
    right: auto;
    bottom: auto;
    display: block;
    width: min(100%, 42rem);
    max-width: 100%;
    height: auto;
    margin-inline: auto;
  }

  .home-hero__fragrance > .text-link {
    display: flex;
    justify-content: center;
    margin-top: var(--space-md);
  }

  .home-page__decor {
    position: absolute;
  }

  .home-page__decor--right {
    right: -18vw;
    width: clamp(18rem, 38vw, 30rem);
  }

  .home-page__decor--left-bottom {
    left: -6vw;
    width: clamp(15rem, 30vw, 24rem);
  }

  .home-page + .home-footer {
    position: relative;
    inset: auto;
    margin: 0;
    padding: 1.25rem 32px 1.5rem;
    border-top: 0;
    background: transparent;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .home-hero__grid {
    align-items: flex-start;
  }

  .home-hero__fragrance {
    margin-inline: 0 auto;
  }

  .home-product-composition {
    margin-inline: 0;
  }
}

@media (max-width: 768px) {
  body {
    min-width: 0;
  }

  .site-logo {
    width: clamp(6.75rem, 28vw, 8rem);
  }

  .home-page {
    min-height: 0;
  }

  .home-page::before {
    z-index: 0;
    background:
      linear-gradient(180deg, rgba(8, 8, 7, 0.48) 0%, rgba(8, 8, 7, 0.65) 55%, rgba(8, 8, 7, 0.9) 100%),
      url('../images/brand/galla-olive-atmosphere-overlay-1920x1080.png') center / cover no-repeat,
      url('../images/brand/galla-background-olive-reference-1920x1080.png') center / cover no-repeat,
      var(--color-bg-deep);
    opacity: 0.48;
  }

  .home-page::after {
    z-index: 1;
    background: url('../images/decor/galla-stars-garland-white-outline.png') left -2.1vw / 62.5% auto no-repeat;
    opacity: 0.24;
  }

  .home-hero {
    padding-top: clamp(2.5rem, 5vh, 3rem);
    padding-bottom: 0;
    height: auto;
    z-index: auto;
  }

  .home-hero__grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    padding-inline: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .home-hero__visual {
    order: 1;
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
    box-sizing: border-box;
  }

  .home-video {
    position: relative;
    left: auto;
    right: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: auto;
    box-sizing: border-box;
    aspect-ratio: 4 / 3;
    transform: none;
  }

  .home-video__media {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    box-sizing: border-box;
    object-fit: contain;
  }

  .home-hero__content {
    display: contents;
  }

  .home-hero__message {
    order: 2;
    position: relative;
    z-index: 5;
    width: min(420px, calc(100dvw - 32px - env(safe-area-inset-left) - env(safe-area-inset-right)));
    max-width: 100%;
    min-width: 0;
    margin-inline: auto;
    box-sizing: border-box;
  }

  .home-hero__message .home-hero__family-title {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: auto;
    box-sizing: border-box;
    font-size: clamp(2.5rem, 9vw, 3.25rem);
    line-height: 0.95;
  }

  .home-hero__script-line {
    width: auto;
    text-align: center;
    text-align-last: auto;
  }

  .home-hero__message .display-title {
    font-size: clamp(2rem, 10vw, 3.25rem);
  }

  .home-hero__message .home-hero__family-title {
    font-size: clamp(2.65rem, 9.6vw, 3.25rem);
  }

  .home-hero__divider {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: auto;
    box-sizing: border-box;
  }

  .home-hero__fragrance {
    order: 3;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: 0;
    position: relative;
    z-index: 4;
    box-sizing: border-box;
  }

  .home-product-scene {
    width: 100vw;
    margin-left: calc((100% - 100vw) / 2);
    margin-right: 0;
    margin-top: clamp(-4.5rem, -12vw, -2.5rem);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
  }

  .home-product-scene .home-hero__fragrance-link {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-bottom: 0;
    box-sizing: border-box;
  }

  .home-product-composition {
    position: relative;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .home-page__decor {
    position: absolute;
  }

  .home-page__decor--right {
    top: auto;
    right: -4px;
    bottom: 0;
    z-index: 2;
    width: clamp(5.5rem, 24vw, 6.5rem);
  }

  .js .site-nav {
    justify-content: flex-start;
    padding: 1.25rem 20px 2rem;
  }

  .home-page + .home-footer {
    padding-inline: 20px;
  }
}
