/* Hallmark · shape: Night Shift (homepage v3 draft, 2026-11-09) · genre: modern-minimal · theme: brand (forest, night, mint, hot pink; Archivo, uppercase display; v3 study of sundayred.com 2026-11-10: flat grounds, square corners, no marquee) · job: buy or book a demo, actions in the hero, beside the calculator, on every plan and in the closing band · hero: the visitor's own local time in the headline beside the live example call · nav: the site header, unchanged · footer: the site footer, unchanged · signature: the page is set at the visitor's real time, shown on a 24-hour dial against an example front desk
 * critique: P5 H5 E4 S5 R4 V4 · weakest: E, no customer results or quotes exist yet, so the page runs on the visitor's own numbers and the product shown working
 * waive 62-motion-budget · the founder asked for an animation-led site; every motion stops under .rm (prefers-reduced-motion or ?reduce=1)
 * Layered after site.css on index.html only. Header, footer, plans, FAQ and the example call keep their site.css styles. */

:root {
  --ns-sky-1: rgba(61, 214, 168, .38);
  --ns-sky-2: rgba(45, 93, 74, .9);
  --ns-sky-3: rgba(184, 115, 51, .22);
  --ns-glass: rgba(234, 242, 238, .06);
  --ns-glass-line: rgba(234, 242, 238, .16);
  --ns-ring: rgba(61, 214, 168, .55);
  --ns-gap-stripe: rgba(180, 68, 30, .55);
  --ns-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}

/* 1. Hero */
.ns-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(48px, 7vw, 104px) 0 0; }
.ns-hero-grid { position: relative; z-index: 1; display: grid; gap: var(--s8); align-items: center; padding-bottom: clamp(56px, 7vw, 96px); }
@media (min-width: 1000px) { .ns-hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.ns-clock { display: none; align-items: center; gap: var(--s2); padding: 6px 14px 6px 10px; border: 1px solid var(--ns-glass-line); border-radius: 0; background: var(--ns-glass); font: 500 var(--fs-sm)/1 var(--mono); color: var(--night-ink); font-variant-numeric: tabular-nums; }
.js .ns-clock { display: inline-flex; }
.ns-live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.js:not(.rm) .ns-live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--mint); animation: ns-ping 1.8s var(--ease) 3; }
@keyframes ns-ping { to { transform: scale(2.8); opacity: 0; } }
.ns-h1 { margin-top: var(--s5); font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: clamp(2.6rem, 1.2rem + 4.6vw, 5.6rem); line-height: .94; letter-spacing: -.025em; color: var(--night-ink); overflow-wrap: break-word; min-width: 0; }
.ns-mint { display: block; color: var(--mint); }
.ns-mint [data-now] { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ns-hero .lede { margin-top: var(--s5); max-width: 34rem; }
.ns-hero .cta-row { margin-top: var(--s6); }
.ns-hero .terms-line { margin-top: var(--s5); }
.ns-phone { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; }
.ns-phone .call { position: relative; color: var(--ink); border-color: var(--ns-glass-line); box-shadow: var(--ns-shadow); }
.ns-phone .call .chip { color: var(--mint-ink); }
.ns-phone .call-caption { color: var(--night-muted); }

.ns-ribbon-row { position: relative; z-index: 1; display: flex; align-items: center; border-top: 1px solid var(--night-line); }
.ns-ribbon { position: relative; flex: 1; min-width: 0; overflow: hidden; }
.ns-ribbon-track { display: flex; width: max-content; gap: var(--s8); padding: var(--s4) var(--gutter); font: 600 var(--fs-h4)/1 var(--display); letter-spacing: -.01em; color: var(--night-muted); white-space: nowrap; }
.ns-ribbon-track span:nth-child(3n+1) { color: var(--copper-night); }

/* 2. The 24-hour dial */
.ns-dial-grid { display: grid; gap: var(--s8); align-items: center; }
@media (min-width: 960px) { .ns-dial-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } }
.ns-dial-key { display: grid; gap: var(--s3); margin-top: var(--s6); }
.ns-dial-key div { display: grid; gap: 2px; padding-top: var(--s3); border-top: 1px solid var(--line); }
.ns-dial-key dt { display: flex; align-items: center; gap: var(--s3); font-weight: 600; }
.ns-dial-key dd { margin: 0 0 0 26px; font-size: var(--fs-sm); color: var(--muted); }
.ns-dial-key i { width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0; }
.k-team { background: var(--ink-2); }
.k-gap { background: repeating-linear-gradient(-45deg, var(--signal-soft) 0 3px, transparent 3px 6px); border: 1px solid var(--signal); }
.k-cc { background: var(--forest); }
.ns-dial { position: relative; margin: 0 auto; width: min(100%, 460px); aspect-ratio: 1; }
.ns-dial svg { width: 100%; height: 100%; overflow: visible; }
.ns-dial circle { fill: none; transform-origin: 200px 200px; transform: rotate(-90deg); }
.d-gap { stroke: var(--ns-gap-stripe); stroke-width: 22; stroke-dasharray: .12 .13; }
.d-team { stroke: var(--ink-2); stroke-width: 26; stroke-dasharray: 4 20; }
.d-cc { stroke: var(--forest); stroke-width: 26; stroke-dasharray: 24 24; stroke-dashoffset: 0; }
.js:not(.rm) .ns-dial .d-cc { stroke-dashoffset: 24; transition: stroke-dashoffset 1.8s var(--ease) .2s; }
.js:not(.rm) .ns-dial.is-in .d-cc { stroke-dashoffset: 0; }
.d-ticks line { stroke: var(--line-2); stroke-width: 1.5; }
.d-hand line { stroke: var(--copper); stroke-width: 3; stroke-linecap: round; }
.d-hand circle { fill: var(--copper); stroke: var(--paper); stroke-width: 3; transform: none; }
.d-hr { font: 500 12px var(--mono); fill: var(--muted); text-anchor: middle; }
.ns-dial-now { position: absolute; inset: 31%; display: grid; place-content: center; gap: 4px; text-align: center; font-size: var(--fs-sm); color: var(--ink-2); }
.ns-dial-now b { font: 600 clamp(1.5rem, 1rem + 1.6vw, 2.1rem)/1 var(--mono); color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ns-dial-now .cc { color: var(--mint-ink); font-weight: 600; }

/* 3. Missed-call meter */
.ns-meter-sec { position: relative; overflow: hidden; }
.ns-meter { display: grid; gap: var(--s8); align-items: center; }
@media (min-width: 960px) { .ns-meter { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.ns-meter .h2 { color: var(--night-ink); }
.ns-inputs { display: grid; gap: var(--s6); margin-top: var(--s7); }
.ns-field label { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); font-weight: 500; color: var(--night-ink); }
.ns-field output { font: 600 var(--fs-h4)/1 var(--mono); color: var(--mint); font-variant-numeric: tabular-nums; }
.ns-field input[type="range"] { width: 100%; height: 32px; margin-top: var(--s2); padding: 0; border: 0; background: transparent; accent-color: var(--mint); cursor: pointer; appearance: none; -webkit-appearance: none; }
.ns-field input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--mint) var(--fill, 10%), var(--night-line) var(--fill, 10%)); }
.ns-field input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--night-line); }
.ns-field input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--mint); }
.ns-field input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--night-ink); border: 4px solid var(--mint); transition: transform var(--t-fast) var(--ease); }
.ns-field input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--night-ink); border: 4px solid var(--mint); }
.ns-field input[type="range"]:hover::-webkit-slider-thumb, .ns-field input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.ns-field input[type="range"]:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; border-radius: 8px; }
.ns-readout { padding: var(--s7) var(--s6); border: 1px solid var(--ns-glass-line); border-radius: var(--r-device); background: var(--ns-glass); box-shadow: var(--ns-shadow); }
.ns-readout-label { color: var(--night-muted); font-size: var(--fs-sm); }
.ns-big { margin-top: var(--s2); font: 500 clamp(3.2rem, 2rem + 4vw, 5.4rem)/1 var(--display); letter-spacing: -.03em; color: var(--night-ink); font-variant-numeric: tabular-nums; }
.ns-readout-sub { margin-top: var(--s3); color: var(--night-muted); }
.ns-readout-sub span { color: var(--night-ink); font-family: var(--mono); }
.ns-be { display: grid; gap: var(--s4); justify-items: start; margin-top: var(--s6); padding-top: var(--s6); border-top: 1px solid var(--night-line); }
.ns-be strong { color: var(--mint); font: 600 1.4em/1 var(--mono); }
.ns-fine { margin-top: var(--s5); color: var(--night-muted); }

/* 4. One call, four things: a pinned stage that changes as the steps scroll by */
.ns-flow-grid { display: grid; gap: var(--s6); margin-top: var(--s7); }
@media (min-width: 900px) { .ns-flow-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s9); } }
.ns-stage { position: relative; display: grid; gap: var(--s4); }
.ns-panel { display: grid; gap: var(--s3); align-content: center; justify-items: center; min-height: 260px; padding: var(--s6); border-radius: var(--r-device); background: var(--night); color: var(--night-ink); text-align: center; box-shadow: var(--raise); }
.ns-panel em { font-style: normal; font-size: var(--fs-sm); color: var(--night-muted); }
.ns-panel b { font: 600 var(--fs-h3)/1.1 var(--display); }
.ns-panel.p1 { position: relative; isolation: isolate; }
.ns-panel.p1 > span { font-family: var(--mono); color: var(--mint); }
.bub { max-width: 85%; padding: var(--s3) var(--s4); border-radius: 0; text-align: left; font-size: var(--fs-md); }
.bub.them { justify-self: start; background: var(--night-2); border: 1px solid var(--night-line); }
.bub.us { justify-self: end; background: var(--mint); color: var(--night); }
.bub.sms { background: var(--night-ink); color: var(--ink); }
.cal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; width: min(100%, 320px); font-size: var(--fs-xs); color: var(--night-muted); }
.cal i { height: 34px; border-radius: 0; background: var(--night-2); border: 1px solid var(--night-line); font: 600 var(--fs-xs)/32px var(--mono); font-style: normal; }
.cal i.x { background: repeating-linear-gradient(-45deg, var(--night-line) 0 3px, transparent 3px 6px); }
.cal i.on { background: var(--mint); color: var(--night); border-color: var(--mint); }
.ns-steps { list-style: none; margin: 0; padding: 0; }
.ns-steps li { padding: var(--s6) 0; border-top: 1px solid var(--line); }
.ns-steps h3 { margin-top: var(--s2); font: 600 var(--fs-h3)/1.15 var(--display); letter-spacing: -.02em; }
.ns-steps p { margin-top: var(--s2); color: var(--ink-2); max-width: 30rem; }
/* With script: one panel at a time on a pinned stage, the active step lit */
.js .ns-stage { position: sticky; top: 88px; z-index: 1; align-self: start; display: block; min-height: 300px; }
.js .ns-panel { position: absolute; inset: 0; min-height: 0; opacity: 0; }
.js:not(.rm) .ns-panel { transform: translateY(12px) scale(.98); transition: opacity 420ms var(--ease), transform 420ms var(--ease); }
.js .ns-stage[data-stage="1"] .p1, .js .ns-stage[data-stage="2"] .p2, .js .ns-stage[data-stage="3"] .p3, .js .ns-stage[data-stage="4"] .p4 { opacity: 1; transform: none; }
.js:not(.rm) .ns-steps li { transition: opacity 300ms var(--ease); }
.js .ns-steps li:not(.is-on) { opacity: .4; }
@media (min-width: 900px) { .js .ns-steps li { min-height: 46vh; display: flex; flex-direction: column; justify-content: center; } .js .ns-stage { top: 120px; min-height: 380px; } }
/* Phones: four stacked step cards (home.js copies each panel into its step) */
.ns-flow-grid.is-stacked { gap: 0; }
.ns-flow-grid.is-stacked .ns-stage { display: none; }
.ns-flow-grid.is-stacked .ns-steps li { min-height: 0; display: block; padding: var(--s6) 0; opacity: 1; }
.ns-flow-grid.is-stacked .ns-steps li:first-child { border-top: 0; padding-top: 0; }
.js .ns-flow-grid.is-stacked .ns-steps .ns-panel { position: static; opacity: 1; transform: none; min-height: 200px; margin-bottom: var(--s5); box-shadow: none; }
.ns-flow-grid.is-stacked .ns-steps .ns-panel .cal { width: 100%; }

/* 5. Industries: example calls in a draggable, slowly moving carousel */
.ns-ind-sec { overflow: clip; }
.ns-ind-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s6); }
.ns-ind-ctl { display: flex; gap: var(--s2); }
.ns-round { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 0; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.ns-round svg { width: 20px; height: 20px; }
.ns-round:hover { background: var(--forest); border-color: var(--forest); color: var(--surface); }
.ns-round:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.ns-ind { margin-top: var(--s7); padding: 0 var(--gutter) var(--s2); }
.ns-ind:not(.swiper-initialized) .swiper-wrapper { display: flex; gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s3); }
.ns-ind .swiper-slide { flex: 0 0 auto; width: clamp(270px, 28vw, 360px); height: auto; scroll-snap-align: start; }
.ns-card { display: flex; flex-direction: column; gap: var(--s3); height: 100%; min-height: 330px; padding: var(--s6); border-radius: var(--r-panel); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; box-shadow: 0 1px 2px rgba(10, 30, 24, .04); transition: border-color var(--t-fast) var(--ease), box-shadow 300ms var(--ease); }
.ns-card:hover { border-color: var(--forest); box-shadow: var(--raise); }
.js:not(.rm) .ns-card { transition: border-color var(--t-fast) var(--ease), box-shadow 300ms var(--ease), translate 300ms var(--ease); }
.js:not(.rm) .ns-card:hover { translate: 0 -4px; }
.ns-card:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.ns-card h3 { font: 500 var(--fs-h3)/1 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.ns-card .q { font: 500 var(--fs-h4)/1.3 var(--display); color: var(--forest); }
.ns-card .a { color: var(--ink-2); font-size: var(--fs-md); flex: 1; }
.ns-card .go { font-size: var(--fs-sm); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.ns-ind-bar.swiper-pagination { position: relative; inset: auto; width: auto; height: 4px; margin: var(--s6) 0 0; border-radius: 4px; background: var(--line); overflow: hidden; }
.ns-ind-bar .swiper-pagination-progressbar-fill { background: var(--forest); }
.ns-ind-note { margin-top: var(--s3); }

/* 6. Pricing: Complete sits beside the three receptionist plans on night, edged in copper */
.ns-plans .plan.is-complete { background: var(--night); color: var(--night-ink); border-radius: var(--r-panel); box-shadow: inset 0 0 0 1px var(--copper-night); }
.ns-plans .plan.is-complete + .plan, .ns-plans .plan + .plan.is-complete { border-color: transparent; }
.ns-plans .plan.is-complete .plan-flag { background: var(--copper-night); color: var(--night); }
.ns-plans .plan.is-complete .price span, .ns-plans .plan.is-complete .plan-meta { color: var(--night-muted); }
.ns-plans .plan.is-complete .plan-meta .mono { color: var(--night-ink); }
.ns-plans .plan.is-complete .check-list { border-top-color: var(--night-line); }
.ns-plans .plan.is-complete .btn-primary { background: var(--copper-night); color: var(--night); }
.ns-plans .plan.is-complete .btn-primary:hover { background: var(--night-ink); }
.ns-plans .plan.is-complete .link-arrow { color: var(--night-ink); }
.ns-plans .plan.is-complete :focus-visible { outline-color: var(--copper-night); }

/* Pricing path */
.ns-path { list-style: none; display: grid; gap: var(--s4); margin: var(--s7) 0 0; padding: 0; counter-reset: p; }
@media (min-width: 800px) { .ns-path { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ns-path li { counter-increment: p; display: grid; gap: var(--s1); padding-top: var(--s4); border-top: 2px solid var(--copper); }
.ns-path li::before { content: "0" counter(p); font: 600 var(--fs-sm)/1 var(--mono); color: var(--copper-ink); }
.ns-path b { font-weight: 600; }
.ns-path span { font-size: var(--fs-sm); color: var(--muted); }

/* 7. Closing band */
.ns-end { position: relative; isolation: isolate; overflow: hidden; padding: clamp(88px, 12vw, 168px) 0; text-align: center; }
.ns-end-in { position: relative; z-index: 1; display: grid; justify-items: center; gap: var(--s5); }
.ns-end-h { max-width: 16ch; font: 500 clamp(2.3rem, 1.1rem + 3.8vw, 4.6rem)/.96 var(--display); text-transform: uppercase; letter-spacing: -.025em; color: var(--night-ink); overflow-wrap: break-word; min-width: 0; }
.ns-end .lede { margin-inline: auto; }
.ns-end-cta { position: relative; isolation: isolate; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); margin-top: var(--s3); }
.ns-end .terms-line { justify-content: center; }

/* Gentle reveals on this page only */
.js:not(.rm) .ns-dial-sec .reveal, .js:not(.rm) .ns-meter-sec .reveal, .js:not(.rm) .ns-ind-sec .reveal, .js:not(.rm) .ns-end .reveal, .js:not(.rm) .ns-flow .reveal, .js:not(.rm) .ns-path { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js:not(.rm) .ns-dial-sec .reveal.is-in, .js:not(.rm) .ns-meter-sec .reveal.is-in, .js:not(.rm) .ns-ind-sec .reveal.is-in, .js:not(.rm) .ns-end .reveal.is-in, .js:not(.rm) .ns-flow .reveal.is-in, .js:not(.rm) .ns-path.is-in { opacity: 1; transform: none; }
.js:not(.rm) .ns-meter-sec .ns-readout.reveal { transition-delay: 120ms; }

@media (prefers-reduced-motion: reduce) {
  .ns-live::after { animation: none !important; }
  .ns-dial .d-cc, .ns-panel, .ns-steps li, .ns-card { transition: none !important; }
}
