/* Solar PV in new buildings, two pages, one stylesheet on top of hod-kit.css and hod-expert.css:
   /מערכת-סולארית-בבניין-חדש (page A, the project team) and /אנרגיה-סולארית-לעיריות (page B, municipalities).
   Light, like the trackers and About pages: Polin, the site blue, a sun-yellow accent. Phone first, RTL first
   (logical properties). Written to /css/hod-new-buildings.css by lahav/tools/nb_common.py (both builders). */
.nb {
  --nb-sky: #E3F1FA;
  --nb-sky-2: #F3F9FD;
  --nb-sun: #F5A524;
  --nb-sun-soft: #FFF3DB;
  --nb-sun-ink: #8A5A00;   /* sun-coloured text on white: 6.4:1 */
  --nb-radius: 18px;
  --nb-shadow: 0 10px 30px rgba(13, 37, 49, .10);
  --nb-shadow-sm: 0 4px 14px rgba(13, 37, 49, .07);
}
.nb img { display: block; max-inline-size: 100%; block-size: auto; }
.nb-ic { inline-size: 22px; block-size: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nb .section-head { margin-block-end: clamp(24px, 4vw, 40px); }
.nb .section-head h2 { max-inline-size: 30ch; }
.nb .eyebrow { color: var(--nb-sun-ink); }
.nb-updated { display: inline-block; margin-inline-start: 6px; padding: 1px 10px; border-radius: 999px; background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--text-muted); font-size: .875rem; font-weight: 500; white-space: nowrap; }
.nb-note { margin-block-start: 20px; padding: 12px 16px; background: var(--nb-sun-soft); border-inline-start: 4px solid var(--nb-sun); border-radius: 4px 12px 12px 4px; color: var(--text); max-inline-size: none; }
.nb-note--blue { background: var(--blue-50); border-inline-start-color: var(--blue-600); }
.nb-fine { margin-block-start: 12px; font-size: var(--fs-small); color: var(--text-muted); }
.nb-tag { display: inline-block; margin: 0; padding: 3px 12px; border-radius: 999px; font-size: var(--fs-eyebrow); font-weight: 600; background: var(--nb-sun-soft); color: var(--nb-sun-ink); }
.nb-tag--scan { background: var(--blue-100); color: var(--blue-800); }
.nb-ext { font-weight: 600; }
.nb-ext::after { content: " ↗"; font-weight: 400; }

/* ---------- hero ---------- */
.nb-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--nb-sky) 0%, var(--nb-sky-2) 55%, #fff 100%);
  padding-block: clamp(28px, 5vw, 64px) clamp(36px, 5vw, 72px);
}
.nb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(13, 37, 49, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13, 37, 49, .05) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  pointer-events: none;
}
.nb-hero__grid { position: relative; display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 960px) { .nb-hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.nb-eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.nb-eyebrow .nb-ic { color: var(--nb-sun); }
.nb-hero h1 { font-size: clamp(2rem, 1.35rem + 2.5vw, 3.25rem); line-height: 1.13; margin-block: 12px 16px; color: var(--navy-900); }
.nb-hl {
  background: linear-gradient(transparent 60%, rgba(245, 165, 36, .42) 60%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-inline: 2px;
}
.nb-hero .lead { max-inline-size: 52ch; }
@media (max-width: 639.98px) { .nb-hero .lead { font-size: 1.125rem; line-height: 1.6; } }
.nb-nw, .nb bdi[dir="ltr"] { white-space: nowrap; }
.nb-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 24px 14px; }
.nb-btn-ghost { background: #fff; color: var(--blue-700); border: 2px solid var(--blue-700); }
.nb-btn-ghost:hover { background: var(--blue-50); color: var(--blue-800); }
.nb-hero__meta { font-size: var(--fs-small); color: var(--text-muted); }
.nb-hero__media { margin: 0; justify-self: center; inline-size: 100%; max-inline-size: 460px; }
.nb-hero__media img { inline-size: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; box-shadow: var(--nb-shadow); background: #0b1220; }
.nb-hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0; }
.nb-hero__facts div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.nb-hero__facts dd { margin: 0; font-size: clamp(1.0625rem, .95rem + .5vw, 1.375rem); font-weight: 600; line-height: 1.2; color: var(--navy-900); text-align: start; }
.nb-hero__facts dt { font-size: .8125rem; line-height: 1.35; color: var(--text-muted); }
.nb-hero__media figcaption { margin-block-start: 10px; font-size: var(--fs-small); color: var(--text-muted); }
.nb-hero__media figcaption a { font-weight: 600; }

/* ---------- the national regulation ---------- */
.nb-law { background: var(--nb-sky-2); }
.nb-law__box { display: grid; gap: 26px; padding: clamp(18px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: var(--nb-radius); box-shadow: var(--nb-shadow); }
.nb-law__facts { display: grid; gap: 12px; margin: 0; }
@media (min-width: 760px) { .nb-law__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.nb-law__facts div { padding: 16px 18px; background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 14px; }
.nb-law__facts dt { font-size: clamp(1.375rem, 1.15rem + .8vw, 1.75rem); font-weight: 600; line-height: 1.2; color: var(--navy-900); }
.nb-law__facts dd { margin: 6px 0 0; font-size: var(--fs-small); line-height: 1.55; color: var(--text-muted); }
.nb-law__h { font-size: 1.1875rem; line-height: 1.35; color: var(--navy-900); margin-block-end: 10px; }
.nb-table-wrap { min-inline-size: 0; }
.nb-law__table { inline-size: 100%; border-collapse: collapse; font-size: var(--fs-body); }
.nb-law__table caption { text-align: start; font-weight: 600; font-size: 1.1875rem; color: var(--navy-900); padding-block-end: 10px; }
.nb-law__table th, .nb-law__table td { text-align: start; vertical-align: top; padding: 14px 12px; border-block-end: 1px solid var(--line); }
.nb-law__table thead th { padding-block: 10px; font-size: var(--fs-small); color: var(--text-muted); font-weight: 600; background: var(--surface-alt); }
.nb-law__table tbody th { inline-size: 36%; color: var(--navy-900); font-weight: 600; }
@media (max-width: 639.98px) {
  .nb-law__table thead { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nb-law__table tr { display: block; padding-block: 12px; border-block-end: 1px solid var(--line); }
  .nb-law__table th, .nb-law__table td { display: block; inline-size: auto; padding: 0; border: 0; }
  .nb-law__table tbody th { inline-size: auto; margin-block-end: 4px; }
}
.nb-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 900px) { .nb-ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; } }
.nb-ticks li { position: relative; padding-inline-start: 30px; }
.nb-ticks li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .3em; inline-size: 20px; block-size: 20px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231B6A93' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.nb-ticks b { color: var(--navy-900); }
.nb-law__ex { display: grid; gap: 14px; }
@media (min-width: 760px) { .nb-law__ex { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.nb-law__ex > div { padding: 16px 18px; background: var(--surface-alt); border: 1px solid var(--line); border-radius: 14px; }
.nb-law__ex p { color: var(--text-muted); }
.nb-law__box .nb-note { margin: 0; }
.nb-src { margin: 0; font-size: var(--fs-small); color: var(--text-muted); max-inline-size: none; }
.nb-src > span:first-child { font-weight: 600; color: var(--navy-900); }

/* ---------- the two buildings ---------- */
.nb-show { background: linear-gradient(180deg, #fff 0%, var(--nb-sky-2) 30%, var(--nb-sky-2) 100%); }
.nb-case { display: grid; gap: 22px; padding: clamp(16px, 3vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--nb-shadow); scroll-margin-block-start: 16px; }
.nb-case + .nb-case { margin-block-start: 28px; }
.nb-case__head { display: grid; gap: 8px; justify-items: start; }
.nb-case__head h3 { font-size: var(--fs-h3); color: var(--navy-900); }
.nb-case__grid { display: grid; gap: 22px; }
@media (min-width: 960px) { .nb-case__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: start; } }
.nb-case__info { display: grid; gap: 16px; min-inline-size: 0; }
.nb-case__cols { display: grid; gap: 16px; }
@media (min-width: 860px) { .nb-case__cols { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; } }
.nb-case__cols p + .nb-fine { margin-block-start: 10px; }
.nb-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.nb-stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nb-stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; padding: 12px 14px; background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 14px; }
.nb-stats dd { margin: 0; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.75rem); font-weight: 600; line-height: 1.15; color: var(--navy-900); text-align: start; }
.nb-stats dt { font-size: .875rem; line-height: 1.4; color: var(--text-muted); }
.nb-shade { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 16px; background: var(--nb-sun-soft); border-radius: 14px; }
.nb-shade b { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); line-height: 1.1; color: var(--nb-sun-ink); }
.nb-shade p { color: var(--text); font-size: var(--fs-small); line-height: 1.6; }

/* the 3D viewer box: a poster (and, with Save-Data, a load button) until the viewer mounts on approach */
.nb-viewer { position: relative; min-inline-size: 0; }
.nb-viewer__mount:not(.hv) { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 18px; background: radial-gradient(120% 90% at 50% 0%, #15233f 0%, #0b1220 65%); }
@media (max-width: 640px) { .nb-viewer__mount:not(.hv) { aspect-ratio: 4 / 5; } }
.nb-viewer--tall .nb-viewer__mount:not(.hv) { aspect-ratio: 4 / 5; }
.nb .nb-viewer--tall .hv-stage { aspect-ratio: 4 / 5; } /* a tall tower gets a tall stage at every width */
.nb-viewer__poster { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; opacity: .92; }
.nb-viewer__go {
  position: absolute; inset-inline: 0; inset-block-end: 16px; margin-inline: auto; inline-size: max-content; max-inline-size: calc(100% - 24px);
  display: inline-flex; align-items: center; gap: 6px; min-block-size: 44px; padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; background: rgba(13, 37, 49, .82); color: #fff;
  font: 600 .9375rem/1.2 var(--font); cursor: pointer;
}
.nb-viewer__go small { font-weight: 400; opacity: .8; }
.nb-viewer__go:hover { background: rgba(13, 37, 49, .95); }
.nb-viewer__go:focus-visible { outline: 3px solid var(--nb-sun); outline-offset: 2px; }
.no-js .nb-viewer__go { display: none; }
.nb-viewer.is-loading .nb-viewer__go { display: none; }

/* the monthly chart: the bars and the hairline grid are an inline SVG stretched to the plot box; the text and the hit
   targets are HTML over it, so the labels keep their size at every width. One series: no legend, the title names it.
   Bars <= 24px with a ~4px rounded data end, square at the baseline; only the peak and the low are labelled; every
   month has a tooltip (hover, tap, focus) and the table under the chart holds all twelve values. */
.nb-chart { margin: 0; padding: 14px 14px 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.nb-chart__head { display: grid; gap: 2px; margin-block-end: 4px; }
.nb-chart__head b { color: var(--navy-900); font-size: 1.0625rem; }
.nb-chart__head span { color: var(--text-muted); font-size: var(--fs-small); line-height: 1.5; }
.nb-chart__plot { --nb-chart-h: 180px; position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; padding-block: 22px 26px; }
@media (min-width: 640px) { .nb-chart__plot { --nb-chart-h: 200px; } }
.nb-chart__axis { position: relative; inline-size: 20px; block-size: var(--nb-chart-h); margin: 0; padding: 0; list-style: none; }
.nb-chart__axis li { position: absolute; inset-inline-start: 0; bottom: calc(var(--k) * 25%); transform: translateY(50%); font-size: 12px; line-height: 1; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.nb-chart__area { position: relative; block-size: var(--nb-chart-h); min-inline-size: 0; }
.nb-chart__svg { position: absolute; inset: 0; display: block; inline-size: 100%; block-size: 100%; overflow: visible; }
.nb-chart__grid .nb-gl { stroke: var(--line); stroke-width: 1; }
.nb-chart__grid .nb-base { stroke: var(--border-strong); stroke-width: 1; }
.nb-chart__bars path { fill: var(--blue-600); transition: fill var(--dur-1) var(--ease); }
.nb-chart__bars path.is-on { fill: var(--blue-800); }
.nb-chart__cols { position: absolute; inset: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.nb-col { position: relative; block-size: 100%; cursor: default; outline: none; }
.nb-col:focus-visible { box-shadow: inset 0 0 0 2px var(--blue-600); border-radius: 4px; }
.nb-mon { position: absolute; top: calc(100% + 7px); left: 50%; transform: translateX(-50%); font-size: 12px; line-height: 1; color: var(--text-muted); white-space: nowrap; }
@media (max-width: 420px) { .nb-col:nth-child(even) .nb-mon { visibility: hidden; } }
.nb-val { position: absolute; bottom: calc(var(--v) * 100% + 5px); left: 50%; transform: translateX(-50%); font-size: 13px; font-weight: 600; line-height: 1; color: var(--navy-900); white-space: nowrap; }
.nb-chart__tip {
  position: absolute; z-index: 2; transform: translate(-50%, calc(-100% - 8px)); pointer-events: none; white-space: nowrap;
  padding: 6px 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-2); text-align: center;
}
.nb-chart__tip b { display: block; color: var(--navy-900); font-size: .9375rem; line-height: 1.3; }
.nb-chart__tip span { display: block; color: var(--text-muted); font-size: .8125rem; line-height: 1.3; }
.nb-chart__table { margin-block-start: 6px; font-size: var(--fs-small); }
.nb-chart__table summary { cursor: pointer; color: var(--blue-700); font-weight: 600; inline-size: max-content; }
.nb-chart__table table { inline-size: 100%; margin-block-start: 8px; border-collapse: collapse; }
.nb-chart__table th, .nb-chart__table td { padding: 5px 8px; border-block-end: 1px solid var(--line); text-align: start; }
.nb-chart__table td { font-variant-numeric: tabular-nums; }

/* stills: one large and two small on a phone, three across from 640px */
.nb-stills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nb-stills figure { margin: 0; min-inline-size: 0; }
.nb-stills figure:first-child { grid-column: 1 / -1; }
@media (min-width: 640px) {
  .nb-stills { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .nb-stills figure:first-child { grid-column: auto; }
}
.nb-stills a { display: block; border-radius: 12px; overflow: hidden; }
.nb-stills img { inline-size: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #0b1220; transition: transform var(--dur-3) var(--ease); }
.nb-stills a:hover img { transform: scale(1.03); }
.nb-stills figcaption { margin-block-start: 6px; font-size: .875rem; line-height: 1.5; color: var(--text-muted); }

/* ---------- one case: the same roofs, two ways of calculating ---------- */
.nb-cs { background: var(--nb-sky-2); padding-block: 0 var(--space-8); }
.nb-cs__card { display: grid; gap: 20px; padding: clamp(18px, 3vw, 34px); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--nb-shadow); }
@media (min-width: 1000px) {
  .nb-cs__card { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 36px; align-items: start; }
  .nb-cs__card > .nb-fine { grid-column: 1 / -1; }
}
.nb-cs__text h2 { margin-block-end: 12px; color: var(--navy-900); }
.nb-cs__text p { color: var(--text); }
.nb-cs__card > .nb-fine { margin: 0; }
.nb-cs__table { inline-size: 100%; border-collapse: collapse; font-size: var(--fs-small); line-height: 1.5; }
.nb-cs__table th, .nb-cs__table td { padding: 11px 12px; text-align: start; vertical-align: top; border-block-end: 1px solid var(--line); }
.nb-cs__table thead th { font-weight: 600; color: var(--navy-900); background: var(--surface-alt); }
.nb-cs__table thead th.nb-cs__ours { background: var(--blue-100); }
.nb-cs__table tbody th { font-weight: 600; color: var(--navy-900); inline-size: 30%; }
.nb-cs__table td.nb-cs__ours { background: var(--blue-50); color: var(--navy-900); }
.nb-cs__table bdi { white-space: nowrap; }
@media (max-width: 639.98px) {
  .nb-cs__table thead { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nb-cs__table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding-block: 12px; border-block-end: 1px solid var(--line); }
  .nb-cs__table tbody th { grid-column: 1 / -1; inline-size: auto; padding: 0; border: 0; }
  .nb-cs__table td { display: block; padding: 8px 10px; border: 0; border-radius: 10px; background: var(--surface-alt); }
  .nb-cs__table td::before { content: attr(data-label); display: block; margin-block-end: 2px; font-size: .8125rem; font-weight: 600; color: var(--text-muted); }
}

/* ---------- process: seven steps ---------- */
.nb-steps { list-style: none; counter-reset: st; margin: 0; padding: 0; display: grid; gap: 0; }
.nb-steps li { counter-increment: st; position: relative; padding-block: 0 22px; padding-inline-start: 54px; }
.nb-steps li::before { content: counter(st); position: absolute; inset-inline-start: 0; inset-block-start: 0; display: grid; place-items: center; inline-size: 38px; block-size: 38px; border-radius: 50%; background: var(--blue-700); color: #fff; font-weight: 600; z-index: 1; }
.nb-steps li::after { content: ""; position: absolute; inset-inline-start: 18px; inset-block: 38px 0; inline-size: 2px; background: var(--blue-100); }
.nb-steps li:last-child { padding-block-end: 0; }
.nb-steps li:last-child::after { display: none; }
.nb-steps li:nth-child(4)::before { background: var(--nb-sun); color: var(--navy-900); }
.nb-steps h3 { font-size: 1.0625rem; line-height: 1.35; color: var(--navy-900); padding-block-start: 7px; }
.nb-steps p { margin-block-start: 4px; font-size: var(--fs-small); line-height: 1.55; color: var(--text-muted); }
@media (min-width: 1000px) {
  .nb-steps { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
  .nb-steps li { padding: 52px 0 0; }
  .nb-steps li::after { inset-inline-start: 38px; inset-inline-end: -14px; inset-block: 18px auto; inline-size: auto; block-size: 2px; }
  .nb-steps li:last-child::after { display: none; }
  .nb-steps h3 { padding-block-start: 0; }
}

/* ---------- FAQ ---------- */
.nb-faq__list { max-inline-size: 900px; }
.nb-faq details { border-block-end: 1px solid var(--line); }
.nb-faq details:first-child { border-block-start: 1px solid var(--line); }
.nb-faq summary { list-style: none; cursor: pointer; padding: 16px 0; padding-inline-end: 34px; position: relative; font-weight: 600; color: var(--navy-900); }
.nb-faq summary::-webkit-details-marker { display: none; }
.nb-faq summary::after { content: "+"; position: absolute; inset-inline-end: 4px; inset-block-start: 12px; font-size: 24px; color: var(--nb-sun-ink); }
.nb-faq details[open] summary::after { content: "−"; }
.nb-faq summary:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; }
.nb-faq details > p { margin: 0 0 10px; color: var(--text); max-inline-size: 75ch; }
.nb-faq .nb-faq__src { margin-block-end: 18px; font-size: .875rem; color: var(--text-muted); }

/* ---------- form ---------- */
.nb-form { background: linear-gradient(180deg, #fff 0%, var(--nb-sky-2) 100%); }
.nb-form .field > .muted.small { font-size: .875rem; }

/* the phone call bar (hod-expert.css): the number alone, so it stays on one line */
.nb-callbar .btn { white-space: nowrap; }

/* ==================== v3 (18.11): page A's new sections, and page B ==================== */
.nb-hero__more { margin: 0; font-size: var(--fs-small); color: var(--text-muted); max-inline-size: none; }
.nb-hero__more a { font-weight: 600; }
/* page B: a longer title beside a wide photo of the real complex */
.nb-hero--city h1 { font-size: clamp(1.875rem, 1.3rem + 2.1vw, 2.875rem); }
@media (min-width: 960px) { .nb-hero--city .nb-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.nb-hero__media--wide { max-inline-size: 680px; }
.nb-hero__media--wide img { aspect-ratio: 16 / 10; }

/* ---------- #journey: four stations, down on a phone and across from 1000px ---------- */
.nb-stations { list-style: none; margin: 0; padding: 0; display: grid; }
.nb-station { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 10px; padding-block-end: 22px; padding-inline-start: 56px; }
.nb-station:last-child { padding-block-end: 0; }
.nb-station__n { position: absolute; z-index: 1; inset-inline-start: 0; inset-block-start: 0; display: grid; place-items: center; inline-size: 40px; block-size: 40px; border-radius: 50%; background: var(--blue-700); color: #fff; font-weight: 600; }
.nb-station:last-child .nb-station__n { background: var(--nb-sun); color: var(--navy-900); }
.nb-station::after { content: ""; position: absolute; inset-inline-start: 19px; inset-block: 40px 0; inline-size: 2px; background: rgba(35, 126, 173, .35); }
.nb-station:last-child::after { display: none; }
.nb-station h3 { padding-block-start: 6px; font-size: 1.25rem; line-height: 1.3; color: var(--navy-900); }
.nb-station { grid-template-rows: auto auto 1fr; }
.nb-station__tag { font-size: .9375rem; line-height: 1.45; color: var(--text-muted); max-inline-size: none; }
.nb-station__card { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--nb-shadow-sm); }
.nb-station__q { font-size: 1.0625rem; font-weight: 600; line-height: 1.45; color: var(--navy-900); }
.nb-station__give { margin-block-start: auto; padding: 10px 12px; background: var(--blue-50); border-radius: 12px; font-size: .9375rem; line-height: 1.5; color: var(--text); }
.nb-station__give span { display: block; font-size: .8125rem; font-weight: 600; color: var(--blue-700); }
@media (min-width: 1000px) {
  .nb-stations { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .nb-station { padding: 56px 0 0; }
  .nb-station::after { inset-inline-start: 48px; inset-inline-end: -10px; inset-block: 19px auto; inline-size: auto; block-size: 2px; }
  .nb-station h3 { padding-block-start: 0; }
  .nb-station__tag { min-block-size: 2.9em; } /* one or two lines: the cards start level */
}
.nb-journey__note { margin-block-start: 18px; }

/* ---------- #types: six building types ---------- */
.nb-types__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .nb-types__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .nb-types__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.nb-type { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--nb-shadow-sm); }
.nb-type .nb-ic { inline-size: 46px; block-size: 46px; padding: 10px; border-radius: 12px; background: var(--blue-50); color: var(--blue-700); }
.nb-type h3 { font-size: 1.1875rem; line-height: 1.35; color: var(--navy-900); }
.nb-type p + p { margin-block-start: 0; }
.nb-type__rule { padding: 9px 12px; background: var(--blue-50); border-inline-start: 3px solid var(--blue-600); border-start-start-radius: 3px; border-end-start-radius: 3px; border-start-end-radius: 10px; border-end-end-radius: 10px; font-size: var(--fs-small); line-height: 1.55; color: var(--navy-900); }
.nb-type__why { color: var(--text-muted); }
.nb-type .link-arrow { margin-block-start: auto; padding-block-start: 2px; font-weight: 600; }
.nb-types__more { margin-block-start: 20px; color: var(--text-muted); max-inline-size: none; }
.nb-types__more a { font-weight: 600; }

/* ---------- #values (page A, ten), #gains (page B, seven), #other-side: an icon and one line each ---------- */
.nb-values__grid, .nb-other__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.nb-values__grid li, .nb-other__list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--nb-shadow-sm); }
.nb-values__grid .nb-ic, .nb-other__list .nb-ic { inline-size: 40px; block-size: 40px; padding: 9px; border-radius: 12px; background: var(--nb-sun-soft); color: var(--nb-sun-ink); }
.nb-other__list .nb-ic { background: var(--blue-50); color: var(--blue-700); }
.nb-values__grid p, .nb-other__list p { line-height: 1.55; color: var(--text-muted); }
.nb-values__grid b, .nb-other__list b { display: block; font-size: 1.0625rem; color: var(--navy-900); }
@media (min-width: 560px) { .nb-values__grid, .nb-other__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .nb-values__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .nb-other__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nb-values__grid li, .nb-other__list li { flex-direction: column; gap: 12px; padding: 18px; }
}
/* seven: one wide card over pairs; from 1100px three across, then four */
@media (min-width: 560px) and (max-width: 1099.98px) { .nb-values__grid--7 li:first-child { grid-column: 1 / -1; } }
@media (min-width: 1100px) {
  .nb-values__grid--7 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .nb-values__grid--7 li { grid-column: span 3; }
  .nb-values__grid--7 li:nth-child(-n+3) { grid-column: span 4; }
}

/* ---------- the case at a glance: two methods against the target, on one 0-110% scale (the dashed line is 100%) ---------- */
.nb-bars { --pad: 18px; position: relative; margin-block-start: 18px; padding: 18px var(--pad) 34px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.nb-bars__row + .nb-bars__row { margin-block-start: 16px; }
.nb-bars__label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 0 0 7px; font-size: var(--fs-small); line-height: 1.4; max-inline-size: none; }
.nb-bars__label b { color: var(--navy-900); font-size: 1rem; }
.nb-bars__label span { color: var(--text-muted); font-variant-numeric: tabular-nums; }
.nb-bars__track { position: relative; display: block; block-size: 24px; background: var(--surface-alt); border-radius: 6px; }
.nb-bars__fill, .nb-bars__range { position: absolute; inset-block: 0; display: block; }
.nb-bars__fill { inset-inline-start: 0; inline-size: calc(var(--p) / var(--max, 110) * 100%); border-start-end-radius: 6px; border-end-end-radius: 6px; }
.nb-bars__row--key .nb-bars__fill { background: #B9821C; border-start-end-radius: 0; border-end-end-radius: 0; }
.nb-bars__row--key .nb-bars__range { inset-inline-start: calc(var(--p) / var(--max, 110) * 100%); inline-size: calc((var(--p2) - var(--p)) / var(--max, 110) * 100%); background: repeating-linear-gradient(135deg, rgba(185, 130, 28, .7) 0 4px, rgba(185, 130, 28, .25) 4px 8px); border-start-end-radius: 6px; border-end-end-radius: 6px; }
.nb-bars__row--model .nb-bars__fill { background: var(--blue-600); }
.nb-bars__line { position: absolute; inset-block: 12px 26px; inset-inline-start: calc(var(--pad) + (100% - 2 * var(--pad)) * 100 / 110); border-inline-start: 2px dashed var(--navy-900); pointer-events: none; }
.nb-bars__line i { position: absolute; inset-block-end: -20px; inset-inline-start: -1px; transform: translateX(50%); font-style: normal; font-size: .75rem; font-weight: 600; color: var(--navy-900); white-space: nowrap; }

/* ---------- #team (page A, six) and #roles (page B, five): a role and one line ---------- */
.nb-team__grid, .nb-roles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.nb-team__grid li, .nb-roles li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; column-gap: 14px; row-gap: 4px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--nb-shadow-sm); }
.nb-team__grid .nb-ic, .nb-roles .nb-ic { grid-row: span 2; inline-size: 44px; block-size: 44px; padding: 10px; border-radius: 12px; background: var(--blue-50); color: var(--blue-700); }
.nb-team__grid h3, .nb-roles h3 { align-self: center; font-size: 1.125rem; line-height: 1.35; color: var(--navy-900); }
.nb-team__grid p, .nb-roles p { line-height: 1.55; color: var(--text-muted); }
@media (min-width: 640px) { .nb-team__grid, .nb-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .nb-team__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 1099.98px) { .nb-roles li:last-child { grid-column: 1 / -1; } }
@media (min-width: 1100px) {
  .nb-roles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .nb-roles li { grid-template-columns: minmax(0, 1fr); row-gap: 10px; }
  .nb-roles .nb-ic { grid-row: auto; }
  .nb-roles h3 { align-self: start; }
}

/* ---------- the submission checklist: page A #checklist, page B #toolkit step 2 ---------- */
.nb-gov { background: linear-gradient(180deg, #fff 0%, var(--blue-50) 100%); }
.nb-ask { padding: clamp(16px, 3vw, 28px); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--nb-shadow-sm); }
.nb-ask__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nb-ask__list li { display: flex; align-items: center; gap: 14px; padding: 10px 12px; background: var(--surface-alt); border: 1px solid var(--line); border-radius: 14px; }
.nb-ask__list .nb-ic { inline-size: 40px; block-size: 40px; padding: 8px; border-radius: 12px; background: var(--blue-100); color: var(--blue-700); }
.nb-ask__list span { font-weight: 500; line-height: 1.45; color: var(--navy-900); }
@media (min-width: 1000px) {
  .nb-checklist .container { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: 48px; align-items: center; }
  .nb-checklist .section-head { margin: 0; }
  .nb-checklist .nb-bridge { grid-column: 1 / -1; }
}
.nb-bridge { margin-block-start: 22px; font-size: 1.0625rem; color: var(--text); max-inline-size: 75ch; }
.nb-bridge a { font-weight: 600; }
.nb-ask--nested { padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.nb-ask--nested .nb-ask__list { gap: 6px; }
.nb-ask--nested .nb-ask__list li { gap: 10px; padding: 6px 10px; background: var(--blue-50); border-color: var(--blue-100); }
.nb-ask--nested .nb-ic { inline-size: 30px; block-size: 30px; padding: 5px; border-radius: 8px; background: #fff; }
.nb-ask--nested .nb-ask__list span { font-size: var(--fs-small); }
/* #gap: four lines where a kWh target gets stuck */
.nb-ask__list--gap li { align-items: flex-start; background: #fff; }
.nb-ask__list--gap .nb-ic { background: var(--nb-sun-soft); color: var(--nb-sun-ink); }
.nb-ask__list--gap span { padding-block-start: 8px; font-weight: 400; color: var(--text); }

/* ---------- page B #peers: three groups of city cards, each with its source ---------- */
.nb-peers__group + .nb-peers__group { margin-block-start: 30px; }
.nb-peers__h { display: flex; align-items: center; gap: 10px; margin-block-end: 12px; font-size: 1.25rem; line-height: 1.3; color: var(--navy-900); }
.nb-peers__h .nb-ic { inline-size: 36px; block-size: 36px; padding: 7px; border-radius: 10px; background: var(--nb-sun-soft); color: var(--nb-sun-ink); }
.nb-peers__group--plans .nb-peers__h .nb-ic { background: var(--blue-100); color: var(--blue-700); }
.nb-peers__group--ready .nb-peers__h .nb-ic { background: var(--surface-alt); color: var(--text-muted); }
.nb-peers__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .nb-peers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .nb-peers__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.nb-peer { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 14px; background: #fff; border: 1px solid var(--line); border-block-start: 4px solid var(--nb-sun); border-radius: 14px; box-shadow: var(--nb-shadow-sm); }
.nb-peers__group--plans .nb-peer { border-block-start-color: var(--blue-600); }
.nb-peers__group--ready .nb-peer { border-block-start-color: var(--border-strong); }
.nb-peer h4 { font-size: 1.1875rem; line-height: 1.3; color: var(--navy-900); }
.nb-peer p { font-size: var(--fs-small); line-height: 1.6; color: var(--text); }
.nb-peer__src { margin-block-start: auto; padding-block-start: 4px; font-size: .875rem; font-weight: 600; }
.nb-peer__src::after { content: " ↗"; font-weight: 400; }
.nb-nudge { margin-block-start: 30px; padding: 18px 22px; background: var(--nb-sun-soft); border-inline-start: 5px solid var(--nb-sun); border-start-start-radius: 4px; border-end-start-radius: 4px; border-start-end-radius: 16px; border-end-end-radius: 16px; font-size: clamp(1.1875rem, 1.05rem + .6vw, 1.5rem); font-weight: 600; line-height: 1.45; color: var(--navy-900); max-inline-size: none; }
.nb-peers .nb-fine a, .nb-floor__more a { font-weight: 600; }

/* ---------- page B #gap ---------- */
.nb-gap__grid { display: grid; gap: 18px; }
@media (min-width: 960px) {
  .nb-gap__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "list media" "kwh media"; align-items: start; column-gap: 28px; }
  .nb-gap__grid > .nb-ask__list--gap { grid-area: list; }
  .nb-gap__media { grid-area: media; }
  .nb-gap__grid > .nb-kwh { grid-area: kwh; }
}
.nb-example { display: grid; gap: 10px; justify-items: start; padding: clamp(18px, 3vw, 28px); background: linear-gradient(135deg, var(--blue-50) 0%, #fff 75%); border: 1px solid var(--blue-100); border-radius: 18px; box-shadow: var(--nb-shadow-sm); }
.nb-example h3 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; color: var(--navy-900); }
.nb-example h3 .nb-ic { color: var(--blue-600); }
.nb-example p { color: var(--text); }
.nb-example .link-arrow { font-weight: 600; }

/* ---------- page B #toolkit: six numbered steps, each with who already does it ---------- */
.nb-tsteps { list-style: none; counter-reset: ts; margin: 0; padding: 0; display: grid; gap: 12px; }
.nb-tsteps > li { counter-increment: ts; position: relative; display: grid; gap: 8px; padding: 18px 18px 18px 20px; padding-inline-start: 70px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--nb-shadow-sm); }
.nb-tsteps > li::before { content: counter(ts); position: absolute; inset-inline-start: 18px; inset-block-start: 16px; display: grid; place-items: center; inline-size: 36px; block-size: 36px; border-radius: 50%; background: var(--blue-700); color: #fff; font-weight: 600; }
.nb-tsteps h3 { font-size: 1.1875rem; line-height: 1.35; color: var(--navy-900); padding-block-start: 5px; }
.nb-tsteps p { color: var(--text-muted); }
.nb-tsteps p + p { margin-block-start: 0; }
.nb-tsteps .nb-done { padding: 9px 12px; background: var(--nb-sun-soft); border-radius: 10px; font-size: var(--fs-small); line-height: 1.55; color: var(--text); max-inline-size: none; }
.nb-done b { color: var(--nb-sun-ink); }
@media (max-width: 559.98px) {
  .nb-tsteps > li { padding-inline-start: 18px; padding-block-start: 62px; }
  .nb-tsteps h3 { padding-block-start: 0; }
}
@media (min-width: 960px) {
  .nb-tsteps > li { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: 28px; align-items: start; }
  .nb-tsteps > li > :not(.nb-done) { grid-column: 1; }
  .nb-tsteps > li > .nb-done { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}

/* ---------- page B #see: the two models side by side ---------- */
.nb-see__grid { display: grid; gap: 18px; }
@media (min-width: 760px) { .nb-see__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-inline-size: 1000px; } }
.nb-see__item { margin: 0; min-inline-size: 0; }
.nb-see__item figcaption { margin-block-start: 10px; }

/* ---------- page B #help ---------- */
.nb-sides { display: grid; gap: 14px; }
@media (min-width: 700px) { .nb-sides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.nb-side { display: grid; gap: 8px; align-content: start; padding: 22px; background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 18px; }
.nb-side--build { background: var(--nb-sun-soft); border-color: #F3DDB1; }
.nb-side .nb-ic { inline-size: 36px; block-size: 36px; color: var(--blue-700); }
.nb-side--build .nb-ic { color: var(--nb-sun-ink); }
.nb-side h3 { font-size: 1.1875rem; line-height: 1.35; color: var(--navy-900); }
.nb-side p { color: var(--text); }
.nb-cred { margin-block-start: 20px; padding-block-start: 16px; border-block-start: 1px solid var(--line); color: var(--text-muted); max-inline-size: none; }
.nb-faq__more { margin-block-start: 20px; }
.nb-faq__more a { font-weight: 600; }

/* ==================== v4 (18.11, 22:45): the visual pass - less text, real images, 3D from the first screen, colour ==================== */
.nb {
  --nb-sand: #F7EFE1;        /* the document band: navy-900 on it 13.9:1, text-muted 5.7:1, sun-ink 5.2:1 */
  --nb-sand-line: #E8D9BD;
  --nb-on-navy: #FFFFFF;     /* on navy-900: 15.8:1 (12.1:1 on the band's lighter top) */
  --nb-on-navy-muted: #C5D3DD;  /* on navy-900: 10.4:1 (7.9:1 on the lighter top) */
}
/* bands: sky for the journey and the gains, sand for the documents, navy for the 3D, white between them */
.nb-band-sky { background: linear-gradient(180deg, var(--nb-sky) 0%, var(--nb-sky-2) 55%, #fff 100%); }
.nb-band-sand { background: var(--nb-sand); }
.nb .nb-band-navy { background: radial-gradient(110% 70% at 50% 0%, #17394F 0%, var(--navy-900) 62%); color: var(--nb-on-navy); }
.nb-band-navy .section-head h2, .nb-band-navy .nb-case__head h3 { color: var(--nb-on-navy); }
.nb-band-navy .section-head p, .nb-band-navy .nb-stills figcaption, .nb-band-navy .nb-case > .nb-fine, .nb-band-navy .nb-see__item figcaption { color: var(--nb-on-navy-muted); }
.nb-band-navy .eyebrow { color: var(--sun-500); }  /* on navy-900: 7.8:1 (5.9:1 on the lighter top) */

/* ---------- 3D in the hero: the still is the frame; a tap mounts the model in it ---------- */
.nb-viewer--tap .nb-viewer__mount:not(.hv) { background: none; border-radius: 22px; }
/* the still fills the frame without sizing it: the frame's width comes from the column, its height from aspect-ratio */
.nb-viewer--tap .nb-viewer__mount:not(.hv) picture { position: absolute; inset: 0; display: block; }
.nb-viewer__still { display: block; inline-size: 100%; block-size: 100%; }
.nb-hero__media .nb-viewer__still { object-fit: cover; }
.nb-hero__media .hv { border-radius: 22px; box-shadow: var(--nb-shadow); }
.nb-viewer--hero-wide .nb-viewer__mount:not(.hv), .nb-viewer--hero-wide .hv-stage { aspect-ratio: 16 / 10; }
.nb-3d-btn { inset-block-end: 18px; min-block-size: 48px; padding: 10px 20px; gap: 8px; border: 0; background: var(--sun-500); color: var(--navy-900); font-size: 1.0625rem; font-weight: 700; box-shadow: 0 8px 24px rgba(13, 37, 49, .35); }
.nb-3d-btn:hover { background: #FFB840; }
.nb-3d-btn .nb-ic { inline-size: 22px; block-size: 22px; stroke-width: 2; }
/* the view buttons: under every viewer (in the hero, once the model is there) */
.nb-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 10px; }
.nb-presets button { min-block-size: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy-900); font: 600 .9375rem/1.2 var(--font); cursor: pointer; }
.nb-presets button:hover { background: var(--blue-50); }
.nb-presets button:focus-visible { outline: 3px solid var(--sun-500); outline-offset: 2px; }
.nb-band-navy .nb-presets button { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .32); color: var(--nb-on-navy); }
.nb-band-navy .nb-presets button:hover { background: rgba(255, 255, 255, .16); }
.nb-viewer--tap:not(.is-mounted) .nb-presets { display: none; }
/* the 3D bands: bigger viewers */
/* a definite width, so the minimum height does not widen the box through its aspect ratio */
.nb-band-navy .nb-viewer__mount:not(.hv), .nb-band-navy .hv-stage { inline-size: 100%; min-block-size: 380px; }
@media (min-width: 768px) { .nb-band-navy .nb-viewer__mount:not(.hv), .nb-band-navy .hv-stage { min-block-size: 520px; } }
/* #showcase on navy: the viewers sit on the band, the facts in white cards */
.nb-band-navy .nb-case { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.nb-band-navy .nb-case__info, .nb-band-navy .nb-case__cols { padding: clamp(14px, 2vw, 20px); background: #fff; border-radius: 18px; color: var(--text); }
@media (min-width: 960px) { .nb-band-navy .nb-case__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
@media (min-width: 860px) {
  .nb-band-navy .nb-case__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .nb-stats dd { white-space: nowrap; }
}
/* the case card rides over the edge of the navy band */
.nb-cs .nb-cs__card { position: relative; margin-block-start: clamp(-56px, -4vw, -28px); }

/* ---------- colour on the icon tiles: sun, sky blue and navy in turn ---------- */
.nb-values__grid li:nth-child(3n+2) .nb-ic, .nb-team__grid li:nth-child(3n+2) .nb-ic, .nb-roles li:nth-child(3n+2) .nb-ic, .nb-type:nth-child(3n+2) .nb-ic { background: var(--blue-100); color: var(--blue-700); }
.nb-values__grid li:nth-child(3n) .nb-ic, .nb-team__grid li:nth-child(3n) .nb-ic, .nb-roles li:nth-child(3n) .nb-ic, .nb-type:nth-child(3n) .nb-ic { background: var(--navy-900); color: #fff; }
.nb-values__grid li:nth-child(3n+1) .nb-ic, .nb-team__grid li:nth-child(3n+1) .nb-ic, .nb-roles li:nth-child(3n+1) .nb-ic, .nb-type:nth-child(3n+1) .nb-ic { background: var(--nb-sun-soft); color: var(--nb-sun-ink); }
/* #values as one-line tiles (the report below shows the deliverables) */
.nb-values__grid--lines { gap: 10px 24px; }
.nb-values__grid--lines li { flex-direction: row; align-items: center; gap: 12px; padding: 10px 14px; box-shadow: none; }
.nb-values__grid--lines .nb-ic { inline-size: 36px; block-size: 36px; padding: 8px; }
.nb-values__grid--lines p { color: var(--text); }
.nb-values__grid--lines b { display: inline; font-size: inherit; }
@media (min-width: 560px) { .nb-values__grid--lines { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 900px) { .nb-values__grid--lines { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- page A #snippets: sheets of paper with a highlighter (a row that scrolls on a phone, 3 + 4 from 1000px) ---------- */
.nb-papers { list-style: none; margin: 0; padding: 14px 4px 18px; display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; }
@media (min-width: 640px) { .nb-papers { grid-auto-columns: 46%; } }
@media (min-width: 1000px) {
  .nb-papers { grid-auto-flow: row; grid-template-columns: repeat(12, minmax(0, 1fr)); overflow: visible; padding-inline: 0; gap: 26px 22px; align-items: start; }
  .nb-paper { grid-column: span 4; }
  .nb-paper:nth-child(n+4) { grid-column: span 3; }
  .nb-paper:nth-child(2), .nb-paper:nth-child(5), .nb-paper:nth-child(7) { margin-block-start: 18px; }
}
.nb-paper { position: relative; scroll-snap-align: center; padding: 40px 20px 18px; transform: rotate(var(--r, 0deg)); background-color: #fff;
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(13, 37, 49, .07) 31px 32px); background-position: 0 40px;
  border-radius: 4px; box-shadow: 0 1px 2px rgba(13, 37, 49, .08), 0 14px 30px rgba(92, 64, 20, .14); }
.nb-paper::before { content: ""; position: absolute; inset-block-start: -9px; inset-inline-end: 22px; inline-size: 74px; block-size: 20px; background: rgba(245, 165, 36, .38); transform: rotate(-4deg); }
.nb-paper__tag { position: absolute; inset-block-start: 12px; inset-inline-start: 16px; padding: 2px 10px; border-radius: 999px; background: var(--nb-sun-soft); color: var(--nb-sun-ink); font-size: .8125rem; font-weight: 700; }
.nb-paper blockquote { margin: 0; }
.nb-paper p { font-size: 1.0625rem; line-height: 32px; color: var(--navy-900); max-inline-size: none; }
.nb-paper mark { padding-inline: 2px; color: inherit; background: linear-gradient(transparent 50%, rgba(255, 212, 0, .78) 50%, rgba(255, 212, 0, .78) 90%, transparent 90%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.nb-papers__line { margin-block-start: 22px; font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); font-weight: 600; color: var(--navy-900); max-inline-size: none; }

/* ---------- page A #report: a bento of the report's visuals, in coloured frames ---------- */
.nb-bento { display: grid; gap: 16px; }
.nb-bento__item { --tint: var(--blue-50); --tint-line: var(--blue-100); margin: 0; display: flex; flex-direction: column; gap: 8px; padding: 12px; background: var(--tint); border: 1px solid var(--tint-line); border-radius: 18px; }
.nb-bento__item:nth-child(2), .nb-bento__item:nth-child(6) { --tint: var(--nb-sun-soft); --tint-line: #F3DDB1; }
.nb-bento__item:nth-child(3) { --tint: var(--nb-sand); --tint-line: var(--nb-sand-line); }
.nb-bento__item:nth-child(5) { --tint: var(--navy-900); --tint-line: var(--navy-900); }
.nb-bento__item:nth-child(5) figcaption { color: var(--nb-on-navy); }
.nb-bento__item a { display: block; flex: 1 1 auto; overflow: hidden; border-radius: 10px; background: #fff; }
.nb-bento__item img { inline-size: 100%; block-size: 100%; object-fit: contain; background: #fff; transition: transform var(--dur-3) var(--ease); }
.nb-bento__item a:hover img { transform: scale(1.02); }
.nb-bento__item figcaption { font-size: .875rem; font-weight: 600; line-height: 1.4; color: var(--navy-900); }
.nb-bento__item--page img { aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
@media (min-width: 900px) {
  .nb-bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .nb-bento__item { grid-column: span 4; }
  .nb-bento__item--big { grid-column: span 6; grid-row: span 2; }
  .nb-bento__item:nth-child(2), .nb-bento__item:nth-child(3) { grid-column: span 6; }
  .nb-bento__item:nth-child(2) img, .nb-bento__item:nth-child(3) img { aspect-ratio: 16 / 9; }
  .nb-bento__item:nth-child(n+4) img { aspect-ratio: 4 / 3; }
  .nb-bento__item--big a { position: relative; }
  .nb-bento__item--big img { position: absolute; inset: 0; object-fit: cover; }
}
.nb-bento__note { margin-block-start: 14px; }

/* ---------- the national rule as three tiles (page A #law, page B #floor) ---------- */
.nb-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .nb-rules { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.nb-rule { --rule-c: var(--sun-500); --rule-bg: var(--nb-sun-soft); --rule-ink: var(--nb-sun-ink); position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px 22px 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--nb-shadow-sm); }
.nb-rule--biz { --rule-c: var(--blue-600); --rule-bg: var(--blue-100); --rule-ink: var(--blue-700); }
.nb-rule--res { --rule-c: var(--navy-900); --rule-bg: #E4E9ED; --rule-ink: var(--navy-900); }
.nb-rule::before { content: ""; position: absolute; inset-inline: 0; inset-block-start: 0; block-size: 6px; background: var(--rule-c); }
.nb-rule .nb-ic { inline-size: 50px; block-size: 50px; padding: 12px; border-radius: 14px; background: var(--rule-bg); color: var(--rule-ink); }
.nb-rule h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.3; color: var(--navy-900); }
.nb-rule p + p { margin-block-start: 0; }
.nb-rule__when { font-size: var(--fs-small); color: var(--text-muted); }
.nb-rule__what { font-weight: 600; color: var(--navy-900); }
.nb-rules__src { margin-block-start: 14px; }
.nb-more { margin-block-start: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.nb-more > summary { position: relative; list-style: none; cursor: pointer; padding: 14px 18px; padding-inline-end: 44px; font-weight: 600; color: var(--blue-700); }
.nb-more > summary::-webkit-details-marker { display: none; }
.nb-more > summary::after { content: "+"; position: absolute; inset-inline-end: 18px; inset-block-start: 9px; font-size: 24px; color: var(--nb-sun-ink); }
.nb-more[open] > summary::after { content: "−"; }
.nb-more[open] > summary { border-block-end: 1px solid var(--line); }
.nb-more > summary:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 16px; }
.nb-more .nb-law__box { border: 0; box-shadow: none; border-radius: 0 0 16px 16px; }
/* page A #cities: page B's city cards */
.nb-cities .nb-peers__grid { margin-block-start: 4px; }
.nb-cities__more { margin-block-start: 14px; font-weight: 600; }

/* ---------- page B #gap: the winter shadow and the shading map; the kWh-per-kW bars ---------- */
.nb-gap__media { display: grid; gap: 14px; }
.nb-gap__shot { margin: 0; }
.nb-gap__shot a { display: block; overflow: hidden; border-radius: 14px; background: #0B1220; box-shadow: var(--nb-shadow-sm); }
.nb-gap__shot img { inline-size: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform var(--dur-3) var(--ease); }
.nb-gap__shot a:hover img { transform: scale(1.02); }
.nb-gap__shot figcaption { margin-block-start: 6px; font-size: .875rem; color: var(--text-muted); }
.nb-kwh { gap: 12px; }
.nb-kwh .nb-bars { margin: 0; inline-size: 100%; }
.nb-bars--kwh { --max: 1700; padding-block-end: 18px; }

/* ---------- page B #good-submission: the five checklist items as five report images ---------- */
.nb-good__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.nb-good__grid > li:last-child { grid-column: 1 / -1; }
@media (min-width: 1000px) { .nb-good__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; } .nb-good__grid > li:last-child { grid-column: auto; } }
.nb-good__grid figure { margin: 0; display: flex; flex-direction: column; gap: 8px; block-size: 100%; padding: 10px; background: #fff; border-radius: 16px; box-shadow: 0 10px 24px rgba(92, 64, 20, .12); }
.nb-good__grid a { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.nb-good__grid img { inline-size: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }
.nb-good__grid > li:last-child img { object-fit: cover; object-position: top; }
.nb-good__grid figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: .9375rem; line-height: 1.35; color: var(--navy-900); }
.nb-good__n { display: grid; place-items: center; inline-size: 26px; block-size: 26px; flex: none; border-radius: 50%; background: var(--blue-700); color: #fff; font-size: .8125rem; font-weight: 700; }
.nb-good__sub { flex-basis: 100%; font-size: .8125rem; color: var(--text-muted); }
.nb-good__line { margin-block-start: 22px; font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); font-weight: 600; color: var(--navy-900); max-inline-size: none; }

/* ---------- v4, ADDENDUM 2: our own illustrations (page A's #snippets strip, page B's #today and #gap) ---------- */
.nb-ills-wrap { margin-block-start: 34px; }
.nb-ills__title { margin-block-end: 12px; font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.375rem); color: var(--navy-900); }
.nb-ills { display: grid; gap: 16px; }
@media (min-width: 1000px) { .nb-ills { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; } }
.nb-ill { margin: 0; display: flex; flex-direction: column; gap: 8px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--nb-shadow-sm); }
.nb-band-sand .nb-ill { border-color: var(--nb-sand-line); box-shadow: 0 8px 20px rgba(92, 64, 20, .10); }
.nb-ill svg { display: block; inline-size: 100%; block-size: auto; }
.nb-ill__tag { inline-size: max-content; padding: 1px 10px; border-radius: 999px; background: var(--nb-sun-soft); color: var(--nb-sun-ink); font-size: .8125rem; font-weight: 700; }
.nb-ill__title { font-size: 1.0625rem; font-weight: 600; color: var(--navy-900); max-inline-size: none; }
.nb-ill figcaption { font-size: .9375rem; line-height: 1.45; color: var(--text); }
.nb-today__line { margin-block-start: 18px; font-size: 1.0625rem; font-weight: 600; color: var(--navy-900); max-inline-size: none; }
/* page B #gap: a uniform key's fixed shading (our illustration) next to our hourly shading map, method against method */
.nb-gap__pair { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .nb-gap__pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .nb-gap__grid { grid-template-areas: "list media" "kwh media" "pair pair"; } .nb-gap__grid > .nb-gap__pair { grid-area: pair; } }
.nb-gap__pair > li { display: flex; }
.nb-gap__pair .nb-ill, .nb-gap__pair figure { flex: 1 1 auto; margin: 0; display: flex; flex-direction: column; gap: 8px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--nb-shadow-sm); }
.nb-gap__pair a { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.nb-gap__pair figcaption { font-size: .9375rem; line-height: 1.45; color: var(--text); }
.nb-gap__pair img { inline-size: 100%; aspect-ratio: 480 / 300; object-fit: contain; background: #fff; transition: transform var(--dur-3) var(--ease); }
.nb-gap__pair a:hover img { transform: scale(1.02); }

@media (prefers-reduced-motion: reduce) {
  .nb-stills img, .nb-bento img, .nb-gap__shot img, .nb-gap__pair img { transition: none; }
  .nb-stills a:hover img { transform: none; }
}
