/* Remember My Gift: the start page (v5, 2026-10-29). Built from the approved prototype (tools/rmg/data/proto-start/start-proto.html,
   Rohit: "Love it", "Do it"). A night "stage" holds a live sketch of the film (left on desktop, top on phone); a sheet asks one
   thing per screen, in three parts. Tokens come from styles.css (DESIGN.md v4); every class here starts with ns- so nothing
   collides with the shared rules. The film frame is always dark, in both themes. */

.ns-page {
  --ns-card: var(--white); --ns-field: var(--white); --ns-soft: rgba(224, 96, 84, .10);
  --ns-ease: cubic-bezier(.2, .7, .2, 1); --hdr: 56px; --tb: 60px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ns-page { --ns-card: #16232a; --ns-field: #0e181d; --ns-soft: rgba(224, 96, 84, .18); } }
:root[data-theme="dark"] .ns-page { --ns-card: #16232a; --ns-field: #0e181d; --ns-soft: rgba(224, 96, 84, .18); }

body.ns-page { background: var(--white); }
.ns-page :focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; border-radius: 8px; }

/* ---------- the site header sits on the night stage ---------- */
.ns-page .site-header { background: var(--night); border-bottom-color: transparent; }
.ns-page .site-header .nav a:not(.btn) { color: var(--on-night-2); }
.ns-page .site-header .nav a:not(.btn):hover { color: #fff; }
.ns-page .site-header .wordmark .logo-l { display: none; }
.ns-page .site-header .wordmark .logo-d { display: block; }
@media (min-width: 900px) { .ns-page .site-header .wrap { max-width: none; padding: 0 clamp(16px, 2.4vw, 32px); } } /* the logo lines up with the Back button */
@media (max-width: 899px) { .ns-page .site-header { position: relative; } }

/* ---------- the parts bar ---------- */
.ns-top { background: var(--night); color: var(--on-night); display: flex; align-items: center; gap: 14px; padding: 10px 16px 8px; }
@media (min-width: 900px) { .ns-top { position: sticky; top: var(--hdr); z-index: 30; padding: 10px clamp(16px, 2.4vw, 32px) 8px; } }
.ns-back { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-d); background: transparent; color: var(--on-night); display: grid; place-items: center; flex: none; cursor: pointer; padding: 0; }
.ns-back[disabled] { opacity: .3; cursor: default; }
.ns-parts { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; min-width: 0; max-width: 720px; }
.ns-part { min-width: 0; }
.ns-part .ns-bar { height: 4px; border-radius: 4px; background: var(--line-d); overflow: hidden; }
.ns-part .ns-bar i { display: block; height: 100%; width: 0; background: var(--glow); transition: width .5s var(--ns-ease); }
.ns-part span { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-night-2); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ns-part.now span { color: var(--on-night); }

/* ---------- layout ---------- */
.ns-app { flex: 1 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: calc(100dvh - var(--hdr) - var(--tb)); }
.ns-stage { background: var(--night); display: grid; place-items: center; padding: 28px clamp(16px, 4vw, 56px) 48px; position: sticky; top: calc(var(--hdr) + var(--tb)); height: calc(100dvh - var(--hdr) - var(--tb)); min-width: 0; }
.ns-sheet { padding-block: 44px 40px; padding-inline: clamp(16px, 5vw, 72px); min-width: 0; display: flex; flex-direction: column; background: var(--white); }
.ns-stage-inner { width: 100%; max-width: 760px; display: grid; gap: 14px; }
@media (max-width: 899px) {
  .ns-app { display: block; min-height: 0; }
  .ns-stage { position: relative; top: auto; height: auto; padding: 10px 16px 34px; }
  .ns-sheet { position: relative; margin-top: -20px; border-radius: 22px 22px 0 0; padding-block: 26px 36px; padding-inline: 16px; }
}

/* ---------- the film sketch ---------- */
.ns-film { position: relative; width: 100%; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 16px; overflow: hidden; background: #000; container-type: inline-size;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px var(--line-d); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ns-scene { position: absolute; inset: 0; opacity: 0; transition: opacity var(--xf, 600ms) ease; }
.ns-scene.on { opacity: 1; }
.ns-scene video, .ns-scene img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; filter: var(--grade, none); }
.ns-scene.ns-photo img { transform-origin: 60% 40%; }
.ns-scene.ns-photo.kb img { animation: ns-kb 6s ease-out forwards; }
@keyframes ns-kb { from { transform: scale(1.03); } to { transform: scale(1.14) translate(-2%, -1%); } }
.ns-film[data-look="cinematic"] .ns-scene.ns-clip.on video { animation: ns-push 7s ease-out forwards; }
@keyframes ns-push { from { transform: scale(1); } to { transform: scale(1.07); } }

.ns-scene.ns-title { background: var(--tc-bg); display: grid; place-items: center; text-align: center; padding: 6cqw; }
.ns-tc { display: grid; gap: 1.6cqw; justify-items: center; position: relative; z-index: 1; }
.ns-tc-line { font-family: var(--tc-font); font-weight: var(--tc-w, 400); font-size: var(--tc-size, 6.6cqw); line-height: 1.08; color: var(--tc-ink); letter-spacing: var(--tc-ls, -0.015em); text-transform: var(--tc-case, none); text-wrap: balance; max-width: 88cqw; font-variation-settings: "opsz" 72; }
.ns-tc-line .ch { display: inline-block; }
.ns-tc-line .wd { display: inline-block; white-space: nowrap; }
.ns-tc-line .ghost { opacity: .42; }
.ns-tc-sub { font-family: var(--font); font-size: max(11px, 2.3cqw); color: var(--tc-ink); opacity: .78; letter-spacing: .04em; }
.ns-faces { display: flex; justify-content: center; margin-top: 1.2cqw; min-height: 4.6cqw; }
.ns-faces b { width: max(20px, 4.6cqw); height: max(20px, 4.6cqw); border-radius: 50%; display: grid; place-items: center; font-size: max(9px, 1.9cqw); font-weight: 600; color: #fff; margin-left: -1cqw; border: .3cqw solid var(--tc-edge, #0b1317); animation: ns-faceIn .45s var(--ns-ease) both; }
.ns-faces b:first-child { margin-left: 0; }
@keyframes ns-faceIn { from { transform: scale(.4); opacity: 0; } }

.ns-lt { position: absolute; left: 4.5%; bottom: 8%; display: grid; gap: .3cqw; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .55); }
.ns-lt b { font-family: var(--lt-font, var(--display)); font-weight: var(--lt-w, 400); font-style: var(--lt-style, italic); font-size: 3.6cqw; line-height: 1.1; }
.ns-lt span { font-size: 1.9cqw; opacity: .85; letter-spacing: .05em; text-transform: uppercase; }
.ns-cap { position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%); width: 80%; text-align: center; font-family: var(--tc-font); font-weight: var(--tc-w, 400); text-transform: var(--tc-case, none); letter-spacing: var(--cap-ls, 0); font-size: 3.2cqw; line-height: 1.2; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .7); }
.ns-bars { position: absolute; inset: 0; pointer-events: none; }
.ns-bars::before, .ns-bars::after { content: ""; position: absolute; left: 0; right: 0; height: 0; background: #000; transition: height .9s var(--ns-ease); }
.ns-bars::before { top: 0; } .ns-bars::after { bottom: 0; }
.ns-film[data-look="cinematic"] .ns-bars::before, .ns-film[data-look="cinematic"] .ns-bars::after { height: 11%; }
.ns-grain { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; pointer-events: none; opacity: 0; mix-blend-mode: overlay; transition: opacity .4s; }
.ns-film[data-look="lofi"] .ns-grain { opacity: .38; }
.ns-dots { position: absolute; inset: 0; pointer-events: none; display: none; }
.ns-film[data-look="fun"] .ns-dots { display: block; }
.ns-dots i { position: absolute; top: -6%; width: 1.3cqw; height: 1.3cqw; border-radius: 50%; animation: ns-fall linear infinite; }
@keyframes ns-fall { to { transform: translateY(120cqw) rotate(240deg); } }
.ns-tag { position: absolute; right: 2.2%; top: 3.6%; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); background: rgba(0, 0, 0, .35); padding: 3px 7px; border-radius: 6px; z-index: 3; }
.ns-sound { position: absolute; left: 2.2%; top: 3.2%; z-index: 3; display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 12px; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .42); border: 1px solid rgba(255, 255, 255, .18); border-radius: 99px; padding: 5px 10px 5px 8px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: pointer; }
.ns-sound svg { width: 15px; height: 15px; }
.ns-swipe { position: absolute; inset: 0 auto 0 0; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 0 1.5%; pointer-events: none; z-index: 3; }
.ns-swipe button { pointer-events: auto; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: rgba(0, 0, 0, .38); color: #fff; display: grid; place-items: center; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: pointer; padding: 0; }
.ns-film:not(.picking) .ns-swipe { display: none; }

/* the four looks: music, colour and titles change together, in the sketch and in the real film (tools/tribute/scripts/lib/looks.mjs) */
.ns-film[data-look="warm"], .ns-sc.look[data-look="warm"] { --grade: sepia(.22) saturate(1.12) brightness(1.04); --xf: 900ms; --tc-bg: radial-gradient(120% 90% at 28% 18%, #4a2c1c 0%, #1a1310 45%, #0b1317 100%); --tc-ink: #fff3e3; --tc-font: var(--display); --tc-w: 400; --tc-edge: #1a1310; }
.ns-film[data-look="fun"], .ns-sc.look[data-look="fun"] { --grade: saturate(1.42) brightness(1.06) contrast(1.04); --xf: 220ms; --tc-bg: linear-gradient(135deg, #e06054 0%, #ef8a63 50%, #f6b878 100%); --tc-ink: #ffffff; --tc-font: var(--font); --tc-w: 700; --tc-ls: -0.03em; --tc-size: 7.4cqw; --lt-font: var(--font); --lt-w: 700; --lt-style: normal; --tc-edge: #e06054; }
.ns-film[data-look="cinematic"], .ns-sc.look[data-look="cinematic"] { --grade: contrast(1.15) saturate(.8) brightness(.93); --xf: 1300ms; --tc-bg: #000000; --tc-ink: #f2eee6; --tc-font: var(--display); --tc-w: 300; --tc-case: uppercase; --tc-ls: .22em; --tc-size: 4.2cqw; --cap-ls: .12em; --lt-style: normal; --lt-w: 300; --tc-edge: #000; }
.ns-film[data-look="lofi"], .ns-sc.look[data-look="lofi"] { --grade: saturate(.62) contrast(.9) brightness(1.06) sepia(.1); --xf: 480ms; --tc-bg: #2f3b3a; --tc-ink: #efe4cc; --tc-font: var(--font); --tc-w: 500; --tc-case: lowercase; --tc-ls: 0; --tc-size: 6cqw; --lt-font: var(--font); --lt-w: 500; --lt-style: normal; --tc-edge: #2f3b3a; }

/* title entrances, one per look */
.ns-anim.w .ch { animation: ns-rise .8s var(--ns-ease) both; animation-delay: calc(var(--i) * 120ms); }
@keyframes ns-rise { from { opacity: 0; transform: translateY(.45em); filter: blur(4px); } }
.ns-anim.f .ch { animation: ns-pop .55s cubic-bezier(.3, 1.7, .5, 1) both; animation-delay: calc(var(--i) * 32ms); }
@keyframes ns-pop { from { opacity: 0; transform: scale(.2) rotate(-12deg); } }
.ns-anim.c { animation: ns-track 2.4s ease-out both; }
@keyframes ns-track { from { opacity: 0; letter-spacing: .7em; } }
.ns-anim.l .ch { animation: ns-type 1ms both; animation-delay: calc(var(--i) * 55ms); }
@keyframes ns-type { from { opacity: 0; } to { opacity: 1; } }
.ns-anim.l::after { content: "_"; animation: ns-blink 1s steps(1) infinite; }
@keyframes ns-blink { 50% { opacity: 0; } }

/* the person's phone (questions screen) */
.ns-guest { width: min(340px, 100%); justify-self: center; background: var(--ns-card); color: var(--ink); border-radius: 34px; padding: 22px 20px 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 7px #1d2a30; display: grid; gap: 12px; animation: ns-sheetIn .5s var(--ns-ease) both; }
@keyframes ns-sheetIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.ns-guest .who { font-size: 13px; color: var(--ink-2); }
.ns-guest .for { font-family: var(--display); font-size: 25px; line-height: 1.1; letter-spacing: -0.015em; }
.ns-guest .qn { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--coral); font-weight: 600; margin-top: 6px; }
.ns-guest .q { font-family: var(--display); font-size: 21px; line-height: 1.25; min-height: 3.75em; overflow-wrap: anywhere; }
.ns-guest .rec { height: 54px; border-radius: 14px; background: var(--coral); color: var(--coral-ink); font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 10px; }
.ns-guest .rec i { width: 14px; height: 14px; border-radius: 50%; background: var(--coral-ink); }
.ns-guest .fine { font-size: 13px; color: var(--ink-2); text-align: center; }
.ns-guest .qdots { display: flex; gap: 6px; justify-content: center; }
.ns-guest .qdots b { width: 7px; height: 7px; border-radius: 50%; background: var(--rule); }
.ns-guest .qdots b.on { background: var(--coral); }
.ns-stage-cap { color: var(--on-night-2); font-size: 14px; text-align: center; margin: 0; }

/* ---------- sheet screens ---------- */
.ns-screen { display: grid; gap: 18px; align-content: start; max-width: 560px; width: 100%; animation: ns-screenIn .45s var(--ns-ease) both; }
@keyframes ns-screenIn { from { opacity: 0; transform: translateY(14px); } }
.ns-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); }
.ns-sheet h1, .ns-sheet h2, .ns-over h2 { font-family: var(--display); font-weight: 400; letter-spacing: -0.015em; line-height: 1.08; margin: 0; text-wrap: balance; font-variation-settings: "opsz" 72; }
.ns-sheet h1 { font-size: clamp(38px, 5.2vw, 60px); }
.ns-sheet h2 { font-size: clamp(30px, 3.6vw, 44px); }
/* the warm words: on the white sheet the darker .glow-ink gradient (styles.css), on night the --glow itself */
.ns-sheet h1 em, .ns-sheet h2 em { font-style: italic; background: linear-gradient(90deg, #d4513f 0%, #e07a3a 60%, #c98a1c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .05em; }
:root[data-theme="dark"] .ns-sheet h1 em, :root[data-theme="dark"] .ns-sheet h2 em { background: var(--glow); -webkit-background-clip: text; background-clip: text; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ns-sheet h1 em, :root:not([data-theme="light"]) .ns-sheet h2 em { background: var(--glow); -webkit-background-clip: text; background-clip: text; } }
.ns-lede { color: var(--ink-2); margin: 0; max-width: 46ch; }
.ns-fine { color: var(--ink-2); font-size: 14px; margin: 0; }
.ns-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ns-btn { height: 54px; padding: 0 24px; border-radius: 12px; border: 0; background: var(--coral); color: var(--coral-ink); font: inherit; font-weight: 600; font-size: 17px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: transform .15s, opacity .2s; cursor: pointer; text-decoration: none; }
.ns-btn:hover { color: var(--coral-ink); background: var(--coral-2); }
.ns-btn:active { transform: scale(.98); }
.ns-btn[disabled] { opacity: .45; cursor: default; }
.ns-btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--rule); }
.ns-btn.ghost:hover { border-color: var(--ink-2); }
.ns-link { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font: inherit; font-size: 15px; cursor: pointer; }
.ns-field { display: grid; gap: 6px; }
.ns-field > label, .ns-lbl { font-size: 14px; font-weight: 600; }
.ns-field label .opt { font-weight: 400; color: var(--ink-2); }
.ns-inp { height: 54px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); background: var(--ns-field); color: var(--ink); padding: 0 16px; font: inherit; font-size: 17px; width: 100%; min-width: 0; }
.ns-inp.big { height: 68px; font-family: var(--display); font-size: 28px; letter-spacing: -0.01em; }
textarea.ns-inp { height: auto; min-height: 92px; padding: 14px 16px; resize: vertical; line-height: 1.45; }
.ns-inp::placeholder { color: color-mix(in srgb, var(--ink-2) 70%, transparent); }
.ns-inp:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px var(--ns-soft); }
.ns-inp.bad { border-color: var(--err); }
select.ns-inp { appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235f6a70' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
input[type="date"].ns-inp { padding-right: 12px; }
.ns-err { color: var(--err); font-size: 14px; margin: 0; }

/* occasion tiles */
.ns-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ns-tile { min-height: 96px; border-radius: 16px; border: 1px solid var(--rule); background: var(--ns-card); color: var(--ink); display: grid; gap: 8px; align-content: center; justify-items: start; padding: 14px 16px; text-align: left; font: inherit; font-weight: 600; cursor: pointer;
  transition: border-color .2s, transform .2s var(--ns-ease), box-shadow .2s; animation: ns-tileIn .5s var(--ns-ease) both; animation-delay: calc(var(--i) * 40ms); }
@keyframes ns-tileIn { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.ns-tile svg { width: 28px; height: 28px; stroke: var(--coral); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s cubic-bezier(.3, 1.7, .5, 1); }
.ns-tile:hover svg { transform: translateY(-2px) rotate(-6deg); }
.ns-tile.on { border-color: var(--coral); box-shadow: 0 0 0 3px var(--ns-soft); }
.ns-tile.on svg { transform: scale(1.18); }
.ns-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ns-chip { border: 1px solid var(--rule); background: var(--ns-card); color: var(--ink); border-radius: 99px; padding: 8px 14px; font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
.ns-chip.on { border-color: var(--coral); background: var(--ns-soft); }

/* look picker */
.ns-looks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ns-lk { border: 1px solid var(--rule); background: var(--ns-card); color: var(--ink); border-radius: 14px; padding: 8px; display: grid; gap: 7px; text-align: left; min-width: 0; font: inherit; cursor: pointer; }
.ns-lk i { display: block; aspect-ratio: 16 / 10; border-radius: 9px; }
.ns-lk span { font-weight: 600; font-size: 14px; letter-spacing: -0.01em; overflow-wrap: anywhere; line-height: 1.2; }
@media (max-width: 420px) { .ns-lk span { font-size: 13px; } }
.ns-lk.on { border-color: var(--coral); box-shadow: 0 0 0 3px var(--ns-soft); }
.ns-lk[data-k="warm"] i { background: radial-gradient(120% 90% at 28% 18%, #a8643c, #3a2418 60%, #0b1317); }
.ns-lk[data-k="fun"] i { background: linear-gradient(135deg, #e06054, #f6b878); }
.ns-lk[data-k="cinematic"] i { background: linear-gradient(#000 0 18%, #3d434a 18% 82%, #000 82%); }
.ns-lk[data-k="lofi"] i { background: repeating-linear-gradient(45deg, #2f3b3a 0 3px, #384645 3px 6px); }
.ns-lookname { display: grid; gap: 2px; }
.ns-lookname strong { font-family: var(--display); font-size: 30px; font-weight: 400; line-height: 1.1; }
.ns-rec-chip { justify-self: start; font-size: 13px; font-weight: 600; color: var(--coral); background: var(--ns-soft); padding: 4px 10px; border-radius: 99px; }
.ns-song { display: grid; gap: 12px; padding: 16px; border-radius: 14px; background: var(--mist); }

/* questions */
.ns-qs { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.ns-qc { border: 1px solid var(--rule); background: var(--ns-card); border-radius: 16px; padding: 14px 14px 12px 16px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; animation: ns-tileIn .4s var(--ns-ease) both; }
.ns-qc.on { border-color: var(--coral); }
.ns-qc .n { font-family: var(--display); font-size: 22px; color: var(--coral); line-height: 1.2; }
.ns-qc .t { font-family: var(--display); font-size: 19px; line-height: 1.3; outline: none; min-width: 0; overflow-wrap: anywhere; cursor: text; }
.ns-qc .t:empty::before { content: attr(data-ph); color: var(--ink-2); }
.ns-qc .own { grid-column: 2; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--coral); }
.ns-qc .acts { grid-column: 2; display: flex; gap: 14px; }
.ns-qc .acts button { background: none; border: 0; padding: 4px 0; font: inherit; font-size: 14px; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.ns-qc .acts svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; }
#qAdd { justify-self: start; }

/* people */
.ns-add { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ns-add .ns-btn { width: 100%; }
.ns-add .ns-add-lang { grid-column: 1 / -1; }
.ns-people { display: flex; flex-wrap: wrap; gap: 8px; min-height: 8px; }
.ns-person { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--rule); background: var(--ns-card); border-radius: 99px; padding: 4px 6px 4px 4px; font-size: 15px; animation: ns-faceIn .4s var(--ns-ease) both; max-width: 100%; }
.ns-person > b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 12px; flex: none; }
.ns-person .pe { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); cursor: pointer; text-align: left; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ns-person.bad { border-color: var(--err); }
.ns-person small { color: var(--ink-2); font-size: 13px; }
.ns-person .px { border: 0; background: none; color: var(--ink-2); width: 24px; height: 24px; border-radius: 50%; font-size: 16px; line-height: 1; cursor: pointer; padding: 0; flex: none; }
.ns-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; cursor: pointer; }
.ns-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--coral); flex: none; }
.ns-check.bad { color: var(--err); }
.ns-meter { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; padding: 14px 16px; border-radius: 14px; background: var(--mist); }
.ns-meter div { display: grid; }
.ns-meter strong { font-family: var(--display); font-size: 34px; font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; }
.ns-meter span { font-size: 13px; color: var(--ink-2); }

/* 2026-11-01: their photo, the occasion nudge, recording first, texting the people with no email */
.ns-scene img.ns-tc-photo { width: max(48px, 13cqw); height: max(48px, 13cqw); flex: none; filter: none; border-radius: 50%; object-fit: cover; border: .5cqw solid var(--tc-ink); box-shadow: 0 1cqw 4cqw rgba(0, 0, 0, .35); animation: ns-faceIn .5s var(--ns-ease) both; }
.ns-photo-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ns-photo-thumb { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid var(--rule); }
.ns-nudge { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 6px; padding: 12px 14px; border-radius: 12px; background: var(--ns-soft); font-size: 15px; }
.ns-nudge > span { flex: 1 1 200px; min-width: 0; }
.ns-btn.small { height: 40px; padding: 0 16px; font-size: 15px; }
.ns-first { display: grid; gap: 8px; }
.ns-first .ns-btn { width: 100%; }
.ns-texts { padding: 16px; border-radius: 14px; background: var(--mist); }
.ns-text-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ns-text-list li { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.ns-text-list li > span { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.ns-text-list .ns-btn { height: 44px; padding: 0 16px; font-size: 15px; }

/* deadline timeline */
.ns-tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ns-tl li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; position: relative; padding-bottom: 14px; }
.ns-tl li::before { content: ""; position: absolute; left: 10px; top: 16px; bottom: -2px; width: 2px; background: var(--rule); }
.ns-tl li:last-child::before { display: none; }
.ns-tl li i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--coral); background: var(--white); position: relative; z-index: 1; }
.ns-tl li.key i { background: var(--coral); }
.ns-tl b { display: block; font-size: 15px; font-variant-numeric: tabular-nums; }
.ns-tl span { font-size: 14px; color: var(--ink-2); }

/* the Etsy banner, the notices, the help line */
.ns-sheet:not([data-at="hello"]) .order-banner { display: none !important; }
.ns-sheet .order-banner { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 22px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--rule); background: var(--mist); max-width: 560px; }
.ns-sheet .order-banner .ob-tick { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.ns-sheet .order-banner .ob-tick svg { width: 17px; height: 17px; }
.ns-sheet .order-banner strong { display: block; font-size: 1.02rem; color: var(--ink); }
.ns-sheet .order-banner span { display: block; margin-top: 2px; color: var(--ink-2); font-size: .95rem; }
.ns-sheet .notice { max-width: 560px; }
.ns-help { margin: auto 0 0; padding-top: 36px; font-size: 14px; color: var(--ink-2); max-width: 560px; }
.ns-help .ns-fine { display: block; margin-top: 10px; font-size: 13px; }
.ns-copy textarea.ns-inp { min-height: 120px; }

/* ---------- overlays: part intros and the recap story ---------- */
.ns-over { position: fixed; inset: 0; z-index: 60; background: var(--night); color: var(--on-night); display: grid; place-items: center; padding: 24px 16px; text-align: center; }
body.ns-overlay { overflow: hidden; }
body.ns-overlay .chat-launcher { display: none; }
.ns-inter { cursor: pointer; }
.ns-inter .k { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-2); animation: ns-rise .6s var(--ns-ease) both; }
.ns-inter h2 { font-size: clamp(40px, 8vw, 84px); margin-top: 10px; color: #fff; animation: ns-rise .8s var(--ns-ease) .12s both; }
.ns-inter .segs { display: flex; gap: 8px; justify-content: center; margin-top: 28px; }
.ns-inter .segs b { width: 54px; height: 4px; border-radius: 4px; background: var(--line-d); overflow: hidden; }
.ns-inter .segs b i { display: block; height: 100%; width: 0; background: var(--glow); }
.ns-inter .segs b.done i { width: 100%; }
.ns-inter .segs b.now i { animation: ns-fill 1.4s var(--ns-ease) .2s forwards; }
@keyframes ns-fill { to { width: 100%; } }
.ns-inter .tap { position: absolute; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); left: 0; right: 0; font-size: 13px; color: var(--on-night-2); }

.ns-story { padding: 0; place-items: stretch; }
.ns-story .bars2 { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); left: 16px; right: 16px; display: flex; gap: 5px; z-index: 3; }
.ns-story .bars2 b { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.ns-story .bars2 b i { display: block; height: 100%; width: 0; background: #fff; }
.ns-story .bars2 b.done i { width: 100%; }
.ns-story .bars2 b.now i { animation: ns-fill var(--dur, 2.8s) linear forwards; }
.ns-sc { position: absolute; inset: 0; display: grid; place-items: center; padding: 70px 22px 40px; text-align: center; overflow-y: auto; }
.ns-sc .k { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-night-2); animation: ns-rise .6s var(--ns-ease) both; }
.ns-sc .big { font-family: var(--display); font-size: clamp(56px, 14vw, 140px); line-height: 1; letter-spacing: -0.02em; background: var(--glow); -webkit-background-clip: text; background-clip: text; color: transparent; animation: ns-rise .9s var(--ns-ease) .1s both; padding: 0 .04em .08em; text-wrap: balance; overflow-wrap: anywhere; }
.ns-sc .mid { font-family: var(--display); font-size: clamp(34px, 7vw, 64px); line-height: 1.1; animation: ns-rise .8s var(--ns-ease) .1s both; text-wrap: balance; }
.ns-sc .sm { color: var(--on-night-2); margin-top: 12px; animation: ns-rise .8s var(--ns-ease) .25s both; max-width: 44ch; }
.ns-sc .stack { display: grid; gap: 8px; justify-items: center; }
.ns-sc svg.ic { width: 64px; height: 64px; stroke: #f6a48f; fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; animation: ns-pop .7s cubic-bezier(.3, 1.7, .5, 1) both; }
.ns-nums { display: flex; gap: clamp(22px, 6vw, 64px); justify-content: center; flex-wrap: wrap; }
.ns-nums div { display: grid; animation: ns-rise .7s var(--ns-ease) both; }
.ns-nums div:nth-child(2) { animation-delay: .15s; } .ns-nums div:nth-child(3) { animation-delay: .3s; }
.ns-nums strong { font-family: var(--display); font-weight: 300; font-size: clamp(54px, 12vw, 110px); line-height: 1; font-variant-numeric: tabular-nums; }
.ns-nums span { color: var(--on-night-2); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.ns-sc.look { background: var(--tc-bg); }
.ns-sc.look .lookword { font-family: var(--tc-font); font-weight: var(--tc-w); text-transform: var(--tc-case); letter-spacing: var(--tc-ls); color: var(--tc-ink); }
.ns-invite { background: var(--ns-card); color: var(--ink); border-radius: 20px; padding: 22px 22px 18px; max-width: 420px; width: 100%; text-align: left; display: grid; gap: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); animation: ns-sheetIn .6s var(--ns-ease) .1s both; }
.ns-invite .from { font-size: 13px; color: var(--ink-2); }
.ns-invite p { margin: 0; font-size: 16px; }
.ns-invite .fake { height: 46px; border-radius: 12px; background: var(--coral); color: var(--coral-ink); display: grid; place-items: center; font-weight: 600; font-size: 15px; }
.ns-final { display: grid; gap: 16px; justify-items: center; width: 100%; max-width: 440px; }
.ns-final .ns-btn { width: 100%; position: relative; z-index: 4; }
.ns-final .edit { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; position: relative; z-index: 4; }
.ns-final .edit button { background: none; border: 0; color: var(--on-night-2); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ns-final .edit button:hover { color: #fff; }
.ns-final .pay { margin: 0; font-size: 14px; color: var(--on-night-2); max-width: 40ch; }
.ns-final .pay strong { color: #fff; font-weight: 600; }
.ns-final .ns-err { color: #f08b82; position: relative; z-index: 4; }
.ns-story .hit { position: absolute; top: 0; bottom: 0; width: 30%; z-index: 2; background: none; border: 0; cursor: pointer; }
.ns-story .hit.l { left: 0; } .ns-story .hit.r { right: 0; }
.ns-story .x { position: absolute; top: calc(26px + env(safe-area-inset-top, 0px)); right: 14px; z-index: 5; background: none; border: 0; color: #fff; font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
canvas.ns-burst { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; pointer-events: none; z-index: 80; }

/* the chat button: on phones it would sit on the sheet's buttons, so it hides there and the "Ask us" link opens the same chat */
@media (max-width: 719px) { .ns-page .chat-launcher { display: none; } }
/* on a laptop it would cover the sheet's buttons, so it sits on the stage's empty bottom-left corner instead */
@media (min-width: 900px) { .ns-page .chat-launcher { right: auto; left: max(20px, env(safe-area-inset-left)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 6px 20px rgba(0, 0, 0, .3); } }
@media (min-width: 720px) and (max-width: 899px) { .ns-sheet { padding-bottom: 104px; } }

@media (prefers-reduced-motion: reduce) {
  .ns-page *, .ns-page *::before, .ns-page *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .ns-anim.l::after, .ns-dots { display: none !important; }
  .ns-scene.ns-photo.kb img, .ns-film[data-look="cinematic"] .ns-scene.ns-clip.on video { animation: none !important; }
}
