/* Home page. */

/* Hero — the toy pop-up book. The name on a paper label, girl or boy, a paper wheel for the story,
   and the book unfolds the scene. Drawn by assets/js/hero.js; the 760 × 612 stage is scaled to fit. */
.nm-hero { --pop-grain-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .3 -.1'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E"); --pop-light: linear-gradient(155deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 42%, rgba(110, 70, 20, .08));
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: min(100svh, 940px); padding: calc(var(--header-h) + clamp(8px, 1.6vw, 24px)) 0 clamp(40px, 5vw, 72px); background: radial-gradient(ellipse 70% 70% at var(--glow-x, 72%) 46%, #2E3D86 0%, var(--night) 52%, var(--night-3) 100%); }
.nm-hero::before { opacity: .035; -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse at 30% 40%, #000 0%, transparent 75%); }
.nm-pop__defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.nm-hero__grid { display: grid; width: 100%; column-gap: clamp(32px, 4.4vw, 64px); align-items: center; }
.nm-hero__head { grid-area: head; }
.nm-hero__title { font-size: var(--step-5); line-height: 1.04; margin: 0 0 .3em; color: var(--paper); }
.nm-hero__lead { max-width: 46ch; margin: 0; }
.nm-hero__cta { grid-area: cta; }

/* The name label, tied with string. The field is .nm-input--name, the choice .nm-choice */
.nm-nametag { grid-area: tag; position: relative; max-width: 440px; transform-origin: calc(100% - 30px) 50%; rotate: -1.4deg; }
.nm-nametag.is-swinging { animation: nm-swing 1.2s cubic-bezier(.3, .6, .4, 1); }
@keyframes nm-swing { 0% { rotate: -1.4deg; } 16% { rotate: 1.9deg; } 38% { rotate: -2.6deg; } 60% { rotate: .2deg; } 80% { rotate: -1.9deg; } 100% { rotate: -1.4deg; } }
.nm-nametag__body { filter: drop-shadow(0 3px 0 var(--sable-edge)) drop-shadow(0 18px 16px rgba(4, 7, 24, .55)); }
.nm-nametag__card { position: relative; display: grid; gap: .45rem; padding: 18px 76px 22px 26px; color: var(--ink); background-color: var(--sable); background-image: var(--paper-grain), var(--pop-light); clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% calc(100% - 44px), calc(100% - 44px) 100%, 0 100%); }
.nm-nametag__card::before { content: ""; position: absolute; left: 12px; top: 10px; bottom: 10px; border-left: 2px dashed rgba(26, 35, 80, .16); }
.nm-nametag__card > label { font-weight: 600; font-size: .98rem; line-height: 1.3; }
.nm-nametag .nm-error { min-height: 0; color: var(--danger); }
.nm-nametag .nm-error:empty { margin-top: -.45rem; }
.nm-nametag__eyelet { position: absolute; right: 20px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--night-3); box-shadow: 0 0 0 5px #E3B66A, 0 0 0 6px rgba(120, 70, 10, .55), inset 1px 3px 3px rgba(0, 0, 0, .7); }
.nm-nametag__twine { position: absolute; right: -14px; top: 50%; z-index: 2; width: 76px; height: 150px; margin-top: -30px; overflow: visible; pointer-events: none; }
.nm-nametag__twine path { stroke: #C9A876; stroke-width: 3.4; filter: drop-shadow(1px 2px 1px rgba(4, 7, 24, .45)); }
.nm-nametag__kid, .nm-wheel { min-width: 0; margin: 0; padding: 0; border: 0; }
.nm-nametag__kid { margin-top: 4px; }
.nm-nametag .nm-choice { background: rgba(127, 127, 160, .14); }
.nm-nametag .nm-choice label { white-space: nowrap; font-size: .98rem; color: var(--ink); }
.nm-nametag .nm-choice input:checked + label { color: var(--night); }
.nm-choice__face { flex: none; width: 34px; height: 34px; border-radius: 50%; background-color: var(--menthe); background-repeat: no-repeat; }
.nm-choice__face--girl { background-image: url('../img/art/character-child-800.webp'); background-size: 96px auto; background-position: -31px -13px; }
.nm-choice__face--boy { background-image: url('../img/art/character-boy-800.webp'); background-size: 100px auto; background-position: -32px -10px; }

/* The pop-up book */
.nm-pop { grid-area: stage; position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.nm-pop__wrap { position: relative; width: 100%; height: 560px; }
.nm-pop__stage { position: absolute; top: 0; left: 0; width: 760px; height: 620px; transform-origin: 0 0; perspective: 2000px; perspective-origin: 50% 34%; }
.nm-pop__lamp { position: absolute; left: 0; top: 80px; width: 760px; height: 540px; background: radial-gradient(closest-side, rgba(242, 182, 84, .22), rgba(242, 182, 84, .07) 55%, rgba(242, 182, 84, 0)); pointer-events: none; }
.nm-pop__book { position: absolute; left: 40px; top: 200px; width: 680px; height: 440px; transform-style: preserve-3d; transform: rotateX(58deg); }
.nm-pop__contact { position: absolute; left: -46px; top: -26px; width: 772px; height: 500px; border-radius: 44px; background: rgba(3, 5, 20, .75); filter: blur(26px); transform: translateZ(-26px); }
.nm-pop__board { position: absolute; left: -13px; top: -11px; width: 706px; height: 464px; border-radius: 9px; background-color: var(--night-2); background-image: var(--pop-grain-l); box-shadow: inset 0 0 0 3px rgba(242, 182, 84, .28); transform: translateZ(-12px); transform-style: preserve-3d; }
.nm-pop__board-edge { position: absolute; left: 4px; right: 4px; top: 100%; height: 9px; transform-origin: 50% 0; transform: rotateX(-90deg); background: #121941; border-radius: 0 0 6px 6px; }
.nm-pop__page { position: absolute; top: 0; width: 318px; height: 440px; background-color: var(--sable); transform-style: preserve-3d; }
.nm-pop__page::before { content: ""; position: absolute; inset: 0; background-image: var(--paper-grain); opacity: .6; }
/* page curvature: a soft highlight on the crown, shade into the gutter, light from the top left */
.nm-pop__page--l { left: 0; background-image: linear-gradient(90deg, rgba(26, 35, 80, .07), rgba(255, 255, 255, .2) 22%, rgba(255, 255, 255, 0) 48%, rgba(26, 35, 80, 0) 64%, rgba(26, 35, 80, .2)), linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 40%); }
.nm-pop__page--r { left: 362px; background-image: linear-gradient(270deg, rgba(26, 35, 80, .1), rgba(255, 255, 255, .14) 22%, rgba(255, 255, 255, 0) 48%, rgba(26, 35, 80, 0) 64%, rgba(26, 35, 80, .24)), linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 40%); }
.nm-pop__gutter { position: absolute; top: 0; width: 22px; height: 440px; }
.nm-pop__gutter--l { left: 318px; transform-origin: 0 50%; transform: rotateY(24deg); background: linear-gradient(90deg, #DCC7A5, #AE9470); }
.nm-pop__gutter--r { left: 340px; transform-origin: 100% 50%; transform: rotateY(-24deg); background: linear-gradient(270deg, #D2BC98, #A08763); }
.nm-pop__page-edge { position: absolute; left: 0; right: 0; top: 100%; height: 12px; transform-origin: 50% 0; transform: rotateX(-90deg); background: repeating-linear-gradient(180deg, #F8EFE1 0 1px, #D6C29F 1px 2px); }
.nm-pop__line { position: absolute; left: 30px; right: 22px; bottom: 13px; max-width: none; margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: var(--display-weight) 16px/1.2 var(--font-display); color: rgba(26, 35, 80, .82); }
.nm-pop__folio { position: absolute; right: 28px; bottom: 14px; font: var(--display-weight) 14px/1 var(--font-display); color: rgba(26, 35, 80, .7); }

/* Pop-up pieces: each is a cut card hinged on the page */
.nm-pop__piece { position: absolute; transform-style: preserve-3d; pointer-events: none; }
.nm-pop__piece.is-off { visibility: hidden; }
.nm-pop__card, .nm-pop__shadow { position: absolute; inset: 0; transform-origin: 50% 100%; }
.nm-pop__card { transform: translateZ(var(--z, 1px)) rotateX(0deg); opacity: 0; transition: transform .62s cubic-bezier(.55, 0, .8, .2) var(--dc, 0s), opacity .2s ease calc(var(--dc, 0s) + .42s); }
.nm-pop__shadow { transform: translateZ(.6px) skewX(-10deg) scaleY(.01); opacity: 0; transition: transform .62s cubic-bezier(.55, 0, .8, .2) var(--dc, 0s), opacity .3s ease var(--dc, 0s); }
.nm-pop__piece.is-up .nm-pop__card { transform: translateZ(var(--z, 1px)) rotateX(-90deg); opacity: 1; transition: transform 1.15s var(--ease-spring) var(--d, 0s), opacity .16s ease var(--d, 0s); }
.nm-pop__piece.is-up .nm-pop__shadow { transform: translateZ(.6px) skewX(-10deg) scaleY(var(--sl, .4)); opacity: 1; transition: transform 1.15s var(--ease-spring) var(--d, 0s), opacity .5s ease var(--d, 0s); }
/* the fold line where each card meets the page */
.nm-pop__piece::after { content: ""; position: absolute; left: 4%; right: 4%; top: 100%; height: 3px; margin-top: -1px; background: linear-gradient(180deg, rgba(26, 35, 80, .28), rgba(26, 35, 80, 0)); opacity: 0; transition: opacity .3s ease var(--dc, 0s); transform: translateZ(.4px); }
.nm-pop__piece.is-up::after { opacity: 1; transition-delay: var(--d, 0s); }
.nm-pop__piece svg { display: block; width: 100%; height: 100%; max-width: none; overflow: visible; }

/* The name banner */
.nm-pop__banner-card { display: flex; align-items: flex-end; justify-content: center; transform-style: preserve-3d; }
.nm-pop__letters { position: relative; display: inline-flex; align-items: center; justify-content: center; height: calc(var(--fs, 92px) * 1.06 + 12px); min-width: 200px; margin-bottom: 6px; padding: 0 44px; font-size: var(--fs, 92px); transform-style: preserve-3d; transition: font-size .35s ease, height .35s ease; }
.nm-pop__letters::before { content: ""; position: absolute; inset: 0; background-color: var(--apricot); background-image: var(--paper-grain), linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 32%, rgba(120, 60, 0, .14)); clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 50%, 100% 100%, 0 100%, 26px 50%); }
.nm-pop__letters::after { content: ""; position: absolute; left: 60px; right: 60px; top: 50%; border-top: 3px dashed rgba(26, 35, 80, .55); opacity: 0; transition: opacity .3s ease; }
.nm-pop__letters.is-empty::after { opacity: 1; }
.nm-pop__ch { position: relative; display: inline-block; white-space: pre; font-family: var(--font-display); font-weight: var(--display-weight); line-height: 1; padding-bottom: .08em; color: var(--paper); text-shadow: 0 3px 0 var(--night), 0 6px 0 var(--night), 0 12px 12px rgba(4, 7, 24, .35); transform-origin: 50% 88%; transform: translateZ(5px) rotateX(0deg) rotate(var(--r, 0deg)); transition: transform .75s cubic-bezier(.3, 1.75, .5, 1), opacity .2s ease; }
.nm-pop__ch.is-pre { transform: translateZ(5px) rotateX(-92deg) rotate(var(--r, 0deg)); opacity: 0; }
.nm-pop__ch.is-out { transform: translateZ(5px) rotateX(-92deg); opacity: 0; overflow: hidden; transition: transform .35s cubic-bezier(.55, 0, .8, .2), opacity .3s ease .05s, width .32s ease .14s; }
.nm-pop__banner-shadow { position: absolute; bottom: 4px; left: 50%; height: calc(var(--fs, 92px) * 1.06 + 16px); width: var(--bw, 330px); transform: translateX(-50%); background: rgba(4, 7, 24, .62); filter: blur(10px); border-radius: 12px; }

/* The child: a die-cut standee that turns on its pivot */
.nm-pop__kid .nm-pop__card { transform-style: preserve-3d; }
.nm-pop__spin { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(0deg); }
.nm-pop__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.nm-pop__face--boy { transform: rotateY(180deg); }
.nm-pop__face canvas, .nm-pop__kid-shadow canvas { position: absolute; left: 50%; bottom: 0; max-width: none; transform: translateX(-50%); }
.nm-pop__kid-shadow { position: absolute; inset: 0; transform-origin: 50% 100%; transform: scaleX(var(--cs, 1)); }
.nm-pop__kid-shadow canvas { transition: opacity .15s linear; }
.nm-pop__foot { position: absolute; left: 50%; top: 100%; width: 76px; height: 13px; margin-left: -38px; transform: translateZ(.8px); background-color: #F3E8D6; background-image: linear-gradient(180deg, rgba(26, 35, 80, .3), rgba(26, 35, 80, 0) 3px), var(--paper-grain); clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%); opacity: 0; transition: opacity .3s ease; }
.nm-pop__kid.is-up .nm-pop__foot { opacity: 1; transition-delay: var(--d, 0s); }

/* Under the book: the book's real title with the name */
.nm-pop__summary { position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 12px; max-width: none; margin: calc(var(--s, 1) * -4px) 0 0; min-height: 34px; font: var(--display-weight) var(--step-1)/1.3 var(--font-display); color: var(--paper); text-align: center; text-wrap: balance; }
.nm-pop__summary .nm-icon { width: 12px; height: 12px; color: var(--apricot); }

/* The paper wheel for the story */
.nm-hero__toys { grid-area: toys; position: relative; z-index: 3; display: flex; align-items: flex-start; justify-content: center; min-width: 0; }
.nm-wheel { position: relative; flex: none; width: 198px; height: 208px; }
.nm-wheel__ring { position: absolute; inset: -8px; border-radius: 18px; border: 3px solid var(--gold-2); opacity: 0; pointer-events: none; transition: opacity .15s ease; }
.nm-wheel:has(input:focus-visible) .nm-wheel__ring { opacity: 1; }
.nm-wheel__dial { position: absolute; inset: 0; touch-action: none; cursor: grab; -webkit-user-select: none; user-select: none; }
.nm-wheel__dial.is-dragging { cursor: grabbing; }
.nm-wheel__shadow { position: absolute; left: 6px; top: 22px; width: 196px; height: 196px; border-radius: 50%; background: rgba(3, 5, 20, .6); filter: blur(9px); }
.nm-wheel__disc { position: absolute; left: -2px; top: 10px; width: 200px; height: 200px; border-radius: 50%; transform: rotate(0deg); transition: transform .85s var(--ease-spring); will-change: transform; }
.nm-wheel__dial.is-dragging .nm-wheel__disc { transition: none; }
.nm-wheel__disc svg, .nm-wheel__cover svg { display: block; width: 100%; height: 100%; max-width: none; overflow: visible; }
.nm-wheel__cover { position: absolute; left: 23px; top: 0; width: 150px; height: 206px; filter: drop-shadow(0 2px 0 var(--sable-edge)) drop-shadow(0 10px 9px rgba(4, 7, 24, .55)); }
.nm-wheel .nm-pop-td { font-family: var(--font-display); font-weight: var(--display-weight); }
.nm-wheel .nm-pop-tu { font-family: var(--font-ui); font-weight: 600; }
.nm-wheel__pin { position: absolute; left: 88px; top: 100px; width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #FFF0C4, #E7B358 42%, #A86F1C 78%, #7D4F10); box-shadow: 1px 2px 2px rgba(4, 7, 24, .5), inset 0 -1px 1px rgba(80, 40, 0, .5); }
.nm-wheel__pin::after { content: ""; position: absolute; left: 4px; right: 4px; top: 9px; height: 2px; border-radius: 1px; background: rgba(90, 52, 0, .6); transform: rotate(-28deg); }
/* "Tournez", in the voice of .nm-kicker on night, until the wheel is used */
.nm-wheel__hint { position: absolute; z-index: 4; right: calc(100% + 2px); top: 72px; display: flex; align-items: center; gap: 4px; max-width: none; margin: 0; font: var(--display-weight) var(--step-1)/1 var(--font-display); color: var(--gold-2); white-space: nowrap; pointer-events: none; transition: opacity .45s ease, translate .45s ease; }
.nm-wheel__hint svg { width: 46px; height: 40px; overflow: visible; flex: none; }
.nm-wheel__hint path { fill: none; stroke: var(--gold-2); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.nm-wheel__hint.is-gone { opacity: 0; translate: 0 8px; }
.nm-wheel__hint span { animation: nm-nudge 2.4s ease-in-out .6s infinite; }
@keyframes nm-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* Desktop: title across the top, the child and the story on the left in the order of the studio,
   the book alone on the right, scaled to never run past the bottom of the screen. */
@media (min-width: 901px) {
  .nm-hero { --glow-x: 74%; }
  .nm-hero__grid { column-gap: clamp(20px, 3vw, 44px); row-gap: 24px; grid-template-columns: minmax(0, 472px) minmax(0, 1fr); grid-template-areas: "head head" "tag stage" "toys stage" "cta stage" ". stage"; grid-template-rows: auto auto auto auto 1fr; }
  .nm-hero__head { margin-bottom: clamp(8px, 1.4vw, 20px); }
  .nm-hero__title { font-size: clamp(2.5rem, 1.4rem + 2.6vw, 3.6rem); }
  .nm-hero__lead { max-width: 62ch; }
  .nm-pop { align-self: start; }
  .nm-hero__toys { justify-content: flex-start; }
  .nm-wheel__hint { right: auto; left: 214px; top: 78px; flex-direction: row-reverse; }
  .nm-wheel__hint svg { transform: scaleX(-1); }
}
@media (min-width: 901px) and (max-width: 1199px), (min-width: 901px) and (max-height: 780px) {
  .nm-wheel { zoom: .86; }
}
/* short laptop screens: a little tighter, so the button stays in view */
@media (min-width: 901px) and (max-height: 780px) {
  .nm-hero { padding-top: calc(var(--header-h) + 4px); }
  .nm-hero__title { font-size: clamp(2.2rem, 1.2rem + 2.2vw, 3rem); }
  .nm-hero__head { margin-bottom: 0; }
  .nm-hero__grid { row-gap: 16px; }
}
/* Phones and small tablets: one column, in the order of the studio */
@media (max-width: 900px) {
  .nm-hero { min-height: 0; padding-top: calc(var(--header-h) + 4px); }
  .nm-hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "stage" "sum" "tag" "toys" "cta"; }
  .nm-pop { display: contents; }
  .nm-pop__wrap { grid-area: stage; margin-top: 12px; }
  .nm-pop__summary { grid-area: sum; margin-top: 4px; font-size: var(--step-0); gap: 10px; }
  .nm-nametag { margin-top: 32px; max-width: none; }
  .nm-hero__toys { margin-top: 76px; }
  .nm-hero__cta { margin-top: 28px; }
  .nm-hero__cta .nm-btn { width: 100%; }
  .nm-wheel__hint { right: auto; left: -4px; top: -58px; flex-direction: row-reverse; }
  .nm-wheel__hint svg { transform: rotate(180deg) translateY(-12px); }
}
@media (max-width: 480px) {
  /* the eyelet moves to the top corner, so the field and the choice get the full width */
  .nm-nametag__card { padding-right: 24px; }
  .nm-nametag__eyelet { top: 28px; right: 24px; margin-top: 0; }
  .nm-nametag__twine { top: 28px; right: -10px; margin-top: -30px; }
  .nm-nametag .nm-choice label { gap: .4em; padding: .3rem .75rem .3rem .3rem; }
}
@media (max-width: 420px) {
  .nm-hero__toys { zoom: .9; }
}
@media (prefers-reduced-motion: reduce) {
  .nm-pop__card { transform: translateZ(var(--z, 1px)) rotateX(-90deg) !important; transition: opacity .35s ease !important; }
  .nm-pop__shadow { transform: translateZ(.6px) skewX(-10deg) scaleY(var(--sl, .4)) !important; transition: opacity .35s ease !important; }
  .nm-pop__ch, .nm-pop__letters, .nm-wheel__disc, .nm-wheel__ring, .nm-wheel__hint, .nm-pop__piece::after, .nm-pop__foot, .nm-nametag .nm-choice label { transition: none !important; }
  .nm-pop__spin { transform: none !important; }
  .nm-pop__face { transition: opacity .3s ease; }
  .nm-pop__face--boy { transform: none; opacity: 0; }
  .nm-pop__kid.is-boy .nm-pop__face--girl { opacity: 0; }
  .nm-pop__kid.is-boy .nm-pop__face--boy { opacity: 1; }
  .nm-nametag.is-swinging { animation: none; }
  .nm-wheel__hint span { animation: none; }
}

/* Explainer */
.nm-explainer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.nm-explainer__item h3 { margin-top: 22px; }
.nm-explainer__item p { color: var(--ink-soft); }
.nm-explainer__visual { position: relative; height: 240px; border-radius: var(--r-panel); overflow: hidden; display: grid; place-items: center; }
.nm-explainer__visual--page { background: var(--sable); }
.nm-mini-page { width: 78%; margin: 0; padding: 24px 26px; background: #FFFEFA; border-radius: 3px; box-shadow: var(--shadow-soft); font-family: var(--font-display); font-size: 1.02rem; line-height: 1.6; color: var(--ink); transform: rotate(-2deg); }
.nm-explainer__visual--faces { background: var(--menthe); grid-auto-flow: column; gap: 18px; align-content: center; justify-content: center; }
.nm-explainer__visual--faces .nm-polaroid { width: 118px; }
.nm-explainer__arrow { color: var(--apricot); }
.nm-explainer__arrow .nm-icon { width: 30px; height: 30px; }
.nm-explainer__visual--art img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .nm-explainer__grid { grid-template-columns: 1fr; } .nm-explainer__visual { height: 210px; } }

/* Family */
.nm-family__inner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.nm-family__photos { display: flex; gap: clamp(12px, 2vw, 22px); margin: 32px 0 16px; }
.nm-family__cta { margin-top: 24px; }
.nm-family__scene { position: relative; margin: 0; }
.nm-family__scene img { width: 100%; border-radius: var(--r-panel); box-shadow: var(--shadow-soft); }
@media (max-width: 900px) { .nm-family__inner { grid-template-columns: 1fr; } .nm-family__scene { order: -1; } }

/* Shelf */
.nm-shelf__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.nm-shelf__head h2 { margin-bottom: .25em; }
.nm-shelf__head .nm-lead { margin: 0; }
.nm-shelf__track { --pad: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); display: grid; grid-auto-flow: column; grid-auto-columns: clamp(232px, 24vw, 290px); gap: clamp(16px, 2vw, 28px); overflow-x: auto; padding: 28px var(--pad) 12px; scroll-padding-inline: var(--pad); scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--sable-deep) transparent; }
.nm-shelf__track > * { scroll-snap-align: start; }
.nm-shelf__track > [hidden] { display: none; }
.nm-shelf__nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.nm-shelf__btn { border: 1.5px solid var(--line); }
@media (max-width: 700px) { .nm-shelf__head { flex-direction: column; align-items: flex-start; } .nm-shelf__head .nm-btn { display: none; } .nm-shelf__nav { display: none; } }

/* Read */
.nm-read__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.nm-read__facts { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; font-weight: 600; }
.nm-read__facts li { display: flex; gap: 10px; align-items: center; }
.nm-read__facts .nm-icon { color: var(--zellige); }
@media (max-width: 900px) { .nm-read__inner { grid-template-columns: 1fr; } }

/* Steps */
.nm-steps__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); counter-reset: none; }
.nm-steps__item { position: relative; }
.nm-steps__item:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: 72px; right: -12px; border-top: 2px dashed var(--sable-deep); }
.nm-steps__num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--night); color: var(--gold-1); font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.6rem; margin-bottom: 18px; }
.nm-steps__item h3 { font-size: var(--step-1); }
.nm-steps__item p { color: var(--ink-soft); }
.nm-steps__cta { display: flex; align-items: center; justify-content: center; gap: 24px; margin: 40px auto 0; flex-wrap: wrap; }
@media (max-width: 900px) { .nm-steps__list { grid-template-columns: 1fr 1fr; } .nm-steps__item::after { display: none; } }
@media (max-width: 520px) { .nm-steps__list { grid-template-columns: 1fr; } }

/* Reviews */
.nm-reviews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.nm-reviews__more { margin-top: 28px; text-align: center; }

/* Occasions */
.nm-occasions__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 20px); }
.nm-occasion { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-panel); overflow: hidden; color: var(--paper); text-decoration: none; background: var(--night); }
.nm-occasion__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.nm-occasion:hover .nm-occasion__art { transform: scale(1.05); }
.nm-occasion::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 24, 57, 0) 35%, rgba(17, 24, 57, .85) 100%); }
.nm-occasion__text { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; display: grid; gap: 2px; }
.nm-occasion__text strong { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(1.2rem, 1.6vw, 1.5rem); line-height: 1.15; }
.nm-occasion__text span { font-size: .9rem; opacity: .85; }
@media (max-width: 860px) { .nm-occasions__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Promise */
.nm-promise__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--gold-2); color: var(--gold-1); margin-bottom: 18px; }
.nm-promise__icon .nm-icon { width: 26px; height: 26px; }
.nm-promise__item p { color: rgba(255, 253, 249, .78); }

/* FAQ */
.nm-home-faq__inner { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.nm-home-faq header { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 860px) { .nm-home-faq__inner { grid-template-columns: 1fr; } .nm-home-faq header { position: static; } }

/* Final call to action */
