/*
 * NAS Joyful Discovery v2.2
 * Decision clarity, image provenance and native programme controls.
 */

.nas-home-v21 .nas-hero__copy h1 {
  max-width: 740px;
  font-size: clamp(3.25rem, 6.5vw, 6.6rem);
  letter-spacing: -.052em;
  line-height: .94;
}

.nas-home-v21 .nas-hero__copy h1 em {
  display: inline;
}

.nas-trust-strip--decision {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding-top: 0;
  border-top: 1px solid rgba(23, 56, 46, .16);
}

.nas-trust-strip--decision li {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 18px 14px 0 0;
  font-size: .83rem;
  line-height: 1.3;
}

.nas-trust-strip--decision li + li {
  padding-left: 14px;
  border-left: 1px solid rgba(23, 56, 46, .13);
}

.nas-trust-strip--decision li::before {
  display: none;
}

.nas-trust-strip--decision strong {
  color: var(--as-clay-ink);
  font-size: .67rem;
  font-weight: 850;
  letter-spacing: .105em;
  text-transform: uppercase;
}

/* The purposeful-play image belongs with Observe · Name · Extend. A
   landscape crop keeps the hands and material central without making the
   section taller than its explanation. */
.nas-curiosity-world__art--purpose img {
  height: clamp(280px, 62vw, 520px);
  object-fit: cover;
  object-position: center 58%;
}

/* Native buttons keep programme selection semantic and keyboard-safe. */
.nas-journey--joy .nas-journey-path .nas-stage-trigger {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 360px;
  overflow: hidden;
  isolation: isolate;
  padding: 18px 14px 20px;
  border: 2px solid transparent;
  border-radius: 22px;
  color: var(--as-ink);
  font: inherit;
  text-align: center;
  cursor: pointer;
  appearance: none;
  box-shadow: 0 1px 0 rgba(33, 43, 35, .03);
  transition: transform var(--dur-2) var(--ease-play), border-color var(--dur-2), box-shadow var(--dur-2);
}

.nas-journey--joy .nas-journey-path .nas-stage-trigger:nth-child(1) { background: var(--as-monsoon-wash); }
.nas-journey--joy .nas-journey-path .nas-stage-trigger:nth-child(2) { background: var(--as-petal-wash); }
.nas-journey--joy .nas-journey-path .nas-stage-trigger:nth-child(3) { background: var(--as-gold-wash); }
.nas-journey--joy .nas-journey-path .nas-stage-trigger:nth-child(4) { background: var(--as-leaf-wash); }

.nas-journey--joy .nas-journey-path .nas-stage-trigger:hover,
.nas-journey--joy .nas-journey-path .nas-stage-trigger.is-active {
  transform: translateY(-6px) rotate(-.4deg);
  border-color: var(--as-moss);
  box-shadow: var(--shadow-lift);
}

.nas-journey--joy .nas-journey-path .nas-stage-trigger:focus-visible {
  outline: 3px solid var(--as-sun);
  outline-offset: 4px;
}

.nas-journey--joy .nas-journey-path .nas-stage-trigger > * {
  position: relative;
  z-index: 1;
}

.nas-journey--joy .nas-journey-path .nas-stage-trigger > .nas-stage-trigger__dot {
  display: block;
  width: 14px;
  height: 14px;
  margin: -5px auto 12px;
  border: 3px solid var(--as-paper);
  border-radius: 999px;
  background: var(--as-moss);
  box-shadow: 0 0 0 5px rgba(30, 77, 53, .12);
}

.nas-journey--joy .nas-journey-path .nas-stage-trigger:nth-child(2) > .nas-stage-trigger__dot { background: var(--as-sun); }
.nas-journey--joy .nas-journey-path .nas-stage-trigger:nth-child(3) > .nas-stage-trigger__dot { background: var(--as-monsoon); }
.nas-journey--joy .nas-journey-path .nas-stage-trigger:nth-child(4) > .nas-stage-trigger__dot { background: var(--as-clay); }

.nas-journey--joy .nas-journey-path .nas-stage-trigger img {
  width: 132px;
  height: 150px;
  margin: 0 auto 16px;
  border: 6px solid var(--as-paper);
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur-3) var(--ease-out-soft);
}

.nas-journey--joy .nas-journey-path .nas-stage-trigger:hover img {
  transform: translateY(-4px) scale(1.02);
}

.nas-journey--joy .nas-journey-path .nas-stage-trigger em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-bottom: 12px;
  padding: 8px 12px;
  border: 1px solid rgba(23, 56, 46, .2);
  border-radius: 999px;
  background: rgba(255, 253, 247, .94);
  color: var(--as-moss-dark);
  font-size: .82rem;
  font-style: normal;
  font-weight: 850;
  letter-spacing: .075em;
  line-height: 1.25;
  text-transform: uppercase;
}

.nas-journey--joy .nas-journey-path .nas-stage-trigger__title {
  display: block;
  color: var(--as-moss-dark);
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.18;
}

.nas-journey--joy .nas-journey-path .nas-stage-trigger__age {
  display: block;
  margin: 5px auto 0;
  color: var(--as-moss);
  font-size: .9rem;
  font-weight: 800;
}

/* A ledger, not another generic icon-card grid. */
.nas-decision-facts {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 16%, rgba(244, 185, 66, .2), transparent 24%),
    linear-gradient(135deg, #f4eee0 0%, #fff9ef 48%, #eef5e8 100%);
}

.nas-decision-facts::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 250px;
  height: 250px;
  border: 34px solid rgba(36, 111, 127, .1);
  border-radius: 50%;
  pointer-events: none;
}

.nas-decision-facts__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: clamp(44px, 8vw, 112px);
  align-items: start;
}

.nas-decision-ledger {
  margin: 0;
  border-top: 1px solid rgba(23, 56, 46, .25);
}

.nas-decision-ledger > div {
  display: grid;
  grid-template-columns: minmax(130px, .42fr) minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(23, 56, 46, .19);
}

.nas-decision-ledger dt {
  color: var(--as-moss-dark);
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  font-weight: 600;
}

.nas-decision-ledger dd {
  margin: 0;
  color: var(--as-ink-soft);
  line-height: 1.65;
}

.nas-decision-ledger a {
  display: block;
  width: fit-content;
  margin-top: 5px;
  color: var(--as-clay-ink);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .nas-trust-strip--decision {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nas-trust-strip--decision li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .nas-decision-facts__grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

@media (min-width: 721px) {
  .nas-consent {
    width: min(760px, calc(100% - 32px));
    right: 16px;
    bottom: 16px;
    gap: 18px;
    padding: 16px 18px;
    border-radius: 16px;
  }

  .nas-consent strong {
    margin-bottom: 3px;
  }

  .nas-consent p {
    font-size: .84rem;
    line-height: 1.45;
  }
}

@media (min-width: 1200px) {
  /* Let families understand the complete morning at a glance on wide screens. */
  .nas-moment-carousel__controls {
    display: none;
  }

  .nas-moment-carousel__track {
    grid-auto-flow: initial;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    padding: 4px 0 28px;
    overflow: visible;
    scroll-snap-type: none;
  }

  .nas-moment-card {
    grid-template-rows: 250px auto;
    min-height: 446px;
    border-radius: 22px;
  }

  .nas-moment-card > div {
    padding: 22px 20px 24px;
  }

  .nas-moment-card > div span {
    top: 20px;
    right: 18px;
  }

  .nas-moment-card h3 {
    font-size: clamp(1.75rem, 2.1vw, 2.35rem);
  }

  .nas-moment-card p {
    font-size: .92rem;
    line-height: 1.5;
  }
}

@media (max-width: 720px) {
  /* Phone-first: content should be readable immediately, without waiting for
     decorative entrance motion on a slower device. */
  .nas-reveal,
  .nas-stagger > * {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }

  .nas-site-header {
    z-index: 10040;
  }

  .nas-mobile-drawer {
    z-index: 10030;
  }

  .nas-brand {
    min-height: 44px;
  }

  .nas-consent {
    max-height: calc(100dvh - 92px);
    overflow-y: auto;
  }

  .nas-privacy-settings {
    right: 12px;
    left: auto;
    bottom: 72px;
    min-height: 44px;
    padding: 9px 14px;
  }

  body:has(.nas-mobile-drawer.is-open) .nas-mobile-conversion,
  body:has(.nas-mobile-drawer.is-open) .nas-privacy-settings {
    opacity: 0;
    pointer-events: none;
  }

  .nas-home-v21 .nas-hero__copy h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .nas-trust-strip--decision li {
    padding-top: 14px;
  }

  .nas-trust-strip--decision li:nth-child(even) {
    padding-left: 12px;
  }

  .nas-journey--joy .nas-journey-path .nas-stage-trigger {
    min-width: 72vw;
    min-height: 330px;
    scroll-snap-align: start;
  }

  .nas-decision-ledger > div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 21px 0;
  }
}

@media (max-width: 560px) {
  .nas-footer {
    padding-bottom: 104px;
  }

  .nas-footer__grid > div:not(.nas-footer__brand) ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 7px;
  }

  .nas-footer__grid > div:not(.nas-footer__brand) li,
  .nas-footer__grid > div:not(.nas-footer__brand) a {
    min-width: 0;
  }

  .nas-footer__grid > div:not(.nas-footer__brand) a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .nas-footer__grid > div:last-child .nas-footer__subhead + ul {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nas-journey--joy .nas-journey-path .nas-stage-trigger,
  .nas-journey--joy .nas-journey-path .nas-stage-trigger img {
    transition: none;
  }
}
