*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #a8cb4a;
  color: #111;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:root {
  --green: #a8cb4a;
  --orange: #e59a3c;
  --page-pad: max(1rem, env(safe-area-inset-left));
  --page-pad-r: max(1rem, env(safe-area-inset-right));
}

/* SEO text: in DOM for crawlers/AT; visuals carry the designed look */
.seo-header,
.hero__copy {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.seo-footer {
  position: relative;
  z-index: 2;
  background: #111;
  color: #fff;
  text-align: center;
  padding:
    0.85rem
    var(--page-pad-r)
    max(0.85rem, env(safe-area-inset-bottom))
    var(--page-pad);
  font-size: clamp(0.8rem, 0.7rem + 0.4vw, 1rem);
  line-height: 1.45;
}

.seo-footer p {
  margin: 0 auto;
  max-width: 42rem;
  text-wrap: pretty;
}

.seo-footer strong {
  font-weight: 700;
}

/* Coming soon bar */
.soon {
  position: relative;
  z-index: 2;
  background: var(--green);
  min-height: clamp(5.5rem, 14vw, 10rem);
  display: grid;
  place-items: center;
  padding:
    clamp(1.5rem, 4vw, 3rem)
    var(--page-pad-r)
    max(clamp(1.5rem, 4vw, 3rem), env(safe-area-inset-bottom))
    var(--page-pad);
  border-top: 4px solid #111;
}

.soon__text {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 0.6rem + 8vw, 6.5rem);
  letter-spacing: 0.02em;
  color: #111;
  text-align: center;
  text-transform: uppercase;
  line-height: 0.95;
  white-space: nowrap;
  max-width: 100%;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: auto;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__bg-green {
  position: absolute;
  inset: 0;
  background: var(--green);
}

.hero__bg-orange {
  position: absolute;
  inset: 0;
  background: var(--orange);
  clip-path: polygon(64% 0, 100% 0, 100% 100%, 46% 100%);
}

.hero__stage {
  position: relative;
  z-index: 1;
  width: min(100%, 120rem);
  margin-inline: auto;
}

.hero__visuals {
  display: grid;
  justify-items: center;
  align-items: center;
  gap: clamp(0.75rem, 3vw, 1.5rem);
  padding:
    max(1.25rem, env(safe-area-inset-top))
    var(--page-pad-r)
    max(1.5rem, env(safe-area-inset-bottom))
    var(--page-pad);
}

.hero__headline,
.hero__bottle,
.hero__logo {
  margin: 0;
  line-height: 0;
}

.hero__headline {
  width: min(92%, 26rem);
  justify-self: start;
  margin-left: 0;
}

.hero__bottle {
  width: min(78%, 22rem);
  z-index: 2;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.18));
}

.hero__logo {
  width: min(72%, 18rem);
  justify-self: end;
  margin-right: 0;
}

/* ——— Large phones ——— */
@media (min-width: 480px) {
  .hero__headline {
    width: min(86%, 30rem);
  }

  .hero__bottle {
    width: min(70%, 24rem);
  }

  .hero__logo {
    width: min(64%, 20rem);
  }
}

/* ——— Tablets: move toward 3-zone composition ——— */
@media (min-width: 768px) {
  :root {
    --page-pad: max(1.5rem, env(safe-area-inset-left));
    --page-pad-r: max(1.5rem, env(safe-area-inset-right));
  }

  .hero__bg-orange {
    clip-path: polygon(62% 0, 100% 0, 100% 100%, 48% 100%);
  }

  .hero__visuals {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr) minmax(0, 0.95fr);
    grid-template-areas: "headline bottle logo";
    align-items: center;
    gap: 0;
    min-height: min(100svh, 52rem);
    padding-inline: clamp(1rem, 2.5vw, 2rem);
    padding-block: clamp(1rem, 2.5vw, 1.75rem) 0;
  }

  .hero__headline {
    grid-area: headline;
    width: min(100%, 30rem);
    justify-self: start;
    align-self: center;
    margin-top: 6%;
  }

  .hero__bottle {
    grid-area: bottle;
    width: min(125%, 34rem);
    justify-self: center;
    align-self: end;
    margin: 0 0 0 -6%;
  }

  .hero__logo {
    grid-area: logo;
    width: min(96%, 24rem);
    justify-self: end;
    align-self: center;
    margin-top: 4%;
    margin-right: 2%;
  }
}

/* ——— Desktop ——— */
@media (min-width: 1024px) {
  :root {
    --page-pad: max(2rem, env(safe-area-inset-left));
    --page-pad-r: max(2rem, env(safe-area-inset-right));
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
  }

  .hero__bg-orange {
    clip-path: polygon(58% 0, 100% 0, 100% 100%, 42% 100%);
  }

  .hero__visuals {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
    min-height: inherit;
    max-width: 100%;
    padding-inline: clamp(2rem, 5vw, 6rem);
    padding-block: clamp(1rem, 2vw, 2rem) 0;
    align-items: stretch;
  }

  .hero__headline {
    width: min(100%, 36rem);
    align-self: center;
    margin-top: 4%;
    transform: translateY(4%);
  }

  .hero__bottle {
    width: min(115%, 42rem);
    max-width: 46rem;
    align-self: end;
    justify-self: center;
    margin: 0 0 -1% -4%;
  }

  .hero__logo {
    width: min(88%, 28rem);
    align-self: center;
    justify-self: end;
    margin-top: 2%;
    margin-right: 2%;
  }
}

/* ——— Wide desktop ——— */
@media (min-width: 1440px) {
  .hero__visuals {
    padding-inline: clamp(3rem, 7vw, 9rem);
  }

  .hero__headline {
    width: min(100%, 42rem);
  }

  .hero__bottle {
    width: min(120%, 48rem);
    margin-left: -6%;
  }

  .hero__logo {
    width: min(86%, 32rem);
  }
}

/* ——— Ultra-wide ——— */
@media (min-width: 1800px) {
  .hero__headline {
    width: min(100%, 46rem);
  }

  .hero__bottle {
    width: min(118%, 52rem);
  }

  .hero__logo {
    width: min(84%, 34rem);
  }
}

/* ——— Mobile stacked ——— */
@media (max-width: 767px) {
  .hero__bg-orange {
    clip-path: polygon(0 52%, 100% 38%, 100% 100%, 0 100%);
  }

  .hero__visuals {
    padding-top: max(1.5rem, env(safe-area-inset-top));
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
    gap: 0.35rem;
  }

  .hero__headline {
    order: 1;
    width: min(94%, 24rem);
  }

  .hero__bottle {
    order: 2;
    width: min(72%, 20rem);
    margin-top: -0.25rem;
  }

  .hero__logo {
    order: 3;
    width: min(68%, 16rem);
    justify-self: center;
    margin-top: 0.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bottle {
    filter: none;
  }
}
