/* ==========================================================================
   Neighbourhood Pro — bespoke home-services (trades) concept
   Only used by /concepts/home/. Shares no rules with local-concept.css.

   Type is Inter alone: this business speaks in numbers, ranges and time
   windows, so the page reads like a work docket rather than a brochure.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Contrast values below are measured against #ffffff and #edf3f7. */
  --np-ink: #162337;          /* 15.79:1 on white                          */
  --np-ink-2: #1d3252;
  --np-ink-3: #24406a;
  --np-paper: #edf3f7;
  --np-paper-deep: #dde8f0;
  --np-card: #ffffff;
  --np-accent: #246bd4;       /*  5.08:1 on white                          */
  --np-accent-deep: #1f5cb8;  /*  6.40:1 on white — button surface         */
  --np-accent-ink: #1a56b0;   /*  6.99:1 on white, 6.25:1 on paper — text  */
  --np-accent2: #b9d5ff;      /* 10.55:1 on ink                            */
  --np-muted: #4d5f78;        /*  6.56:1 on white, 5.86:1 on paper         */
  --np-go: #1f7a4d;           /*  5.32:1 on white, 4.75:1 on paper         */
  --np-warn: #8a5300;         /*  6.38:1 on white                          */
  --np-stop: #b3261e;         /*  6.54:1 on white, 5.84:1 on paper         */
  --np-on-ink: #ffffff;
  --np-on-ink-soft: #b9cbe2;  /*  9.55:1 on ink                            */
  --np-line: rgba(22, 35, 55, 0.14);
  --np-line-strong: rgba(22, 35, 55, 0.3);
  --np-line-dark: rgba(185, 213, 255, 0.24);
  --np-shadow-sm: 0 4px 14px rgba(22, 35, 55, 0.07);
  --np-shadow: 0 18px 46px rgba(22, 35, 55, 0.1);
  --np-shadow-lg: 0 30px 80px rgba(22, 35, 55, 0.18);
  --np-focus: #0f3f8f;
  --np-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --np-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, monospace;
  --np-radius: 0.9rem;
  --np-radius-lg: 1.4rem;
  --np-pad: clamp(1.1rem, 4vw, 4.5rem);
  --np-gap: clamp(2.6rem, 5vw, 5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 0;
  min-height: 100svh;
  overflow-x: clip;
  background: var(--np-paper);
  color: var(--np-ink);
  font-family: var(--np-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.is-menu-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.05;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.3rem, 4.9vw, 3.9rem);
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.9rem);
}

h3 {
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h4 {
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

legend {
  padding: 0;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--np-focus);
  outline-offset: 3px;
  border-radius: 0.3rem;
}

::selection {
  background: var(--np-accent2);
  color: var(--np-ink);
}

/* ------------------------------------------------------------- utilities -- */

.np-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.np-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.np-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.np-skip {
  position: fixed;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 200;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  background: var(--np-ink);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-230%);
  transition: transform 160ms ease;
}

.np-skip:focus {
  transform: translateY(0);
}

.np-eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--np-accent-ink);
}

.np-eyebrow--dark {
  color: var(--np-accent2);
}

.np-eyebrow--step {
  margin-bottom: 0.4rem;
}

.np-fine {
  color: var(--np-muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.np-fine--dark {
  color: var(--np-on-ink-soft);
}

.np-dot {
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 0.22rem rgba(61, 220, 132, 0.22);
}

.np-onnow .np-dot,
.np-hero .np-dot {
  background: var(--np-go);
  box-shadow: 0 0 0 0.22rem rgba(31, 122, 77, 0.18);
}

.is-closed .np-dot {
  background: var(--np-warn);
  box-shadow: 0 0 0 0.22rem rgba(138, 83, 0, 0.18);
}

/* --------------------------------------------------------------- buttons -- */

.np-btn {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.3rem;
  border: 1px solid var(--np-accent-deep);
  border-radius: 0.6rem;
  background: var(--np-accent-deep);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 720;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.np-btn:hover {
  background: #17488f;
  border-color: #17488f;
  box-shadow: 0 12px 26px rgba(22, 35, 55, 0.22);
  transform: translateY(-2px);
}

.np-btn:active {
  transform: translateY(0) scale(0.99);
}

.np-btn--sm {
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
}

.np-btn--full {
  width: 100%;
}

.np-btn--ghost {
  border-color: var(--np-line-strong);
  background: transparent;
  color: var(--np-ink);
}

.np-btn--ghost:hover {
  border-color: var(--np-ink);
  background: rgba(22, 35, 55, 0.06);
  box-shadow: none;
  color: var(--np-ink);
}

.np-btn--light {
  border-color: #fff;
  background: #fff;
  color: var(--np-ink);
}

.np-btn--light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--np-ink);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

.np-btn[disabled],
.np-btn[aria-disabled="true"] {
  opacity: 0.42;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* ----------------------------------------------------------- preview bar -- */

.np-preview {
  position: relative;
  z-index: 90;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.15rem var(--np-pad);
  background: var(--np-ink);
  color: var(--np-on-ink-soft);
  font-size: 0.7rem;
  font-weight: 620;
}

.np-preview a {
  min-height: 2.75rem;
  min-width: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  text-decoration: none;
}

.np-preview a:hover {
  text-decoration: underline;
}

.np-preview :focus-visible {
  outline-color: var(--np-accent2);
}

.np-preview__note {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
}

.np-preview .np-icon {
  width: 0.9rem;
  height: 0.9rem;
}

/* ---------------------------------------------------------------- header -- */

/* The header sits on its own opaque surface rather than floating over
   artwork, so one text colour is legible across the entire strip. */
.np-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem var(--np-pad);
  border-bottom: 1px solid var(--np-line);
  background: color-mix(in srgb, var(--np-card) 94%, transparent);
  box-shadow: 0 1px 0 rgba(22, 35, 55, 0.03);
}

@supports (backdrop-filter: blur(1px)) {
  .np-header {
    backdrop-filter: saturate(1.4) blur(12px);
  }
}

.np-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.25rem 0.4rem 0.25rem 0;
  color: var(--np-ink);
  text-decoration: none;
}

.np-brand__mark {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: 0.55rem;
  background: var(--np-ink);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.np-brand__text {
  display: grid;
  line-height: 1.2;
}

.np-brand__text strong {
  font-size: 0.98rem;
  font-weight: 780;
  letter-spacing: -0.015em;
}

.np-brand__text small {
  color: var(--np-muted);
  font-size: 0.69rem;
  letter-spacing: 0.01em;
}

.np-menu-toggle {
  display: none;
  min-height: 2.85rem;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--np-line-strong);
  border-radius: 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.np-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.np-nav a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.7rem;
  border-radius: 0.45rem;
  color: var(--np-ink);
  font-size: 0.82rem;
  font-weight: 640;
  text-decoration: none;
}

.np-nav a:hover {
  background: var(--np-paper-deep);
}

.np-nav .np-btn {
  margin-left: 0.5rem;
  color: #fff;
}

.np-nav .np-btn:hover {
  background: #17488f;
}

/* ------------------------------------------------------------------ hero -- */

.np-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.6rem, 4vw, 3.6rem);
  padding: clamp(2.6rem, 6vw, 5.2rem) var(--np-pad) clamp(2.2rem, 4vw, 3.4rem);
}

.np-hero__statement > * + * {
  margin-top: 1.05rem;
}

.np-hero__lede {
  max-width: 40rem;
  color: var(--np-muted);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
}

.np-hero__facts {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin-top: 1.5rem;
  list-style: none;
}

.np-hero__facts li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--np-muted);
}

.np-hero__facts strong {
  color: var(--np-ink);
  font-weight: 720;
}

.np-hero__facts .np-icon {
  margin-top: 0.28rem;
  color: var(--np-accent-ink);
}

.np-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.7rem;
}

.np-onnow {
  padding: 1.35rem 1.4rem 1.2rem;
  border: 1px solid var(--np-line);
  border-radius: var(--np-radius);
  background: var(--np-card);
  box-shadow: var(--np-shadow-sm);
}

.np-onnow__label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--np-muted);
}

.np-onnow__state {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 1.12rem;
  font-weight: 780;
  letter-spacing: -0.02em;
}

.np-onnow__detail {
  margin-top: 0.2rem;
  color: var(--np-muted);
  font-size: 0.84rem;
}

.np-onnow__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--np-line);
}

.np-onnow__stats dt {
  color: var(--np-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.np-onnow__stats dd {
  margin: 0.15rem 0 0;
  font-family: var(--np-mono);
  font-size: 0.98rem;
  font-weight: 620;
  letter-spacing: -0.03em;
}

.np-onnow__fine {
  margin-top: 0.95rem;
  color: var(--np-muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

/* ------------------------------------------------------- blueprint band -- */

.np-blueprint {
  padding: clamp(2.4rem, 5vw, 4rem) var(--np-pad) clamp(2rem, 4vw, 3rem);
  background: var(--np-ink);
  color: #fff;
}

.np-blueprint :focus-visible {
  outline-color: var(--np-accent2);
}

.np-blueprint__intro {
  max-width: 44rem;
}

.np-blueprint__intro p {
  margin-top: 0.6rem;
  color: var(--np-on-ink-soft);
  font-size: 0.95rem;
}

.np-blueprint__stage {
  position: relative;
  margin: clamp(1.4rem, 3vw, 2.4rem) auto 0;
  max-width: 76rem;
}

.np-house {
  width: 100%;
  height: auto;
  overflow: visible;
}

.np-house__hatch {
  stroke: rgba(185, 213, 255, 0.3);
  stroke-width: 1.4;
}

.np-house__grade {
  stroke: rgba(185, 213, 255, 0.55);
  stroke-width: 1.6;
  stroke-dasharray: 10 7;
}

.np-house__roof,
.np-house__wall,
.np-house__slab,
.np-house__part,
.np-house__fit {
  fill: none;
  stroke: #7fa8e0;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.np-house__roof,
.np-house__wall {
  stroke-width: 2.6;
}

.np-house__wall {
  fill: rgba(185, 213, 255, 0.045);
}

.np-house__slab {
  stroke-width: 2;
}

.np-house__part {
  stroke-width: 1.6;
  stroke-dasharray: 6 5;
}

.np-house__fit {
  stroke-width: 1.7;
  opacity: 0.9;
}

.np-house__room {
  fill: var(--np-on-ink-soft);
  font-family: var(--np-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.np-house__pipe {
  fill: none;
  stroke: #6fe0c4;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.np-house__wire {
  fill: none;
  stroke: #ffc55c;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 9 6;
}

.np-pins {
  position: absolute;
  inset: 0;
}

.np-pin {
  position: absolute;
  left: var(--np-pin-x);
  top: var(--np-pin-y);
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 15rem;
  padding: 0.45rem 0.9rem 0.45rem 0.45rem;
  border: 1px solid rgba(22, 35, 55, 0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--np-ink);
  font-size: 0.8rem;
  font-weight: 680;
  line-height: 1.2;
  text-align: left;
  box-shadow: 0 10px 26px rgba(6, 14, 28, 0.4);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.np-pin:hover,
.np-pin.is-active {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(6, 14, 28, 0.5);
}

.np-pin.is-active {
  border-color: var(--np-accent-deep);
  outline: 2px solid var(--np-accent2);
  outline-offset: 2px;
}

.np-pin__no {
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--np-accent-deep);
  color: #fff;
  font-family: var(--np-mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.np-blueprint__key {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.1rem;
  margin-top: clamp(1.2rem, 2vw, 1.8rem);
  color: var(--np-on-ink-soft);
  font-size: 0.75rem;
}

.np-key {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.np-key::before {
  content: "";
  width: 1.5rem;
  height: 0.2rem;
  border-radius: 999px;
}

.np-key--pipe::before {
  background: #6fe0c4;
}

.np-key--wire::before {
  background: #ffc55c;
}

.np-blueprint__key-note {
  color: rgba(185, 203, 226, 0.75);
}

/* ------------------------------------------------------------- estimator -- */

.np-estimator {
  padding: var(--np-gap) var(--np-pad);
}

.np-estimator__head,
.np-schedule__head,
.np-day__head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(1rem, 3vw, 3rem);
  margin-bottom: clamp(1.6rem, 3vw, 2.6rem);
}

.np-estimator__head h2,
.np-schedule__head h2,
.np-day__head h2 {
  margin-top: 0.55rem;
}

.np-estimator__intro,
.np-schedule__intro,
.np-day__intro {
  color: var(--np-muted);
  font-size: 0.95rem;
}

.np-estimator__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

.np-jobform {
  display: grid;
  gap: 1.6rem;
  padding: clamp(1.1rem, 2vw, 1.8rem);
  border: 1px solid var(--np-line);
  border-radius: var(--np-radius-lg);
  background: var(--np-card);
  box-shadow: var(--np-shadow-sm);
}

.np-legend {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.np-legend--q {
  font-size: 0.98rem;
  font-weight: 760;
}

.np-legend__help {
  margin-top: 0.2rem;
  color: var(--np-muted);
  font-size: 0.8rem;
}

.np-trade-label {
  margin: 1.05rem 0 0.5rem;
  color: var(--np-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.np-jobs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.55rem;
}

.np-job {
  position: relative;
  min-height: 3.6rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.15rem 0.7rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--np-line-strong);
  border-radius: 0.7rem;
  background: var(--np-card);
  cursor: pointer;
  transition:
    border-color 140ms ease,
    background-color 140ms ease;
}

.np-job input,
.np-option input,
.np-situation input,
.np-cell input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.np-job__icon {
  grid-row: span 2;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  background: var(--np-paper);
  color: var(--np-accent-ink);
}

.np-job__name {
  font-size: 0.88rem;
  font-weight: 720;
  line-height: 1.25;
}

.np-job__meta {
  color: var(--np-muted);
  font-size: 0.75rem;
  line-height: 1.3;
}

.np-job:hover {
  border-color: var(--np-ink);
}

.np-job:has(input:checked) {
  border-color: var(--np-accent-deep);
  background: #f3f7fe;
  box-shadow: inset 0 0 0 1px var(--np-accent-deep);
}

.np-job:has(input:checked) .np-job__icon {
  background: var(--np-accent-deep);
  color: #fff;
}

.np-job:has(input:focus-visible),
.np-option:has(input:focus-visible),
.np-situation:has(input:focus-visible),
.np-cell:has(input:focus-visible) {
  outline: 3px solid var(--np-focus);
  outline-offset: 3px;
}

.np-questions {
  display: grid;
  gap: 1.3rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--np-line);
}

.np-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.6rem;
}

.np-option {
  position: relative;
  min-height: 2.85rem;
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1rem;
  border: 1px solid var(--np-line-strong);
  border-radius: 999px;
  background: var(--np-card);
  font-size: 0.83rem;
  font-weight: 620;
  line-height: 1.2;
  cursor: pointer;
  transition:
    border-color 140ms ease,
    background-color 140ms ease,
    color 140ms ease;
}

.np-option:hover {
  border-color: var(--np-ink);
}

.np-option:has(input:checked) {
  border-color: var(--np-accent-deep);
  background: var(--np-accent-deep);
  color: #fff;
}

/* ------------------------------------------------------------ the docket -- */

.np-docket {
  position: sticky;
  top: 5.4rem;
  display: grid;
  gap: 1.05rem;
  padding: clamp(1.1rem, 2vw, 1.5rem);
  border: 1px solid var(--np-line);
  border-radius: var(--np-radius-lg);
  background: var(--np-card);
  box-shadow: var(--np-shadow);
}

.np-docket__no {
  font-family: var(--np-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--np-muted);
}

.np-docket__head h3 {
  margin-top: 0.3rem;
  font-size: 1.28rem;
}

.np-band {
  padding: 1.1rem 1.15rem 1.2rem;
  border-radius: var(--np-radius);
  background: var(--np-ink);
  color: #fff;
}

.np-band__label {
  color: var(--np-accent2);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.np-band__figure {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-top: 0.45rem;
  font-family: var(--np-mono);
  font-size: clamp(1.6rem, 3vw, 2.05rem);
  font-weight: 620;
  letter-spacing: -0.04em;
}

.np-band__figure span {
  color: var(--np-on-ink-soft);
}

.np-band__typical {
  margin-top: 0.25rem;
  color: var(--np-on-ink-soft);
  font-size: 0.82rem;
}

.np-scale {
  margin-top: 1rem;
}

.np-scale__track {
  position: relative;
  height: 0.85rem;
  border-radius: 999px;
  background: rgba(185, 213, 255, 0.18);
  overflow: hidden;
}

.np-scale__fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--np-lo);
  width: calc(var(--np-hi) - var(--np-lo));
  border-radius: 999px;
  background: linear-gradient(90deg, #4b8ee8, var(--np-accent2));
  transition:
    left 380ms cubic-bezier(0.22, 0.8, 0.3, 1),
    width 380ms cubic-bezier(0.22, 0.8, 0.3, 1);
}

.np-scale__mark {
  position: absolute;
  top: -0.15rem;
  bottom: -0.15rem;
  left: var(--np-mid);
  width: 2px;
  background: #fff;
  transition: left 380ms cubic-bezier(0.22, 0.8, 0.3, 1);
}

.np-scale__ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  color: var(--np-on-ink-soft);
  font-family: var(--np-mono);
  font-size: 0.68rem;
}

.np-band__time {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-top: 0.85rem;
  margin-top: 0.9rem;
  border-top: 1px solid var(--np-line-dark);
  color: var(--np-on-ink-soft);
  font-size: 0.82rem;
  font-weight: 620;
}

.np-moves h4 {
  color: var(--np-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.np-moves ul {
  display: grid;
  gap: 0.5rem;
  padding: 0;
  margin-top: 0.65rem;
  list-style: none;
}

.np-move {
  display: grid;
  grid-template-columns: 4.4rem minmax(0, 1fr);
  gap: 0.7rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--np-line);
  font-size: 0.8rem;
}

.np-move:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.np-move__amount {
  font-family: var(--np-mono);
  font-size: 0.82rem;
  font-weight: 620;
  letter-spacing: -0.03em;
  color: var(--np-accent-ink);
  text-align: right;
}

.np-move--base .np-move__amount {
  color: var(--np-ink);
}

.np-move--down .np-move__amount {
  color: var(--np-go);
}

.np-move__why {
  color: var(--np-muted);
  line-height: 1.45;
}

.np-move__why strong {
  display: block;
  color: var(--np-ink);
  font-weight: 720;
}

.np-included {
  border: 1px solid var(--np-line);
  border-radius: 0.7rem;
  background: var(--np-paper);
}

.np-included > summary {
  min-height: 2.9rem;
  display: flex;
  align-items: center;
  padding: 0.7rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.np-included > summary::-webkit-details-marker {
  display: none;
}

.np-included > summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--np-mono);
  font-size: 1.1rem;
  line-height: 1;
}

.np-included[open] > summary::after {
  content: "−";
}

.np-included > summary:focus-visible {
  outline: 3px solid var(--np-focus);
  outline-offset: -3px;
}

.np-included__body {
  padding: 0 0.95rem 1rem;
}

.np-included__title {
  margin-top: 0.5rem;
  color: var(--np-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.np-list {
  display: grid;
  gap: 0.3rem;
  padding: 0;
  margin-top: 0.4rem;
  list-style: none;
  font-size: 0.8rem;
  color: var(--np-muted);
}

.np-list li {
  position: relative;
  padding-left: 1.15rem;
  line-height: 1.45;
}

.np-list li::before {
  position: absolute;
  left: 0;
  font-weight: 800;
}

.np-list--yes li::before {
  content: "✓";
  color: var(--np-go);
}

.np-list--no li::before {
  content: "×";
  color: var(--np-stop);
}

.np-docket__foot {
  display: grid;
  gap: 0.7rem;
}

/* --------------------------------------------------------- urgency router -- */

.np-triage {
  padding: var(--np-gap) var(--np-pad);
  background: var(--np-ink);
  color: #fff;
}

.np-triage :focus-visible {
  outline-color: var(--np-accent2);
}

.np-triage__head {
  max-width: 46rem;
}

.np-triage__head h2 {
  margin-top: 0.55rem;
}

.np-triage__head p {
  margin-top: 0.8rem;
  color: var(--np-on-ink-soft);
  font-size: 0.98rem;
}

.np-triage__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  margin-top: clamp(1.6rem, 3vw, 2.6rem);
}

.np-legend--dark {
  color: #fff;
  font-size: 1rem;
  font-weight: 760;
}

.np-situations {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.np-situation {
  position: relative;
  min-height: 3.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--np-line-dark);
  border-radius: 0.7rem;
  background: rgba(185, 213, 255, 0.06);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 620;
  line-height: 1.3;
  cursor: pointer;
  transition:
    border-color 140ms ease,
    background-color 140ms ease;
}

.np-situation::before {
  content: "";
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  border: 2px solid var(--np-on-ink-soft);
  border-radius: 50%;
}

.np-situation:hover {
  border-color: var(--np-accent2);
  background: rgba(185, 213, 255, 0.12);
}

.np-situation:has(input:checked) {
  border-color: var(--np-accent2);
  background: rgba(185, 213, 255, 0.16);
}

.np-situation:has(input:checked)::before {
  border-color: #fff;
  background: radial-gradient(circle, #fff 0 42%, transparent 44%);
}

.np-route {
  padding: clamp(1.2rem, 2.4vw, 1.8rem);
  border: 1px solid var(--np-line-dark);
  border-radius: var(--np-radius-lg);
  background: var(--np-ink-2);
}

.np-route.is-stop {
  border-color: #ffb4a3;
  background: #3a1a16;
  box-shadow: inset 0 0 0 1px rgba(255, 180, 163, 0.4);
}

.np-route__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--np-accent2);
  color: var(--np-ink);
  font-size: 0.66rem;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.np-route.is-stop .np-route__tag {
  background: #ffb4a3;
  color: #40120c;
}

.np-route h3 {
  margin-top: 0.75rem;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.np-route > p {
  margin-top: 0.7rem;
  color: var(--np-on-ink-soft);
  font-size: 0.92rem;
}

.np-route.is-stop > p {
  color: #f5d6cf;
}

.np-route__steps {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 0 0 1.25rem;
  margin-top: 0.3rem;
  color: #fff;
  font-size: 0.88rem;
}

.np-route__steps li {
  padding-left: 0.3rem;
}

.np-route__steps li::marker {
  color: var(--np-accent2);
  font-weight: 800;
}

.np-route.is-stop .np-route__steps li::marker {
  color: #ffb4a3;
}

.np-route .np-btn {
  margin-top: 1.15rem;
}

.np-route.is-stop .np-btn {
  border-color: #ffb4a3;
  background: #ffb4a3;
  color: #40120c;
}

.np-route.is-stop .np-btn:hover {
  background: #ffc9bc;
  border-color: #ffc9bc;
  color: #40120c;
}

.np-route .np-fine--dark {
  margin-top: 0.8rem;
}

.np-route.is-stop .np-fine--dark {
  color: #f0cfc8;
}

/* --------------------------------------------------------- dispatch board -- */

.np-schedule {
  padding: var(--np-gap) var(--np-pad);
  background: var(--np-paper-deep);
}

.np-board__scroll {
  overflow-x: auto;
  padding-bottom: 0.4rem;
  border-radius: var(--np-radius);
}

.np-board {
  width: 100%;
  min-width: 46rem;
  border-collapse: separate;
  border-spacing: 0.3rem;
}

.np-board thead th {
  padding: 0.45rem 0.3rem 0.5rem;
  color: var(--np-ink);
  font-size: 0.78rem;
  font-weight: 780;
  text-align: center;
}

.np-board__dow {
  display: block;
  letter-spacing: 0.02em;
}

.np-board__date {
  display: block;
  color: var(--np-muted);
  font-family: var(--np-mono);
  font-size: 0.68rem;
  font-weight: 500;
}

.np-board thead th.is-today .np-board__dow {
  color: var(--np-accent-ink);
}

.np-board tbody th {
  min-width: 8.2rem;
  padding: 0.4rem 0.8rem 0.4rem 0;
  color: var(--np-ink);
  font-family: var(--np-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: left;
  white-space: nowrap;
}

.np-cell {
  position: relative;
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.4rem;
  border: 1px solid var(--np-line);
  border-radius: 0.55rem;
  background: var(--np-card);
  color: var(--np-go);
  font-size: 0.74rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 140ms ease,
    background-color 140ms ease,
    color 140ms ease;
}

.np-cell:hover {
  border-color: var(--np-ink);
}

.np-cell.is-tight {
  color: var(--np-warn);
}

.np-cell.is-full,
.np-cell.is-closed {
  color: var(--np-muted);
  background: var(--np-paper-deep);
  border-style: dashed;
  cursor: not-allowed;
}

.np-cell.is-full:hover,
.np-cell.is-closed:hover {
  border-color: var(--np-line);
}

.np-cell:has(input:checked) {
  border-color: var(--np-accent-deep);
  background: var(--np-accent-deep);
  color: #fff;
  box-shadow: 0 8px 20px rgba(31, 92, 184, 0.35);
}

.np-board__hint {
  margin-top: 0.75rem;
  color: var(--np-muted);
  font-size: 0.76rem;
}

.np-hold {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  padding: clamp(1.1rem, 2vw, 1.5rem);
  margin-top: clamp(1.2rem, 2.5vw, 1.8rem);
  border: 1px solid var(--np-line);
  border-radius: var(--np-radius-lg);
  background: var(--np-card);
  box-shadow: var(--np-shadow-sm);
}

.np-hold__line {
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  gap: 0.7rem;
  padding: 0.42rem 0;
  border-bottom: 1px dashed var(--np-line);
  font-size: 0.87rem;
}

.np-hold__line:last-child {
  border-bottom: 0;
}

.np-hold__line span {
  color: var(--np-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  align-self: center;
}

.np-hold__line strong {
  font-weight: 700;
  line-height: 1.35;
}

.np-hold__act {
  display: grid;
  gap: 0.7rem;
  justify-items: start;
}

.np-held {
  display: grid;
  justify-items: start;
  gap: 0.55rem;
  padding: clamp(1.2rem, 2.2vw, 1.7rem);
  margin-top: 1rem;
  border: 1px solid var(--np-accent-deep);
  border-radius: var(--np-radius-lg);
  background: var(--np-card);
  box-shadow: var(--np-shadow);
}

.np-held__mark {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--np-go);
  color: #fff;
}

.np-held__mark .np-icon {
  width: 1.3rem;
  height: 1.3rem;
  stroke-width: 2.4;
}

.np-held h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.np-held p:not(.np-eyebrow) {
  max-width: 42rem;
  color: var(--np-muted);
  font-size: 0.88rem;
}

.np-held .np-btn {
  margin-top: 0.5rem;
}

/* ------------------------------------------------------------- on the day -- */

.np-day {
  padding: var(--np-gap) var(--np-pad);
}

.np-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.6rem;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: np-step;
}

.np-step {
  position: relative;
  padding-top: 2.9rem;
  counter-increment: np-step;
}

/* the rail */
.np-step::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--np-line-strong);
}

.np-step:first-child::before {
  left: 50%;
  border-radius: 999px 0 0 999px;
}

.np-step:last-child::before {
  right: 50%;
  border-radius: 0 999px 999px 0;
}

.np-step::after {
  content: counter(np-step);
  position: absolute;
  top: 0.4rem;
  left: 50%;
  width: 1.95rem;
  height: 1.95rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--np-card);
  box-shadow: inset 0 0 0 2px var(--np-line-strong);
  color: var(--np-muted);
  font-family: var(--np-mono);
  font-size: 0.8rem;
  font-weight: 620;
  transform: translateX(-50%);
}

.np-step--key::after {
  background: var(--np-accent-deep);
  box-shadow: inset 0 0 0 2px var(--np-accent-deep);
  color: #fff;
}

.np-step__when {
  color: var(--np-accent-ink);
  font-family: var(--np-mono);
  font-size: 0.74rem;
  font-weight: 620;
  letter-spacing: -0.02em;
  text-align: center;
}

.np-step__body {
  height: 100%;
  padding: 0.95rem 1rem 1.1rem;
  margin-top: 0.55rem;
  border: 1px solid var(--np-line);
  border-radius: var(--np-radius);
  background: var(--np-card);
}

.np-step--key .np-step__body {
  border-color: var(--np-accent-deep);
  box-shadow: inset 0 0 0 1px var(--np-accent-deep);
}

.np-step__icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.6rem;
  border-radius: 0.45rem;
  background: var(--np-paper);
  color: var(--np-accent-ink);
}

.np-step--key .np-step__icon {
  background: var(--np-accent-deep);
  color: #fff;
}

.np-step__body h3 {
  font-size: 0.95rem;
  font-weight: 760;
}

.np-step__body p {
  margin-top: 0.4rem;
  color: var(--np-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.np-day__figure {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  margin: clamp(1.8rem, 3.5vw, 3rem) 0 0;
}

.np-day__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--np-radius-lg);
  background: var(--np-paper-deep);
}

.np-day__figure figcaption {
  color: var(--np-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* ----------------------------------------------------------- credentials -- */

.np-credentials {
  padding: var(--np-gap) var(--np-pad);
  background: var(--np-ink);
  color: #fff;
}

.np-credentials :focus-visible {
  outline-color: var(--np-accent2);
}

.np-credentials__head {
  max-width: 44rem;
}

.np-credentials__head h2 {
  margin-top: 0.55rem;
}

.np-creds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.8rem;
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
}

.np-cred {
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1.25rem 1.15rem;
  border: 1px solid var(--np-line-dark);
  border-radius: var(--np-radius);
  background: var(--np-ink-2);
}

.np-cred__icon {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  border-radius: 0.5rem;
  background: rgba(185, 213, 255, 0.14);
  color: var(--np-accent2);
}

.np-cred h3 {
  font-size: 1rem;
  font-weight: 760;
}

.np-cred p {
  margin-top: 0.5rem;
  color: var(--np-on-ink-soft);
  font-size: 0.83rem;
  line-height: 1.5;
}

.np-cred__value {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  padding-top: 0.8rem;
  margin-top: auto;
  border-top: 1px solid var(--np-line-dark);
  color: var(--np-on-ink-soft);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.np-cred__value span {
  color: #fff;
  font-family: var(--np-mono);
  font-size: 0.92rem;
  font-weight: 620;
  letter-spacing: -0.03em;
  text-transform: none;
}

.np-credentials__honest {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  max-width: 58rem;
  padding: 1.1rem 1.25rem;
  margin-top: 1rem;
  border: 1px dashed rgba(255, 197, 92, 0.6);
  border-radius: var(--np-radius);
  color: var(--np-on-ink-soft);
  font-size: 0.85rem;
  line-height: 1.55;
}

.np-credentials__honest strong {
  color: #ffc55c;
}

.np-credentials__honest .np-icon {
  margin-top: 0.25rem;
  color: #ffc55c;
}

/* -------------------------------------------------------------- coverage -- */

.np-coverage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(1.6rem, 4vw, 3.6rem);
  padding: var(--np-gap) var(--np-pad);
}

.np-coverage__copy h2 {
  margin-top: 0.55rem;
}

.np-coverage__copy > p {
  max-width: 34rem;
  margin-top: 0.8rem;
  color: var(--np-muted);
  font-size: 0.95rem;
}

.np-postcode {
  max-width: 30rem;
  padding: 1.1rem 1.2rem 1.2rem;
  margin-top: 1.5rem;
  border: 1px solid var(--np-line);
  border-radius: var(--np-radius);
  background: var(--np-card);
  box-shadow: var(--np-shadow-sm);
}

.np-postcode__label {
  display: block;
  font-size: 0.88rem;
  font-weight: 740;
}

.np-postcode__hint {
  display: block;
  margin-top: 0.15rem;
  color: var(--np-muted);
  font-size: 0.76rem;
  font-weight: 400;
}

.np-postcode__row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.np-postcode__input {
  min-width: 0;
  flex: 1 1 auto;
  min-height: 3rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--np-line-strong);
  border-radius: 0.6rem;
  background: var(--np-card);
  font-family: var(--np-mono);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.np-postcode__input::placeholder {
  color: var(--np-muted);
  opacity: 1;
}

.np-postcode__result {
  margin-top: 0.75rem;
  color: var(--np-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.np-postcode__result strong {
  color: var(--np-ink);
}

.np-postcode__result.is-in strong {
  color: var(--np-go);
}

.np-postcode__result.is-edge strong {
  color: var(--np-warn);
}

.np-postcode__result.is-out strong {
  color: var(--np-stop);
}

.np-towns {
  margin-top: 1.7rem;
}

.np-towns h3 {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--np-muted);
}

.np-towns__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0.35rem 0.8rem;
  padding: 0;
  margin: 0.7rem 0 0.9rem;
  list-style: none;
}

.np-towns__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0.5rem;
  border-radius: 0.4rem;
  font-size: 0.84rem;
  transition: background-color 160ms ease;
}

.np-towns__list li span {
  color: var(--np-muted);
  font-family: var(--np-mono);
  font-size: 0.7rem;
}

.np-towns__list li.is-match {
  background: var(--np-accent-deep);
  color: #fff;
}

.np-towns__list li.is-match span {
  color: var(--np-accent2);
}

.np-map {
  align-self: center;
}

.np-map__svg {
  width: 100%;
  height: auto;
}

.np-map__lake {
  fill: #d5e6f2;
}

.np-map__wave {
  fill: none;
  stroke: rgba(36, 107, 212, 0.35);
  stroke-width: 1.2;
}

.np-map__edge {
  fill: rgba(36, 107, 212, 0.06);
  stroke: var(--np-accent);
  stroke-width: 2;
  stroke-dasharray: 9 7;
}

.np-map__ring {
  fill: rgba(36, 107, 212, 0.16);
  stroke: var(--np-accent-deep);
  stroke-width: 2.4;
}

.np-map__road {
  stroke: rgba(22, 35, 55, 0.22);
  stroke-width: 3;
  stroke-linecap: round;
}

.np-map__pins circle {
  fill: var(--np-card);
  stroke: var(--np-ink);
  stroke-width: 2.4;
  transition:
    fill 200ms ease,
    r 200ms ease;
}

.np-map__pins circle.is-match {
  fill: var(--np-accent-deep);
  stroke: var(--np-ink);
}

.np-map__depot circle {
  fill: none;
  stroke: var(--np-accent-deep);
  stroke-width: 2;
  stroke-dasharray: 5 4;
}

.np-map__depot path {
  fill: none;
  stroke: var(--np-ink);
  stroke-width: 2;
  stroke-linecap: round;
}

.np-map__caption {
  margin-top: 0.6rem;
  color: var(--np-muted);
  font-size: 0.72rem;
  text-align: center;
}

/* --------------------------------------------------------------- contact -- */

.np-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.2rem, 3vw, 3rem);
  padding: clamp(2rem, 4vw, 3.2rem) var(--np-pad);
  background: var(--np-ink-2);
  color: #fff;
}

.np-contact :focus-visible {
  outline-color: var(--np-accent2);
}

.np-contact h2 {
  margin-top: 0.55rem;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

.np-contact__list {
  display: grid;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.np-contact__list li {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 620;
}

.np-contact__list .np-icon {
  color: var(--np-accent2);
}

.np-contact__list a {
  color: #fff;
}

.np-contact .np-fine {
  grid-column: 1 / -1;
  color: var(--np-on-ink-soft);
}

/* ---------------------------------------------------------------- footer -- */

.np-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(1.4rem, 3vw, 3rem);
  padding: clamp(2.2rem, 4vw, 3.4rem) var(--np-pad) clamp(2.4rem, 4vw, 3rem);
  background: var(--np-ink);
  color: var(--np-on-ink-soft);
}

.np-footer :focus-visible {
  outline-color: var(--np-accent2);
}

.np-brand--footer {
  color: #fff;
}

.np-brand--footer .np-brand__mark {
  background: rgba(185, 213, 255, 0.16);
  color: #fff;
}

.np-brand--footer .np-brand__text small {
  color: var(--np-on-ink-soft);
}

.np-footer__brand p {
  margin-top: 0.8rem;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.np-footer__label {
  max-width: 46rem;
  font-size: 0.8rem;
  line-height: 1.55;
}

.np-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.2rem;
  margin-top: 1rem;
}

.np-footer__links a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 680;
}

.np-footer__credit {
  margin-top: 0.6rem;
  font-size: 0.74rem;
}

.np-footer__credit a {
  color: var(--np-accent2);
}

/* ----------------------------------------------------------------- toast -- */

.np-toast {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  z-index: 120;
  max-width: min(26rem, calc(100vw - 2rem));
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: var(--np-ink);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 640;
  text-align: center;
  box-shadow: var(--np-shadow-lg);
  opacity: 0;
  transform: translate(-50%, 130%);
  pointer-events: none;
  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.22, 0.8, 0.3, 1);
}

.np-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.np-noscript {
  padding: 1rem var(--np-pad);
  background: #ffc55c;
  color: #40300c;
  font-size: 0.86rem;
  font-weight: 620;
}

/* =============================================================== layout -- */

@media (max-width: 1180px) {
  .np-nav a {
    padding: 0.5rem 0.55rem;
    font-size: 0.79rem;
  }

  .np-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 1.4rem;
  }

  .np-step:nth-child(3)::before {
    right: 50%;
    border-radius: 0 999px 999px 0;
  }

  .np-step:nth-child(4)::before {
    left: 50%;
    border-radius: 999px 0 0 999px;
  }
}

@media (max-width: 1024px) {
  .np-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .np-onnow {
    max-width: 34rem;
  }

  .np-estimator__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .np-docket {
    position: static;
  }

  .np-triage__grid,
  .np-coverage,
  .np-day__figure,
  .np-contact,
  .np-footer {
    grid-template-columns: minmax(0, 1fr);
  }

  .np-map {
    max-width: 34rem;
  }

  .np-hold {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
}

@media (max-width: 900px) {
  .np-header {
    flex-wrap: wrap;
  }

  .np-menu-toggle {
    display: inline-flex;
  }

  .np-nav {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 240ms ease;
  }

  .np-nav.is-open {
    max-height: 26rem;
    padding-top: 0.6rem;
  }

  .np-nav a {
    min-height: 3rem;
    border-bottom: 1px solid var(--np-line);
    border-radius: 0;
    font-size: 0.92rem;
  }

  .np-nav .np-btn {
    margin: 0.6rem 0 0.3rem;
    border-bottom: 0;
  }

  .np-estimator__head,
  .np-schedule__head,
  .np-day__head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 0.9rem;
  }

  .np-blueprint__stage {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .np-pins {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .np-pin {
    position: static;
    max-width: none;
    flex: 1 1 15rem;
  }
}

@media (max-width: 760px) {
  .np-house__room {
    display: none;
  }

  .np-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding-left: 2.6rem;
  }

  .np-step {
    padding-top: 0;
  }

  .np-step::before {
    top: 0;
    bottom: -1rem;
    left: -1.65rem;
    right: auto;
    width: 2px;
    height: auto;
    border-radius: 0 !important;
  }

  .np-step:first-child::before {
    top: 0.9rem;
  }

  .np-step:last-child::before {
    bottom: auto;
    height: 0.9rem;
  }

  .np-step::after {
    top: 0;
    left: -1.65rem;
    transform: translateX(-50%);
  }

  .np-step__when {
    text-align: left;
    padding-top: 0.35rem;
  }

  .np-day__figure img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 620px) {
  .np-preview {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.15rem 0.9rem;
    padding-block: 0.35rem;
    text-align: center;
  }

  .np-preview__note {
    order: 3;
    flex-basis: 100%;
    justify-content: center;
    font-size: 0.66rem;
  }

  .np-brand__text small {
    display: none;
  }

  .np-hero__facts li {
    font-size: 0.86rem;
  }

  .np-hero__actions .np-btn {
    flex: 1 1 100%;
  }

  .np-onnow__stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .np-jobs {
    grid-template-columns: minmax(0, 1fr);
  }

  .np-move {
    grid-template-columns: 3.9rem minmax(0, 1fr);
  }

  .np-hold__line {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.1rem;
  }

  .np-hold__act,
  .np-hold__act .np-btn {
    width: 100%;
  }

  .np-towns__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .np-band__figure {
    font-size: 1.55rem;
  }
}

@media (max-width: 400px) {
  .np-pin__label {
    font-size: 0.76rem;
  }

  .np-board {
    min-width: 40rem;
  }
}

/* ------------------------------------------------------------ preferences -- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .np-btn:hover,
  .np-pin:hover,
  .np-pin.is-active {
    transform: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --np-line: rgba(22, 35, 55, 0.42);
    --np-line-strong: rgba(22, 35, 55, 0.66);
    --np-line-dark: rgba(185, 213, 255, 0.55);
    --np-muted: #3d4d63;
  }
}

/* Older engines without :has() keep the native radios visible so every
   control stays operable; only the styled selected state is lost. */
@supports not (selector(:has(*))) {
  .np-job input,
  .np-option input,
  .np-situation input,
  .np-cell input {
    position: static;
    width: auto;
    height: auto;
    margin-right: 0.5rem;
    opacity: 1;
    pointer-events: auto;
  }

  .np-situation::before {
    display: none;
  }
}

@media print {
  .np-preview,
  .np-header,
  .np-toast {
    display: none;
  }

  .np-blueprint,
  .np-triage,
  .np-credentials,
  .np-contact,
  .np-footer {
    background: #fff;
    color: #000;
  }
}
