/* NA Starter editorial — magazine flow for the starter set page.
   1rem = 10px (Dawn root: 62.5%). All sizes calibrated to that scale. */

.nse {
  background: var(--nse-bg, #efe9df);
  color: var(--nse-text, #1f1f1d);
  position: relative;
  overflow: hidden;
}

.nse-eyebrow {
  font-size: 1.1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.62;
  margin: 0 0 1.4rem;
}
.nse-eyebrow--light { color: rgba(255, 255, 255, 0.92); opacity: 0.92; }
.nse-heading {
  font-size: clamp(2.8rem, 4.6vw, 5.6rem);
  line-height: 1.08;
  letter-spacing: -0.005em;
  font-weight: 400;
  margin: 0;
}

/* ------------------------------------------------------------------
   1) Banner
   ------------------------------------------------------------------ */
.nse-banner {
  position: relative;
  width: 100%;
  min-height: clamp(52vh, 62vh, 78vh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.nse-banner__media {
  position: absolute;
  inset: -8% 0 -8% 0;
  z-index: 0;
}
.nse-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
}
.nse-banner__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(20, 20, 18, 0.55) 0%, rgba(20, 20, 18, 0.18) 50%, rgba(20, 20, 18, 0.10) 100%),
    rgba(20, 20, 18, var(--nse-banner-overlay, 0.25));
  z-index: 1;
}
.nse-banner__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(2rem, 4vw, 5rem) clamp(4.8rem, 7vw, 9.6rem);
  color: #f6f1eb;
}
.nse-banner__eyebrow { color: rgba(255, 255, 255, 0.82); opacity: 0.9; }
.nse-banner__heading {
  color: #f6f1eb;
  max-width: 18ch;
}

.nse-banner__scroll {
  position: absolute;
  bottom: clamp(1.6rem, 2.4vw, 3rem);
  right: clamp(2rem, 4vw, 5rem);
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: #f6f1eb;
}
.nse-banner__scroll-text {
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.78;
}
.nse-banner__scroll-rule {
  width: 1px;
  height: 4.4rem;
  background: currentColor;
  opacity: 0.55;
  animation: nse-scroll-pulse 2.4s ease-in-out infinite;
  transform-origin: top;
}
@keyframes nse-scroll-pulse {
  0%, 100% { transform: scaleY(0.6); opacity: 0.4; }
  50%      { transform: scaleY(1);   opacity: 0.85; }
}

/* ------------------------------------------------------------------
   2) Story intro
   ------------------------------------------------------------------ */
.nse-story {
  padding: clamp(6rem, 9vw, 12rem) clamp(2rem, 4vw, 5rem);
}
.nse-story__inner {
  max-width: 60ch;
  margin: 0 auto;
  text-align: center;
}
.nse-lede {
  font-size: clamp(1.55rem, 1.85vw, 1.95rem);
  line-height: 1.6;
  letter-spacing: -0.002em;
  opacity: 0.88;
}
.nse-lede em { font-style: italic; opacity: 1; }
.nse-lede p { margin: 0 0 1.4rem; }
.nse-lede p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------
   3) Product trio (alternating bands)
   ------------------------------------------------------------------ */
.nse-products {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(31, 31, 29, 0.12);
}
.nse-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-bottom: 1px solid rgba(31, 31, 29, 0.12);
  min-height: clamp(38rem, 56vh, 60rem);
}
@media screen and (max-width: 989px) {
  .nse-product {
    grid-template-columns: 1fr;
    min-height: 0;
  }
}

.nse-product__media {
  position: relative;
  overflow: hidden;
  background: rgba(31, 31, 29, 0.05);
}
.nse-product__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nse-product:hover .nse-product__img {
  transform: scale(1.04);
}
@media screen and (max-width: 989px) {
  .nse-product__media { aspect-ratio: 4 / 5; }
}

.nse-product__content {
  padding: clamp(2.4rem, 4.8vw, 6.4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  gap: 1.4rem;
  background: var(--nse-bg, #efe9df);
}
.nse-product--mirror {
  direction: rtl;
}
.nse-product--mirror > * { direction: ltr; }

.nse-product__numeral {
  font-family: 'Libre Baskerville', var(--font-heading-family), serif;
  font-size: clamp(4.8rem, 8vw, 10.4rem);
  line-height: 0.9;
  font-weight: 400;
  color: var(--nse-accent, #4a4a45);
  opacity: 0.18;
  letter-spacing: -0.02em;
  margin-bottom: -1.4rem;
  display: block;
  font-variant-numeric: oldstyle-nums;
}

.nse-product__name {
  font-size: clamp(2.6rem, 3.2vw, 4rem);
  line-height: 1.08;
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.005em;
  max-width: 14ch;
}

.nse-product__note {
  font-size: clamp(1.4rem, 1.45vw, 1.55rem);
  line-height: 1.7;
  margin: 0;
  opacity: 0.78;
  max-width: 44ch;
}
.nse-product__note p { margin: 0 0 1.2rem; }
.nse-product__note p:last-child { margin-bottom: 0; }

.nse-product__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  margin-top: 0.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(31, 31, 29, 0.18);
}
.nse-product__price {
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.nse-product__link {
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid currentColor;
  padding: 0.4rem 0;
  transition: opacity 0.2s ease, letter-spacing 0.2s ease;
}
.nse-product__link:hover {
  opacity: 0.7;
  letter-spacing: 0.22em;
}

/* ------------------------------------------------------------------
   4) Ritual lifestyle band
   ------------------------------------------------------------------ */
.nse-ritual {
  position: relative;
  isolation: isolate;
  min-height: clamp(52vh, 64vh, 78vh);
  display: grid;
  align-items: center;
  overflow: hidden;
}
.nse-ritual__media {
  position: absolute;
  inset: -8% 0 -8% 0;
  z-index: 0;
}
.nse-ritual__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
}
.nse-ritual__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(20, 20, 18, 0.7) 0%, rgba(20, 20, 18, 0.45) 60%, rgba(20, 20, 18, 0.2) 100%);
  z-index: 1;
}
.nse-ritual__content {
  position: relative;
  z-index: 2;
  padding: clamp(6rem, 8vw, 11rem) clamp(2rem, 4vw, 5rem);
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  color: #f6f1eb;
}
.nse-ritual__heading {
  color: #f6f1eb;
  max-width: 16ch;
  margin-bottom: clamp(2.4rem, 4vw, 4.8rem);
}

.nse-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.6rem, 3.2vw, 4.8rem);
  max-width: 880px;
}
@media screen and (max-width: 749px) {
  .nse-steps { grid-template-columns: 1fr; }
}
.nse-step {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  padding-top: 1.4rem;
}
.nse-step__num {
  font-family: 'Libre Baskerville', var(--font-heading-family), serif;
  font-size: 1.85rem;
  letter-spacing: 0.04em;
  opacity: 0.85;
}
.nse-step__text {
  font-size: 1.4rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

/* ------------------------------------------------------------------
   5) Bundle CTA card
   ------------------------------------------------------------------ */
.nse-cta {
  padding: clamp(6rem, 9vw, 12rem) clamp(2rem, 4vw, 5rem);
  display: flex;
  justify-content: center;
}
.nse-cta__inner {
  max-width: 640px;
  width: 100%;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(31, 31, 29, 0.18);
  padding: clamp(2.8rem, 4vw, 4.8rem);
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}
.nse-cta__head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.nse-cta__heading {
  font-size: clamp(2.2rem, 2.7vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin: 0;
}
.nse-cta__text {
  font-size: 1.4rem;
  line-height: 1.7;
  opacity: 0.78;
  margin: 0.3rem 0 0;
}
.nse-cta__text p { margin: 0; }

.nse-cta__totals {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.nse-cta__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1.4rem;
  line-height: 1.4;
  gap: 1.4rem;
}
.nse-cta__row small {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  opacity: 0.62;
  margin-top: 0.2rem;
}
.nse-cta__row--bundle {
  font-size: 1.6rem;
  font-weight: 500;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(31, 31, 29, 0.18);
}
.nse-cta__row--save {
  font-size: 1.2rem;
  color: var(--nse-accent, #4a4a45);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.nse-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  padding: 1.5rem 1.8rem;
  background: var(--nse-accent, #2a2a26);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.3s ease, letter-spacing 0.3s ease, gap 0.3s ease;
}
.nse-cta__button:hover {
  opacity: 0.88;
  letter-spacing: 0.22em;
  gap: 1.5rem;
}
.nse-cta__button[disabled] { opacity: 0.4; cursor: not-allowed; }
.nse-cta__button[data-loading='true'] { opacity: 0.7; }
.nse-cta__button-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}
.nse-cta__button:hover .nse-cta__button-arrow { transform: translateX(4px); }

.nse-cta__note {
  font-size: 1.15rem;
  line-height: 1.5;
  margin: 0;
  text-align: center;
  opacity: 0.7;
  min-height: 1.6rem;
}
.nse-cta__note[data-state='error']   { color: #b22222; opacity: 1; }
.nse-cta__note[data-state='success'] { color: #2a7a3a; opacity: 1; }

/* ------------------------------------------------------------------
   6) Closing quote
   ------------------------------------------------------------------ */
.nse-quote-wrap {
  padding: clamp(5rem, 8vw, 11rem) clamp(2rem, 4vw, 5rem);
  text-align: center;
  border-top: 1px solid rgba(31, 31, 29, 0.16);
  max-width: 800px;
  margin: 0 auto;
}
.nse-quote {
  font-family: 'Libre Baskerville', var(--font-heading-family), serif;
  font-size: clamp(2rem, 2.5vw, 2.8rem);
  line-height: 1.42;
  font-style: italic;
  font-weight: 400;
  margin: 0;
  color: var(--nse-text, #1f1f1d);
  opacity: 0.92;
  letter-spacing: -0.005em;
}
.nse-quote p { margin: 0; }
.nse-quote::before { content: '\201C'; margin-right: 0.1em; opacity: 0.5; }
.nse-quote::after  { content: '\201D'; margin-left: 0.1em; opacity: 0.5; }

.nse-quote__cite {
  display: inline-block;
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-style: normal;
  opacity: 0.55;
  margin-top: 2rem;
}

/* ------------------------------------------------------------------
   Reveal animations (driven by na-starter-editorial.js IntersectionObserver)
   ------------------------------------------------------------------ */
[data-na-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
[data-na-reveal].nse-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-na-reveal],
  .nse-banner__img,
  .nse-ritual__img,
  .nse-banner__scroll-rule {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* ------------------------------------------------------------------
   Dark mode
   ------------------------------------------------------------------ */
html[data-na-theme='dark'] .nse {
  --nse-bg: rgb(24, 24, 21);
  --nse-text: rgb(246, 241, 235);
  --nse-accent: rgb(246, 241, 235);
}
html[data-na-theme='dark'] .nse-product__content { background: rgb(24, 24, 21); }
html[data-na-theme='dark'] .nse-cta__inner {
  background: rgba(31, 31, 28, 0.65);
  border-color: rgba(246, 241, 235, 0.18);
}
html[data-na-theme='dark'] .nse-cta__row--bundle,
html[data-na-theme='dark'] .nse-product__meta {
  border-top-color: rgba(246, 241, 235, 0.2);
}
html[data-na-theme='dark'] .nse-cta__button {
  background: rgb(246, 241, 235);
  color: rgb(24, 24, 21);
}
html[data-na-theme='dark'] .nse-products,
html[data-na-theme='dark'] .nse-product,
html[data-na-theme='dark'] .nse-quote-wrap {
  border-color: rgba(246, 241, 235, 0.16);
}
