/* ==========================================================================
   NOVAURA — Homepage
   Hero, featured products, brand pillars, quality.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.nva-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  background-color: var(--nva-bg);
}

.nva-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding: var(--nva-s-24) var(--nva-s-6);
}

.nva-hero__title {
  margin-top: calc( var(--nva-s-6) * -1 );
  font-family: var(--nva-font-display);
  font-size: var(--nva-t-hero);
  font-weight: var(--nva-w-semi);
  line-height: 1;
  letter-spacing: var(--nva-ls-tight);
  color: var(--nva-ink);
}

.nva-hero__rule {
  display: block;
  width: 7rem;
  height: 1px;
  margin-top: var(--nva-s-6);
  background-color: var(--nva-blue);
}

.nva-hero__subtitle {
  margin-top: var(--nva-s-6);
  font-family: var(--nva-font-body);
  font-size: var(--nva-t-hero-sub);
  font-weight: var(--nva-w-bold);
  text-transform: uppercase;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--nva-ink);
}

.nva-hero__lead {
  max-width: 24rem;
  margin-top: var(--nva-s-8);
  font-size: var(--nva-t-lead);
  font-weight: var(--nva-w-medium);
  line-height: 1.7;
  color: var(--nva-ink);
}

.nva-hero__actions { margin-top: var(--nva-s-12); }

.nva-hero__cta {
  display: flex;
  width: 100%;
  height: 48px;
}
.nva-hero__cta .nva-icon { transition: transform var(--nva-d-slow) var(--nva-ease); }
.nva-hero__cta:hover .nva-icon { transform: translateX(12px); }

/* Product composition — blended onto the page, not boxed */
.nva-hero__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-block: var(--nva-s-12);
}

.nva-hero__image {
  height: 36vh;
  width: auto;
  max-width: 80vw;
  object-fit: contain;
  user-select: none;
  mix-blend-mode: multiply;
  filter: contrast(1.09) saturate(1.12) brightness(1.02)
          drop-shadow(0 16px 22px rgba(0,0,0,0.20));
  animation: nva-hero-scale 2.4s var(--nva-ease) both;
}

@keyframes nva-hero-scale {
  from { transform: scale(1.05); }
  to   { transform: scale(1); }
}

.nva-hero__scroll {
  position: absolute;
  inset-inline: 0;
  bottom: var(--nva-s-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--nva-s-2);
  pointer-events: none;
}
.nva-hero__scroll span {
  font-size: 0.625rem;
  font-weight: var(--nva-w-semi);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--nva-ink);
}
.nva-hero__chevron { animation: nva-scroll-bounce 2s ease-in-out infinite; }

@keyframes nva-scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%      { transform: translateY(6px); opacity: 1; }
}

@media (min-width: 640px) {
  .nva-hero__cta { display: inline-flex; width: auto; }
}

@media (min-width: 768px) {
  .nva-hero__copy { padding-inline: var(--nva-s-16); }
}

@media (min-width: 1024px) {
  .nva-hero { flex-direction: row; }

  .nva-hero__copy {
    width: 58%;
    padding: var(--nva-s-32) var(--nva-s-24);
  }

  .nva-hero__media {
    width: 42%;
    justify-content: flex-end;
    padding-right: var(--nva-s-12);
    /*
     * Composition nudged for the current hero image.
     *
     * translateY 180px -> 100px lifts the group; translateX -68px -> -128px
     * brings it left so it balances the NOVAURA headline rather than
     * crowding the right edge.
     *
     * The non-uniform scale(0.96, 1.06) is REMOVED. It stretched the image
     * about 10% vertically, which the previous artwork was drawn to absorb.
     * Applied to a photograph it distorts the vials — they read visibly
     * taller and narrower than they are. Size is now controlled by height
     * below, which scales proportionally.
     */
    transform: translateY(100px) translateX(-128px);
  }

  /* Larger, and max-width raised so the taller image is never cropped. */
  .nva-hero__image { height: 58vh; max-width: 46vw; }
}

@media (min-width: 1280px) {
  .nva-hero__copy { padding-inline: var(--nva-s-32); }
}

/* --------------------------------------------------------------------------
   Featured products
   -------------------------------------------------------------------------- */
.nva-featured__head {
  display: flex;
  flex-direction: column;
  gap: var(--nva-s-4);
}

.nva-featured__heading {
  font-family: var(--nva-font-heading);
  font-size: var(--nva-t-section);
  font-weight: var(--nva-w-semi);
  line-height: var(--nva-lh-tight);
  letter-spacing: var(--nva-ls-tight);
}

.nva-featured__aside {
  display: flex;
  flex-direction: column;
  gap: var(--nva-s-3);
}

.nva-featured__lead {
  font-size: var(--nva-t-body);
  line-height: 1.6;
  color: var(--nva-ink-muted);
}

.nva-featured__link--top { display: none; }

.nva-featured__rule { margin-top: var(--nva-s-8); }

.nva-featured__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--nva-s-4);
  margin-top: var(--nva-s-8);
}

.nva-featured__foot {
  display: flex;
  justify-content: center;
  margin-top: var(--nva-s-8);
}

@media (min-width: 1024px) {
  .nva-featured__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
  .nva-featured__aside { align-items: flex-end; }
  .nva-featured__lead  { max-width: 20rem; text-align: right; }

  .nva-featured__link--top { display: inline-flex; }

  .nva-featured__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--nva-s-10);
    margin-top: var(--nva-s-10);
  }

  /* The fourth card exists to balance the two-column mobile grid only. */
  .nva-featured__item--mobile-only { display: none; }

  .nva-featured__foot { display: none; }
}

/* --------------------------------------------------------------------------
   Brand pillars
   -------------------------------------------------------------------------- */
.nva-trust__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--nva-s-16);
}

.nva-trust__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nva-trust__heading {
  font-family: var(--nva-font-heading);
  font-size: var(--nva-t-section);
  font-weight: var(--nva-w-semi);
  line-height: 1.08;
  letter-spacing: var(--nva-ls-tight);
}

.nva-trust__rule { margin-top: var(--nva-s-8); width: 4rem; }

.nva-trust__lead {
  max-width: 32rem;
  margin-top: var(--nva-s-8);
}

.nva-trust__list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  list-style: none;
}

.nva-trust__item {
  display: flex;
  align-items: baseline;
  gap: var(--nva-s-6);
  padding-block: var(--nva-s-10);
  border-top: 1px solid rgba(229,229,229,0.6);
}
.nva-trust__item:first-child { border-top: 0; padding-top: 0; }
.nva-trust__item:last-child  { padding-bottom: 0; }

.nva-trust__number {
  font-family: var(--nva-font-heading);
  font-size: 0.9375rem;
  font-weight: var(--nva-w-medium);
  letter-spacing: 0.1em;
  color: var(--nva-ink-muted);
}

.nva-trust__content { flex: 1; }

.nva-trust__title {
  font-family: var(--nva-font-body);
  font-size: 1.25rem;
  font-weight: var(--nva-w-semi);
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.nva-trust__body {
  max-width: 24rem;
  margin-top: var(--nva-s-2);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--nva-ink-muted);
}

@media (min-width: 1024px) {
  .nva-trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--nva-s-24);
  }
}

/* --------------------------------------------------------------------------
   Quality
   -------------------------------------------------------------------------- */
.nva-quality__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: var(--nva-s-12);
}

.nva-quality__media {
  aspect-ratio: 4 / 5;
  width: 100%;
  overflow: hidden;
  border-radius: var(--nva-r-xl);
  background-color: rgba(245,245,245,0.3);
  box-shadow: var(--nva-shadow-image);
}

.nva-quality__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nva-quality__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nva-quality__heading {
  margin-top: var(--nva-s-5);
  font-family: var(--nva-font-heading);
  font-size: var(--nva-t-section);
  font-weight: var(--nva-w-semi);
  line-height: var(--nva-lh-heading);
  letter-spacing: var(--nva-ls-tight);
}

.nva-quality__body {
  max-width: 30rem;
  margin-top: var(--nva-s-6);
}

.nva-quality__actions { margin-top: var(--nva-s-8); }

.nva-quality__link {
  display: inline-flex;
  align-items: center;
  gap: var(--nva-s-2);
  font-size: 0.875rem;
  font-weight: var(--nva-w-medium);
  letter-spacing: 0.04em;
}
.nva-quality__link .nva-icon { transition: transform var(--nva-d-slow) var(--nva-ease); }
.nva-quality__link:hover .nva-icon { transform: translateX(6px); }

@media (min-width: 1024px) {
  .nva-quality__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--nva-s-24);
  }
}

/* ==========================================================================
   Homepage promotion

   Hairline rules and spacing, no filled card and no shadow. No other section
   on this page carries a background, so a card here would be the only one and
   would read as bolted on. Larger type and rhythm than the Shop and Cart
   bands because this is a section rather than a notice.
   ========================================================================== */
.nva-home-promo {
  /* .nva-section supplies the vertical rhythm; only the rules are ours. */
  border-top: 1px solid var(--nva-line);
  border-bottom: 1px solid var(--nva-line);
}

.nva-home-promo__copy { text-align: center; }

.nva-home-promo__eyebrow { margin: 0 0 var(--nva-s-3); }

.nva-home-promo__headline {
  margin: 0 0 var(--nva-s-4);
  font-family: var(--nva-font-display);
  font-size: var(--nva-t-section);
  font-weight: var(--nva-w-light);
  line-height: 1.15;
  color: var(--nva-ink);
}

.nva-home-promo__lead {
  max-width: 46ch;
  margin: 0 auto var(--nva-s-5);
  font-family: var(--nva-font-body);
  font-size: var(--nva-t-body);
  line-height: 1.7;
  color: var(--nva-ink-70);
}

.nva-home-promo__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0 0.55em;
  margin: 0 0 var(--nva-s-6);
  font-family: var(--nva-font-body);
  font-size: var(--nva-t-small);
  color: var(--nva-ink-70);
}

.nva-home-promo__code {
  white-space: nowrap;
  font-weight: var(--nva-w-semi);
  letter-spacing: var(--nva-ls-label);
  color: var(--nva-gold);
  user-select: all;
}

.nva-home-promo__sep { opacity: 0.4; }

.nva-home-promo__media { margin-top: var(--nva-s-8); }

.nva-home-promo__image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

@media (min-width: 1024px) {

  /* With an image only: two columns, echoing the Quality section. */
  .nva-home-promo--media .nva-home-promo__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    align-items: center;
    gap: var(--nva-s-10);
  }

  .nva-home-promo--media .nva-home-promo__copy { text-align: left; }
  .nva-home-promo--media .nva-home-promo__lead { margin-inline: 0; }
  .nva-home-promo--media .nva-home-promo__meta { justify-content: flex-start; }
  .nva-home-promo--media .nva-home-promo__media { margin-top: 0; }
}

@media (max-width: 767px) {
    .nva-home-promo__sep { display: none; }
  .nva-home-promo__meta { gap: 0.2em 0.6em; }
  .nva-home-promo__cta { display: block; width: 100%; text-align: center; }
}
