/* ==========================================================================
   Neema Naturals — homepage ("rustic botanical refinement")
   Loaded on the front page only. Uses tokens from neema.css.
   Section rhythm: hero travertine → forest panel → welcome ivory →
   best sellers linen → explore ivory → small batch travertine → closing forest → espresso footer.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Shared homepage pieces
   -------------------------------------------------------------------------- */

/* Soft dappled leaf shadow, like sunlight through leaves in the product photos.
   Static pre-rendered image with blur AND opacity baked in (no live filter, blend mode or CSS opacity). */
.nn-leaf-shadow {
  position: absolute;
  pointer-events: none;
  background-image: image-set(url("../images/textures/leaf-shadow-soft.webp") type("image/webp"), url("../images/textures/leaf-shadow-soft.png") type("image/png"));
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Script accent — tiny touches only, never body text or headings */
.nn-script {
  margin: 0;
  color: var(--nn-amber);
  font-family: var(--nn-font-script);
  font-size: clamp(1.9rem, 2.6vw, 2.45rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
}

/* Small botanical divider: hairline · sprig · hairline */
.nn-divider {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  width: min(100% - 2 * var(--nn-gutter), 26rem);
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  color: var(--nn-kraft-deep);
}

.nn-divider__line {
  flex: 1 1 auto;
  height: 1px;
  background: rgb(var(--nn-honey-rgb) / 0.5);
}

.nn-divider .nn-botanical--olive {
  width: 112px;
  height: auto;
}

.nn-divider .nn-botanical--chamomile {
  width: 30px;
  height: auto;
}

/* Kraft-paper tag with a punched hole */
.nn-tag {
  --nn-tag-hole: var(--nn-ivory);
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.15rem 0.5rem 1.7rem;
  background:
    radial-gradient(circle at 0.8rem 50%, var(--nn-tag-hole) 0 3px, rgb(var(--nn-espresso-rgb) / 0.35) 3.2px, transparent 4px),
    var(--nn-grain) var(--nn-kraft);
  color: var(--nn-espresso);
  font-family: var(--nn-font-heading);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: var(--nn-weight-heading);
  line-height: 1.2;
  clip-path: polygon(0.7rem 0, 100% 0, 100% 100%, 0.7rem 100%, 0 50%);
}

.nn-home-section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  width: min(100% - 2 * var(--nn-gutter), var(--nn-container));
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.nn-home-section-heading h2 {
  margin: 0;
}

/* Eyebrows on warm stone backgrounds get a deeper olive for AA contrast */
.nn-hero .nn-eyebrow {
  color: var(--nn-olive-ink);
}

/* --------------------------------------------------------------------------
   1. Hero — warm travertine, dappled light, organic frame
   -------------------------------------------------------------------------- */
.nn-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(calc(88svh - var(--nn-header-h)), 860px);
  padding-block: clamp(2.5rem, 4.5vw, 4rem) clamp(9rem, 13vw, 12rem);
  overflow: hidden;
  background-color: var(--nn-travertine);
  background-image:
    var(--nn-tex-stone),
    linear-gradient(180deg, var(--nn-linen) 0%, var(--nn-travertine) 42%, var(--nn-sand-warm) 100%);
}

/* Organic frame shapes as SVG masks (0–1 units, stretched to the box) */
.nn-hero {
  --nn-mask-hero: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1' preserveAspectRatio='none'%3E%3Cpath d='M0.205,0 H1 V1 H0.075 C0.03,1 0.004,0.968 0.012,0.918 C0.026,0.83 0.094,0.77 0.102,0.64 C0.11,0.5 0.05,0.43 0.062,0.29 C0.074,0.13 0.13,0 0.205,0 Z'/%3E%3C/svg%3E");
  --nn-mask-hero-backdrop: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1' preserveAspectRatio='none'%3E%3Cpath d='M0.2,0 H1 V0.76 C0.78,0.77 0.5,0.86 0.3,0.94 C0.2,0.98 0.12,1 0.08,1 C0.03,1 0,0.96 0.01,0.9 C0.03,0.8 0.11,0.75 0.115,0.6 C0.12,0.47 0.06,0.4 0.068,0.27 C0.078,0.12 0.13,0 0.2,0 Z'/%3E%3C/svg%3E");
  --nn-mask-hero-mobile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H1 V0.86 C0.86,0.95 0.7,0.99 0.52,0.96 C0.34,0.93 0.18,0.9 0,0.97 Z'/%3E%3C/svg%3E");
}

/* Warm pools of light (static: animating a layer this large costs more than it gives) */
.nn-hero__light {
  position: absolute;
  inset: -10%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38% 30% at 18% 22%, rgb(var(--nn-sunlight-rgb) / 0.7), transparent 70%),
    radial-gradient(22% 18% at 34% 62%, rgb(var(--nn-sunlight-rgb) / 0.45), transparent 72%),
    radial-gradient(26% 20% at 8% 78%, rgb(var(--nn-honey-rgb) / 0.1), transparent 70%),
    radial-gradient(30% 26% at 62% 12%, rgb(var(--nn-sunlight-rgb) / 0.55), transparent 70%);
}

.nn-hero__leaves {
  top: -6%;
  left: -4%;
  z-index: -1;
  width: 62%;
  height: 78%;
  background-position: left top;
  background-size: contain;
}


.nn-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4.5rem);
  width: 100%;
  padding-inline-start: max(var(--nn-gutter), calc((100% - var(--nn-container)) / 2 + var(--nn-gutter)));
}

.nn-hero__content {
  position: relative;
  z-index: 2;
  max-width: 36rem;
  padding-block: 1rem;
}

.nn-hero__sprig {
  position: absolute;
  top: -2.1rem;
  right: 6%;
  width: clamp(110px, 10vw, 150px);
  height: auto;
  color: var(--nn-olive);
  opacity: 0.85;
  transform: rotate(-9deg);
}

.nn-hero__title {
  margin: 0 0 clamp(2rem, 3.2vw, 2.9rem);
  color: var(--nn-ink);
  font-size: var(--nn-text-hero);
  font-weight: var(--nn-weight-heading);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.nn-hero__title em {
  display: block;
  margin-top: 0.08em;
  color: var(--nn-olive);
}

.nn-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2.25rem;
}

/* Visual: photo inside an organic frame, stone-textured olive shape behind */
.nn-hero__visual {
  position: relative;
  min-width: 0;
}

.nn-hero__backdrop {
  position: absolute;
  top: 9%;
  right: 0;
  bottom: -7%;
  left: -7%;
  background:
    var(--nn-tex-stone),
    radial-gradient(60% 50% at 30% 70%, rgb(var(--nn-sunlight-rgb) / 0.1), transparent 70%),
    linear-gradient(160deg, var(--nn-olive) 0%, color-mix(in srgb, var(--nn-olive) 82%, var(--nn-forest-deep)) 100%);
  -webkit-mask: var(--nn-mask-hero-backdrop) 0 0 / 100% 100% no-repeat;
  mask: var(--nn-mask-hero-backdrop) 0 0 / 100% 100% no-repeat;
}

.nn-hero__frame {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--nn-sand-warm);
  -webkit-mask: var(--nn-mask-hero) 0 0 / 100% 100% no-repeat;
  mask: var(--nn-mask-hero) 0 0 / 100% 100% no-repeat;
}

.nn-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 50%;
}

/* Circular stamp badge */
.nn-stamp {
  position: absolute;
  bottom: -2%;
  left: -6%;
  z-index: 3;
  width: clamp(112px, 9.5vw, 152px);
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 14px 26px -6px rgb(var(--nn-espresso-rgb) / 0.24); /* not a filter: the text ring rotates */
}

.nn-stamp__svg {
  display: block;
  width: 100%;
  height: 100%;
}

.nn-stamp__disc {
  fill: var(--nn-linen);
}

.nn-stamp__ring {
  fill: none;
  stroke: var(--nn-kraft-deep);
  stroke-width: 1;
}

.nn-stamp__ring--inner {
  stroke-opacity: 0.6;
}

.nn-stamp__text {
  fill: var(--nn-forest);
  font-family: var(--nn-font-body);
  font-size: 10.5px;
  font-weight: var(--nn-weight-medium);
  letter-spacing: 0.12em;
}

.nn-stamp__spin {
  position: absolute;
  inset: 0;
  will-change: transform;
  animation: nn-stamp-spin 60s linear infinite;
}

.nn-stamp__leaf path {
  fill: none;
  stroke: var(--nn-olive);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes nn-stamp-spin {
  to { transform: rotate(360deg); }
}

/* Organic wave into the welcome section */
.nn-hero__wave {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 2;
  width: 100%;
  height: clamp(48px, 7vw, 110px);
  fill: var(--nn-ivory);
}

@media (max-width: 1100px) {
  .nn-hero__inner {
    grid-template-columns: minmax(0, 5.5fr) minmax(0, 6.5fr);
  }

  .nn-hero__title {
    font-size: clamp(3rem, 6.2vw, 4.4rem);
  }

  .nn-hero__frame {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 860px) {
  .nn-hero {
    min-height: 0;
    padding-block: 0 clamp(7.5rem, 22vw, 9.5rem);
  }

  .nn-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2.25rem, 7vw, 3.25rem);
    padding-inline-start: 0;
  }

  .nn-hero__visual {
    order: -1;
  }

  .nn-hero__frame {
    aspect-ratio: 4 / 3;
    -webkit-mask: var(--nn-mask-hero-mobile) 0 0 / 100% 100% no-repeat;
    mask: var(--nn-mask-hero-mobile) 0 0 / 100% 100% no-repeat;
  }

  .nn-hero__image {
    object-position: 34% 50%;
  }

  .nn-hero__backdrop {
    inset: 0;
    transform: translateY(5%);
    -webkit-mask: var(--nn-mask-hero-mobile) 0 0 / 100% 100% no-repeat;
    mask: var(--nn-mask-hero-mobile) 0 0 / 100% 100% no-repeat;
  }

  .nn-hero__leaves {
    top: 40%;
    width: 100%;
    height: 50%;
  }

  .nn-stamp {
    right: 6%;
    bottom: -9%;
    left: auto;
    width: clamp(92px, 22vw, 120px);
  }

  .nn-hero__content {
    max-width: none;
    padding: 0 var(--nn-gutter);
  }

  .nn-hero__sprig {
    top: -1.6rem;
    right: auto;
    left: 62%;
    width: 96px;
  }

  .nn-hero__title {
    font-size: clamp(2.9rem, 11vw, 4.2rem);
  }
}

@media (max-width: 560px) {
  .nn-hero__sprig {
    display: none;
  }

  .nn-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 1.1rem;
  }

  .nn-hero__actions .nn-button {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   2. The Neema Difference (forest panel overlapping the hero)
   -------------------------------------------------------------------------- */
.nn-values {
  position: relative;
  z-index: 3;
  width: min(100% - 2 * var(--nn-gutter), var(--nn-container-text));
  margin: calc(-1 * clamp(5.5rem, 9vw, 8rem)) auto 0;
}

.nn-values__panel {
  padding: clamp(2.5rem, 5vw, 3.75rem) clamp(1.5rem, 4vw, 3.5rem);
  border-radius: var(--nn-radius-panel);
  background-color: var(--nn-forest);
  background-image:
    var(--nn-grain),
    radial-gradient(70% 90% at 15% 0%, rgb(var(--nn-sunlight-rgb) / 0.06), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, rgb(var(--nn-forest-deep-rgb) / 0.8), transparent 70%);
  box-shadow: var(--nn-shadow-panel);
  color: var(--nn-ivory-soft);
}

.nn-values__header {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.nn-values__header h2 {
  margin: 0 0 0.9rem;
  color: var(--nn-ivory);
  font-size: clamp(2rem, 3.2vw, 2.85rem);
}

.nn-values__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.nn-values__item {
  padding: 0.25rem clamp(1rem, 2vw, 1.75rem);
  text-align: center;
}

.nn-values__item + .nn-values__item {
  border-left: 1px solid rgb(var(--nn-ivory-rgb) / 0.14);
}

.nn-values__icon {
  display: block;
  width: 68px;
  height: 68px;
  margin: 0 auto 1.25rem;
  padding: 14px;
  border: 1px solid rgb(var(--nn-honey-rgb) / 0.55);
  border-radius: 50%;
  fill: none;
  stroke: var(--nn-kraft);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nn-values__item h3 {
  margin: 0 0 0.5rem;
  color: var(--nn-ivory);
  font-size: clamp(1.3rem, 1.6vw, 1.5rem);
  line-height: 1.2;
}

.nn-values__item p {
  max-width: 15rem;
  margin: 0 auto;
  color: var(--nn-ivory-soft);
  font-size: var(--nn-text-sm);
  font-weight: var(--nn-weight-light);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .nn-values__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2.5rem;
  }

  .nn-values__item:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 600px) {
  .nn-values__list {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
  }

  .nn-values__item {
    padding: 1.75rem 0.5rem;
  }

  .nn-values__item + .nn-values__item {
    border-top: 1px solid rgb(var(--nn-ivory-rgb) / 0.14);
    border-left: 0;
  }

  .nn-values__item:first-child {
    padding-top: 0;
  }

  .nn-values__item:last-child {
    padding-bottom: 0;
  }
}

/* --------------------------------------------------------------------------
   3. Welcome — image resting on a stone slab
   -------------------------------------------------------------------------- */
.nn-welcome {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  width: min(100% - 2 * var(--nn-gutter), var(--nn-container-text));
  margin: 0 auto;
  padding-block: var(--nn-section-y);
}

.nn-welcome__copy h2 {
  margin-bottom: 1.2rem;
}

.nn-welcome__lead {
  color: var(--nn-olive);
  font-family: var(--nn-font-heading);
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-style: italic;
  line-height: 1.35;
}

.nn-welcome__copy p {
  max-width: 34rem;
  color: var(--nn-ink-soft);
}

.nn-welcome__figure {
  position: relative;
  justify-self: center;
  width: min(100%, 440px);
  margin: 0;
  padding: 0 1.75rem 1.75rem 0;
}

.nn-welcome__slab {
  position: absolute;
  inset: 1.75rem 0 0 1.75rem;
  border-radius: 16px;
  background-color: var(--nn-sand-warm);
  background-image: var(--nn-tex-stone);
  box-shadow:
    inset 0 0 0 1px rgb(var(--nn-stone-rgb) / 0.6),
    0 24px 40px -28px rgb(var(--nn-espresso-rgb) / 0.4);
}

.nn-welcome__frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  box-shadow:
    0 30px 50px -30px rgb(var(--nn-espresso-rgb) / 0.5),
    0 8px 18px -12px rgb(var(--nn-espresso-rgb) / 0.3);
}

.nn-welcome__frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 36% 50%;
}

.nn-welcome__leaves {
  top: -12%;
  right: -30%;
  width: 120%;
  height: 75%;
  background-position: right top;
  background-image: image-set(url("../images/textures/leaf-shadow-strong.webp") type("image/webp"), url("../images/textures/leaf-shadow-strong.png") type("image/png"));
  background-size: contain; /* keep the image's soft faded edges inside the box (no hard cut) */
}

.nn-welcome__tag {
  position: absolute;
  bottom: 3.75rem;
  left: -1.5rem;
  filter: drop-shadow(0 8px 12px rgb(var(--nn-espresso-rgb) / 0.25));
  transform: rotate(-4deg);
}

@media (max-width: 767px) {
  .nn-welcome {
    grid-template-columns: minmax(0, 1fr);
  }

  .nn-welcome__figure {
    width: min(100% - 1rem, 400px);
  }

  .nn-welcome__tag {
    left: -0.5rem;
  }
}

/* --------------------------------------------------------------------------
   4. Product sections — linen & kraft cards
   -------------------------------------------------------------------------- */
.nn-featured-products {
  position: relative;
  isolation: isolate;
  width: 100%;
  padding-block: var(--nn-section-y);
}

.nn-best-sellers {
  background-color: var(--nn-linen);
  background-image: var(--nn-tex-linen);
}

.nn-product-grid,
.nn-category-grid {
  display: grid;
  gap: clamp(1.25rem, 2.2vw, 2.25rem);
  width: min(100% - 2 * var(--nn-gutter), var(--nn-container));
  margin-inline: auto;
}

.nn-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nn-product-card,
.nn-category-card {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--nn-radius-card);
  background-color: var(--nn-card-paper);
  background-image: var(--nn-grain);
  box-shadow: 0 1px 0 rgb(var(--nn-kraft-deep-rgb) / 0.25), 0 14px 30px -26px rgb(var(--nn-espresso-rgb) / 0.35);
  transition: box-shadow 0.45s var(--nn-ease), transform 0.45s var(--nn-ease);
}

.nn-product-card:hover,
.nn-product-card:focus-within,
.nn-category-card:hover,
.nn-category-card:focus-within {
  box-shadow: 0 30px 50px -26px rgb(var(--nn-amber-rgb) / 0.5), 0 10px 20px -14px rgb(var(--nn-espresso-rgb) / 0.3);
  transform: translateY(-4px);
}

.nn-product-card__link,
.nn-category-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  border-radius: inherit;
}

.nn-product-card__link:hover,
.nn-category-card__link:hover {
  color: inherit;
}

.nn-product-card__link:focus-visible,
.nn-category-card__link:focus-visible {
  outline-offset: -3px;
}

.nn-product-card__media,
.nn-category-card__media {
  overflow: hidden;
  background: var(--nn-sand-warm);
}

.nn-product-card__image,
.nn-category-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1s var(--nn-ease);
}

.nn-product-card:hover .nn-product-card__image,
.nn-category-card:hover .nn-category-card__image {
  transform: scale(1.045);
}

.nn-product-card__content,
.nn-category-card__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.35rem 1.5rem 1.5rem;
  border-top: 1px dashed rgb(var(--nn-kraft-deep-rgb) / 0.45);
}

.nn-product-card__title,
.nn-category-card__content h3 {
  margin: 0;
  color: var(--nn-ink);
  font-size: clamp(1.4rem, 1.7vw, 1.6rem);
  line-height: 1.15;
  text-transform: capitalize;
}

.nn-product-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
}

/* Price on a small kraft tag */
.nn-price-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem 0.3rem 1.35rem;
  background:
    radial-gradient(circle at 0.62rem 50%, var(--nn-card-paper) 0 2.4px, rgb(var(--nn-espresso-rgb) / 0.35) 2.6px, transparent 3.3px),
    var(--nn-grain) var(--nn-kraft);
  color: var(--nn-espresso);
  font-size: var(--nn-text-sm);
  font-weight: var(--nn-weight-medium);
  line-height: 1.3;
  clip-path: polygon(0.55rem 0, 100% 0, 100% 100%, 0.55rem 100%, 0 50%);
}

.nn-price-tag .amount,
.nn-price-tag bdi {
  color: inherit;
}

.nn-price-tag del {
  opacity: 0.65;
}

.nn-price-tag ins {
  text-decoration: none;
}

.nn-product-meta {
  color: var(--nn-ink-soft);
  font-size: var(--nn-text-xs);
  letter-spacing: 0.04em;
}

.nn-product-card .nn-card-link,
.nn-category-card .nn-card-link {
  margin-top: auto;
  padding-top: 0.2rem;
}

.nn-product-card__link:hover .nn-arrow,
.nn-product-card__link:focus-visible .nn-arrow,
.nn-category-card__link:hover .nn-arrow,
.nn-category-card__link:focus-visible .nn-arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   5. Explore Neema
   -------------------------------------------------------------------------- */
.nn-category-section {
  width: 100%;
  padding-block: var(--nn-section-y);
}

.nn-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nn-category-card__content {
  gap: 0.45rem;
}

.nn-category-card__content .nn-eyebrow {
  margin-bottom: 0.15rem;
}

.nn-category-card__content h3 {
  transition: transform 0.45s var(--nn-ease);
}

.nn-category-card:hover .nn-category-card__content h3 {
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   6. Closing feature — photo edge to edge, text on forest
   -------------------------------------------------------------------------- */
.nn-featured-moment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
  background-color: var(--nn-forest);
  background-image: var(--nn-grain);
  color: var(--nn-ivory-soft);
}

.nn-featured-moment__media {
  position: relative;
  min-height: clamp(380px, 38vw, 580px);
  overflow: hidden;
  background: var(--nn-sand-warm);
}

.nn-featured-moment__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 50%;
}

.nn-featured-moment__content {
  align-self: center;
  max-width: 36rem;
  padding: clamp(3rem, 6vw, 5rem) var(--nn-gutter);
  padding-inline-start: clamp(2rem, 6vw, 5.5rem);
}

.nn-featured-moment__content h2 {
  margin-bottom: 1rem;
  color: var(--nn-ivory);
}

.nn-featured-moment__content p:not(.nn-eyebrow) {
  margin-bottom: 2rem;
  color: var(--nn-ivory-soft);
}

.nn-featured-moment__content .nn-eyebrow {
  color: var(--nn-kraft);
}

.nn-featured-moment :focus-visible {
  outline-color: var(--nn-kraft);
}

/* --------------------------------------------------------------------------
   7. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .nn-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .nn-product-grid {
    grid-template-columns: minmax(0, 1fr);
    width: min(100% - 2 * var(--nn-gutter), 30rem);
  }

  .nn-featured-moment {
    grid-template-columns: minmax(0, 1fr);
  }

  .nn-featured-moment__media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .nn-featured-moment__content {
    padding-inline: var(--nn-gutter);
  }
}

@media (max-width: 480px) {
  .nn-category-grid {
    gap: 0.9rem;
  }

  .nn-category-card__content {
    padding: 1rem 1rem 1.15rem;
  }

  .nn-category-card__content h3 {
    font-size: 1.25rem;
  }
}

/* --------------------------------------------------------------------------
   8. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .nn-stamp__spin {
    animation: none !important;
  }

  .nn-product-card:hover,
  .nn-product-card:focus-within,
  .nn-category-card:hover,
  .nn-category-card:focus-within {
    transform: none;
  }
}
