/* src/styles/portal.css */
/* Mijn omgeving (NMR - Klantportaal). Form fields come from .nmr-contact-form; colors and sizes from the site tokens. Source: nmr-dev-assets/instatic-plugin-portal/site/portal.css
   Scope is all pages: page-scoped stylesheets are not included in the published userStyles bundle. */
/* Logged in: the page hero keeps its header clearance on top but loses the intro and most of its height. */
.nmr-ph-wrap.nmr-pt-compact .nmr-ph { padding-bottom: var(--space-l); }
.nmr-ph-wrap.nmr-pt-compact .nmr-ph h1 { font-size: clamp(30px, 20px + 2vw, 46px); }
.nmr-ph-wrap.nmr-pt-compact .nmr-ph-lead { display: none; }
.nmr-sec.nmr-pt-tight { padding-top: var(--space-l); }
/* Loading placeholder */
.nmr-pt-skel { display: grid; gap: 12px; }
.nmr-pt-skel span { display: block; border-radius: 8px; background: var(--band); animation: nmr-pt-pulse 1.4s ease-in-out infinite; }
.nmr-pt-skel-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--space-xl); margin-top: var(--space-m); }
.nmr-pt-skel-grid > div { display: grid; gap: 12px; align-content: start; }
@keyframes nmr-pt-pulse { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .nmr-pt-skel span { animation: none; } }
@media (max-width: 1080px) { .nmr-pt-skel-grid { grid-template-columns: 1fr; } }
.nmr-portal { min-height: 360px; font-variant-numeric: tabular-nums; }
/* Elements with display rules of their own (fields are grid) must still disappear when hidden. */
.nmr-portal [hidden] { display: none !important; }
.nmr-portal[aria-busy="true"] { opacity: .55; transition: opacity .2s; }
.nmr-portal h3 { margin: 0; font-family: var(--font-heading); font-weight: 600; letter-spacing: -.01em; color: var(--copy); }
.nmr-pt-ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nmr-pt-meta, .nmr-pt-note, .nmr-pt-field small { margin: 0; color: var(--text-muted); font-size: var(--fs-s); line-height: 1.5; }
.nmr-portal a:not(.nmr-btn), .nmr-pt-link { color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.nmr-pt-link, .nmr-contact-form .nmr-pt-link { background: none; border: 0; padding: 0; min-height: 0; font: inherit; font-size: var(--fs-s); font-weight: 600; cursor: pointer; }
/* The site's form buttons are white-on-pink with a lift on hover; links inside a form must stay links. */
.nmr-contact-form .nmr-pt-link, .nmr-contact-form .nmr-pt-link:hover { color: var(--accent-text); background: none; box-shadow: none; transform: none; border-radius: 0; }
.nmr-contact-form .nmr-pt-link.nmr-pt-quiet-link { color: var(--text-muted); }
.nmr-contact-form .nmr-pt-submit:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.nmr-pt-link:hover, .nmr-portal a:not(.nmr-btn):hover { text-decoration-thickness: 2px; }
.nmr-pt-link:focus-visible, .nmr-pt-dom summary:focus-visible, .nmr-pt-tasks button:focus-visible, .nmr-pt-done summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.nmr-pt-error { margin: 0; color: #b91c1c; font-size: var(--fs-s); }
.nmr-pt-narrow { max-width: 620px; }
.nmr-pt-entry { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 460px); gap: var(--space-xl); align-items: start; }
.nmr-pt-intro .nmr-h2 { max-width: 14ch; }
.nmr-pt-ticks { list-style: none; margin: var(--space-m) 0 0; padding: 0; display: grid; gap: var(--space-s); max-width: 46ch; }
.nmr-pt-ticks li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-tertiary); line-height: 1.6; }
.nmr-pt-ticks .nmr-pt-ico { color: var(--accent-text); margin-top: 3px; }
.nmr-pt-login { display: grid; gap: var(--space-s); }
div.nmr-pt-login { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: var(--space-l); }
.nmr-pt-login h3 { font-size: var(--fs-xl); }
.nmr-pt-login p { margin: 0; line-height: 1.6; }
.nmr-pt-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-s) var(--space-m); padding-bottom: var(--space-m); margin-bottom: var(--space-l); border-bottom: 1px solid var(--border-strong); }
.nmr-pt-title { margin: 4px 0 0; font-family: var(--font-heading); font-weight: 600; font-size: clamp(30px, 22px + 1.6vw, 44px); line-height: 1.05; letter-spacing: -.03em; color: var(--copy); }
.nmr-pt-intro-text { margin: 10px 0 0; max-width: 62ch; color: var(--text-tertiary); line-height: 1.6; }
.nmr-pt-top-actions { display: flex; align-items: center; gap: var(--space-m); }
.nmr-contact-form.nmr-pt-switch { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; }
.nmr-pt-switch select { margin-top: 0; min-width: 240px; }
.nmr-pt-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--space-xl); align-items: start; }
.nmr-pt-main { display: grid; gap: var(--space-l); min-width: 0; }
.nmr-pt-side { display: grid; gap: var(--space-m); position: sticky; top: 120px; }
.nmr-pt-block-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-s); margin-bottom: var(--space-s); }
.nmr-pt-block-head h3, .nmr-pt-side-block h3 { font-size: var(--fs-xl); }
.nmr-pt-state { border-radius: 18px; padding: var(--space-m) var(--space-l); background: var(--card); border: 1px solid var(--border); }
.nmr-pt-state h3 { display: flex; align-items: center; gap: 10px; font-size: var(--fs-l); }
.nmr-pt-state[data-tone="ok"] h3 .nmr-pt-ico { color: #15803d; }
.nmr-pt-state[data-tone="warn"] { background: rgba(217, 119, 6, .08); border-color: rgba(217, 119, 6, .32); }
.nmr-pt-state[data-tone="warn"] h3 .nmr-pt-ico { color: #a14a07; }
.nmr-pt-state p, .nmr-pt-state ul { margin: 8px 0 0 30px; color: var(--text-tertiary); line-height: 1.6; }
.nmr-pt-state ul { padding: 0; list-style: none; display: grid; gap: 4px; }
.nmr-pt-state li[data-tone="warn"] { color: var(--copy); font-weight: 500; }
.nmr-pt-status { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-s); color: var(--copy); white-space: nowrap; }
.nmr-pt-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); flex: none; }
.nmr-pt-status[data-tone="ok"]::before { background: #16a34a; }
.nmr-pt-status[data-tone="warn"]::before { background: #d97706; }
.nmr-pt-status[data-tone="none"] { color: var(--text-muted); }
.nmr-pt-status[data-tone="bad"]::before { background: #dc2626; }
.nmr-pt-dot { margin: 0 8px; }
/* Tabs: one card, like the status box above it. The tab row is the card's header; the accent underline sits on its rule. */
.nmr-pt-tabwrap { --pt-pad: var(--space-l); min-width: 0; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 0 var(--space-l) var(--space-m); }
.nmr-pt-tabs { display: flex; gap: 4px; margin: 0 calc(var(--space-l) * -1) var(--space-s); padding: 4px calc(var(--space-l) - 10px) 0; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.nmr-pt-tabs::-webkit-scrollbar { display: none; }
.nmr-pt-tabs button { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 18px 14px 17px; background: none; border: 0; border-radius: 0;
  font: 600 var(--fs-m)/1 var(--font-heading); letter-spacing: -.01em; color: var(--text-muted); cursor: pointer; transition: color .15s, background-color .15s; }
.nmr-pt-tabs button:hover { color: var(--copy); }
.nmr-pt-tabs button[aria-selected="true"] { color: var(--copy); }
.nmr-pt-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; border-radius: 2px 2px 0 0; background: var(--accent); }
.nmr-pt-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.nmr-pt-count { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--band); color: var(--text-tertiary); font: 600 12px/1 var(--font-body); }
.nmr-pt-tabs button[aria-selected="true"] .nmr-pt-count { background: var(--accent-10); color: var(--accent-text); }
.nmr-pt-count[data-tone="warn"], .nmr-pt-tabs button[aria-selected="true"] .nmr-pt-count[data-tone="warn"] { background: rgba(217, 119, 6, .14); color: #a14a07; }
.nmr-pt-panel:focus { outline: none; }
/* Inside the card: no rules doubling the header, no last rule against the card edge, no box in a box. */
.nmr-pt-tabwrap .nmr-pt-domlist, .nmr-pt-tabwrap .nmr-pt-reqs { border-top: 0; }
.nmr-pt-tabwrap .nmr-pt-domlist > details:last-of-type, .nmr-pt-tabwrap .nmr-pt-reqs > li:last-child { border-bottom: 0; }
.nmr-pt-tabwrap .nmr-pt-empty { border: 0; padding: var(--space-s) 4px; }
.nmr-pt-tabwrap .nmr-pt-inv { border: 0; border-radius: 0; background: none; }
.nmr-pt-tabwrap .nmr-pt-inv th { background: none; padding-top: 10px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.nmr-pt-tabwrap .nmr-pt-inv th:first-child, .nmr-pt-tabwrap .nmr-pt-inv td:first-child { padding-left: 4px; }
.nmr-pt-tabwrap .nmr-pt-inv th:last-child, .nmr-pt-tabwrap .nmr-pt-inv td:last-child { padding-right: 4px; }
.nmr-pt-tabwrap .nmr-pt-inv-sum { padding: var(--space-xs) 4px 0; }
.nmr-pt-tabwrap .nmr-pt-block > .nmr-pt-note:last-child { padding: 0 4px; }
.nmr-pt-tabwrap .nmr-pt-done { padding: 0 4px; }
.nmr-pt-dom summary .nmr-pt-status { white-space: normal; }
/* Domain rows run edge to edge in the card, like the tab rule: hover is a light straight band between the dividers. */
.nmr-pt-tabwrap .nmr-pt-domlist { margin: 0 calc(var(--pt-pad) * -1); }
.nmr-pt-tabwrap .nmr-pt-domhead { padding-left: calc(var(--pt-pad) + 4px); padding-right: calc(var(--pt-pad) + 4px); }
.nmr-pt-tabwrap .nmr-pt-dom summary { padding-left: calc(var(--pt-pad) + 4px); padding-right: calc(var(--pt-pad) + 4px); border-radius: 0; }
.nmr-pt-tabwrap .nmr-pt-dom summary:hover { background: color-mix(in srgb, var(--band) 45%, transparent); }
/* An open domain is one recessed paper well: its row and its details share the page tone, no cards inside the card. */
.nmr-pt-tabwrap .nmr-pt-dom[open] > summary, .nmr-pt-tabwrap .nmr-pt-dom[open] > summary:hover { background: var(--bg); }
.nmr-pt-tabwrap .nmr-pt-dom[open] > .nmr-pt-dom-body { background: var(--bg); padding-top: var(--space-2xs); padding-bottom: var(--space-l); gap: var(--space-m); }
/* Soft inner shade at the top and bottom edge, so the well reads as opened into the card, not as page showing through. */
.nmr-pt-tabwrap .nmr-pt-dom[open] > summary { box-shadow: inset 0 12px 14px -14px rgba(13, 13, 19, .22); }
.nmr-pt-tabwrap .nmr-pt-dom[open] > .nmr-pt-dom-body { box-shadow: inset 0 -12px 14px -14px rgba(13, 13, 19, .22); }
.nmr-pt-tabwrap .nmr-pt-dom summary:focus-visible { outline-offset: -2px; border-radius: 0; }
.nmr-pt-tabwrap .nmr-pt-dom-body { padding-left: calc(var(--pt-pad) + 4px); padding-right: calc(var(--pt-pad) + 4px); }
.nmr-pt-tabwrap .nmr-pt-dom-alias summary { padding-left: calc(var(--pt-pad) + 30px); }
.nmr-pt-tabwrap .nmr-pt-dom-alias summary::before { left: calc(var(--pt-pad) + 12px); }
.nmr-pt-tabwrap .nmr-pt-alias-toggle { margin-left: calc(var(--pt-pad) + 30px); }
/* Long domain lists: search, and alias rows folded under their website. */
.nmr-pt-domsearch { position: relative; margin-bottom: var(--space-s); max-width: 360px; }
.nmr-pt-domsearch .nmr-pt-ico { position: absolute; left: 12px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.nmr-pt-domsearch input { width: 100%; box-sizing: border-box; height: 42px; padding: 0 12px 0 38px; font: inherit; font-size: var(--fs-s); color: var(--copy); background: var(--bg); border: 1.5px solid var(--border-strong); border-radius: 12px; }
.nmr-pt-domsearch input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(226, 31, 138, .15); }
.nmr-pt-alias-toggle { display: block; margin: -4px 0 8px 30px; padding: 4px 0; background: none; border: 0; font: 600 13px/1.4 var(--font-body); color: var(--text-muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.nmr-pt-alias-toggle:hover { color: var(--copy); }
.nmr-pt-alias-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.nmr-pt-domnone { margin-top: var(--space-s); }
/* Invoices */
.nmr-pt-inv-sum { margin-bottom: var(--space-s); }
.nmr-pt-inv-sum p { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.nmr-pt-inv-sum strong { font-family: var(--font-heading); font-weight: 600; font-size: var(--fs-xl); letter-spacing: -.01em; color: var(--copy); }
.nmr-pt-inv-sum small { color: var(--text-muted); font-size: var(--fs-xs); }
.nmr-pt-inv-sum .nmr-pt-k { width: 100%; }
.nmr-pt-inv td { vertical-align: middle; }
.nmr-pt-inv td:first-child { font-variant-numeric: tabular-nums; }
.nmr-pt-inv td small { color: var(--text-muted); }
.nmr-pt-inv-due { display: block; margin-top: 2px; font-size: 12px; }
.nmr-pt-inv td:last-child { text-align: right; white-space: nowrap; }
.nmr-pt-inv .nmr-pt-link { display: inline-flex; align-items: center; gap: 4px; }
.nmr-pt-inv .nmr-pt-link .nmr-pt-ico { width: 15px; height: 15px; }
.nmr-pt-inv .nmr-pt-link:disabled { color: var(--text-muted); cursor: progress; }
.nmr-pt-inv-msg { margin-top: var(--space-xs); }
.nmr-pt-inv + .nmr-pt-inv-msg + .nmr-pt-note { margin-top: var(--space-s); }
.nmr-pt-domlist { border-top: 1px solid var(--border-strong); }
.nmr-pt-domhead, .nmr-pt-dom summary { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.25fr) minmax(0, 1fr) 120px 20px; gap: var(--space-s); align-items: center; }
.nmr-pt-domhead { padding: 10px 4px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.nmr-pt-dom { border-bottom: 1px solid var(--border); }
.nmr-pt-dom summary { list-style: none; cursor: pointer; padding: 16px 4px; transition: background-color .15s; border-radius: 8px; }
.nmr-pt-dom summary::-webkit-details-marker { display: none; }
.nmr-pt-dom summary:hover { background: var(--band); }
.nmr-pt-dom-name { font-family: var(--font-heading); font-weight: 600; font-size: var(--fs-m); overflow-wrap: anywhere; color: var(--copy); }
.nmr-pt-num { font-size: var(--fs-s); color: var(--text-tertiary); }
.nmr-pt-chev { width: 9px; height: 9px; border-right: 1.6px solid var(--text-muted); border-bottom: 1.6px solid var(--text-muted); transform: rotate(45deg) translateY(-3px); transition: transform .2s; justify-self: center; }
.nmr-pt-dom[open] .nmr-pt-chev { transform: rotate(225deg) translateY(-3px); }
.nmr-pt-dom-body { padding: 4px 4px 22px; display: grid; gap: var(--space-s); }
.nmr-pt-facts { margin: 0; display: grid; gap: 6px; }
.nmr-pt-facts > div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; font-size: var(--fs-s); line-height: 1.55; }
.nmr-pt-facts dt { color: var(--text-muted); }
.nmr-pt-facts dd { margin: 0; color: var(--copy); }
.nmr-pt-dom-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
/* The records toggle says where it stands: a chevron that turns, and the pill fills with ink while open (like a selected choice). */
.nmr-pt-dom-actions [data-act="dns-open"] .nmr-pt-ico { width: 16px; height: 16px; transition: transform .2s cubic-bezier(.22, 1, .36, 1); }
.nmr-pt-dom-actions [data-act="dns-open"][aria-expanded="true"], .nmr-pt-dom-actions [data-act="dns-open"][aria-expanded="true"]:hover { background: var(--copy); border-color: var(--copy) !important; color: var(--bg) !important; }
.nmr-pt-dom-actions [data-act="dns-open"][aria-expanded="true"] .nmr-pt-ico { transform: rotate(180deg); }
.nmr-pt-link.nmr-pt-quiet { color: var(--text-muted); font-weight: 500; margin-left: auto; }
/* Alias rows hang under their website with a thin tree line. */
.nmr-pt-dom-alias summary { position: relative; padding-left: 30px; }
.nmr-pt-dom-alias summary::before { content: ""; position: absolute; left: 12px; top: -1px; height: 50%; width: 10px; border-left: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong); border-bottom-left-radius: 4px; }
.nmr-pt-dom-alias .nmr-pt-dom-name { font-weight: 500; font-size: var(--fs-s); }
/* Expanded domain: three blocks (website, e-mail, domain) */
.nmr-pt-blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: var(--space-s) 0; border-bottom: 1px solid var(--border); }
.nmr-pt-blk { display: grid; gap: var(--space-2xs); align-content: start; min-width: 0; padding: 0 var(--space-m); }
.nmr-pt-blk:first-child { padding-left: 0; }
.nmr-pt-blk:last-child { padding-right: 0; }
.nmr-pt-blk + .nmr-pt-blk { border-left: 1px solid var(--border); }
.nmr-pt-blk h4 { margin: 0 0 2px; font-family: var(--font-heading); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.nmr-pt-blk p { margin: 0; font-size: var(--fs-s); line-height: 1.55; color: var(--text-tertiary); overflow-wrap: anywhere; }
.nmr-pt-blk .nmr-pt-blk-status { color: var(--copy); font-weight: 500; }
.nmr-pt-blk .nmr-pt-status { white-space: normal; }
.nmr-pt-blk a { display: inline-flex; align-items: center; gap: 4px; }
.nmr-pt-blk a .nmr-pt-ico, .nmr-pt-dnsed-tools .nmr-pt-ico { width: 15px; height: 15px; }
.nmr-pt-k { display: block; font-size: 12px; color: var(--text-muted); }
.nmr-pt-link.nmr-pt-quiet-link { color: var(--text-muted); font-weight: 500; }
/* DNS editor */
.nmr-pt-dnsed { display: grid; gap: 10px; }
.nmr-pt-dnsed-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.nmr-pt-dnsed-head h4 { margin: 0; font-size: var(--fs-s); font-weight: 600; color: var(--copy); }
.nmr-pt-dnsed-tools { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.nmr-pt-dnsed-tools .nmr-pt-link { display: inline-flex; align-items: center; gap: 4px; }
.nmr-pt-dnsed-table td:last-child { overflow-wrap: normal; }
.nmr-pt-dnsed-table td:nth-child(3) { overflow-wrap: anywhere; }
/* Fixed columns, so TTL and the actions never wrap and an edit row lines up with the rows above it. */
.nmr-pt-dnsed-table table { table-layout: fixed; }
.nmr-pt-dnsed-table th:nth-child(1) { width: 112px; }
.nmr-pt-dnsed-table th:nth-child(2) { width: 22%; }
.nmr-pt-dnsed-table th:nth-child(4) { width: 112px; }
.nmr-pt-dnsed-table th:nth-child(5) { width: 172px; }
.nmr-pt-dnsed-table td:nth-child(2) { overflow-wrap: anywhere; }
.nmr-pt-dnsed-table td:nth-child(4) { white-space: nowrap; }
.nmr-pt-dnsed-table .nmr-pt-dns-editrow td { vertical-align: middle; }
.nmr-pt-dns-acts { white-space: nowrap; text-align: right; }
.nmr-pt-dnsed-table tr[data-status="weg"] td:nth-child(n+2):not(.nmr-pt-dns-acts) { color: var(--text-muted); text-decoration: line-through; }
.nmr-pt-dnsed-table tr[data-status="weg"] td:first-child { color: var(--text-muted); }
.nmr-pt-dnsed-table tr[data-status="nieuw"], .nmr-pt-dnsed-table tr[data-status="gewijzigd"] { background: var(--accent-5); }
.nmr-pt-dnsed-table .nmr-pt-pill { display: block; width: fit-content; margin: 4px 0 0; font-size: 11px; padding: 1px 8px; white-space: nowrap; }
.nmr-pt-dnsed input, .nmr-pt-dnsed select, .nmr-pt-dns-note { width: 100%; box-sizing: border-box; font: inherit; font-size: 13px; color: var(--copy); background: var(--bg); border: 1.5px solid var(--border-strong); border-radius: 10px; padding: 7px 10px; }
.nmr-pt-dnsed input:focus, .nmr-pt-dnsed select:focus, .nmr-pt-dns-note:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(226, 31, 138, .15); }
/* Record names and values are data: set in the site's Space Mono, long ones folded. */
.nmr-pt-dnsed-table td:nth-child(2), .nmr-pt-dns-v, .nmr-pt-dns-editrow input[name="naam"], .nmr-pt-dns-editrow input[name="waarde"] { font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: var(--fs-xs); }
.nmr-pt-dns-v { display: block; line-height: 1.6; }
.nmr-pt-dns-v.is-long:not(.is-open) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.nmr-pt-dnsed-table .nmr-pt-dns-more { margin-top: 2px; font-size: var(--fs-xs); }
.nmr-pt-dns-val { display: flex; gap: 6px; }
.nmr-pt-dns-val .nmr-pt-prio { width: 64px; flex: none; }
/* Same height for every field; Safari ignores padding on native selects, so draw them ourselves. */
.nmr-portal .nmr-pt-dnsed input, .nmr-portal .nmr-pt-dnsed select { height: 38px; margin: 0; line-height: 1.2; }
.nmr-portal .nmr-pt-dnsed select { -webkit-appearance: none; appearance: none; padding-right: 28px; text-overflow: ellipsis; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2380808f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 11px 8px; }
.nmr-pt-dnsed-foot { display: grid; gap: 8px; padding: 14px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); }
.nmr-pt-dnsed-foot p { margin: 0; font-size: var(--fs-s); }
.nmr-pt-dnsed-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.nmr-pt-dash { color: var(--text-muted); }
.nmr-pt-dom-form:empty { display: none; }
.nmr-pt-form-inline { padding: var(--space-m); border-radius: 14px; }
.nmr-pt-form-inline .nmr-pt-formhead h3 { font-size: var(--fs-l); }
.nmr-pt-state li .nmr-pt-link { margin-left: 6px; }
.nmr-pt-mb h4 { margin: 4px 0 8px; font-size: var(--fs-s); font-weight: 600; color: var(--copy); }
.nmr-pt-mb ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: 12px; background: var(--card); }
.nmr-pt-mb li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px 18px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: var(--fs-s); }
.nmr-pt-mb li:last-child { border-bottom: 0; }
.nmr-pt-mb li .nmr-pt-link { white-space: nowrap; }
.nmr-pt-mb-addr { overflow-wrap: anywhere; color: var(--copy); font-weight: 500; }
.nmr-pt-mb-use { color: var(--text-muted); white-space: nowrap; }
.nmr-btn.nmr-pt-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.nmr-pt-table { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; background: var(--card); }
.nmr-pt-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.nmr-pt-table th { text-align: left; color: var(--text-muted); font-weight: 500; background: var(--band); }
.nmr-pt-table th, .nmr-pt-table td { padding: 9px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.nmr-pt-table tr:last-child td { border-bottom: 0; }
.nmr-pt-table td:first-child { font-weight: 600; white-space: nowrap; }
.nmr-pt-table td:last-child { overflow-wrap: anywhere; }
.nmr-pt-empty { border: 1px dashed var(--border-strong); border-radius: 18px; padding: var(--space-m) var(--space-l); color: var(--text-tertiary); }
.nmr-pt-empty h3 { margin-bottom: 8px; font-size: var(--fs-l); }
.nmr-pt-empty p { margin: 0; line-height: 1.6; }
.nmr-pt-reqs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border-strong); }
.nmr-pt-req { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px var(--space-m); align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--border); }
.nmr-pt-req-title { margin: 0; font-weight: 500; color: var(--copy); overflow-wrap: anywhere; }
.nmr-pt-reply { margin: 10px 0 0; padding: 10px 14px; background: var(--band); border-radius: 12px; color: var(--text-tertiary); font-size: var(--fs-s); line-height: 1.55; white-space: pre-wrap; }
.nmr-pt-reply strong { color: var(--copy); font-weight: 600; }
.nmr-pt-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nmr-pt-steps li { position: relative; padding-top: 12px; min-width: 92px; font-size: 12px; color: var(--text-muted); }
.nmr-pt-steps li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 4px; background: var(--border); }
.nmr-pt-steps li[data-done]::before { background: var(--text-muted); }
.nmr-pt-steps li[data-current] { color: var(--copy); font-weight: 600; }
.nmr-pt-steps li[data-current]::before { background: var(--accent); }
.nmr-pt-done { margin-top: var(--space-s); }
.nmr-pt-done summary { cursor: pointer; font-size: var(--fs-s); font-weight: 600; color: var(--text-tertiary); padding: 6px 0; }
.nmr-pt-done .nmr-pt-reqs { margin-top: 8px; }
.nmr-pt-ok { display: flex; align-items: center; gap: 10px; margin: 0 0 var(--space-s); padding: 12px 16px; border-radius: 12px; background: rgba(22, 163, 74, .08); border: 1px solid rgba(22, 163, 74, .3); color: var(--copy); }
.nmr-pt-ok .nmr-pt-ico { color: #15803d; }
.nmr-pt-side-block { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: var(--space-m); display: grid; gap: var(--space-s); }
.nmr-pt-tasks { list-style: none; margin: 0 calc(var(--space-s) * -.5); padding: 0; display: grid; }
.nmr-pt-tasks button { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: none; border: 0; padding: 10px 8px; border-radius: 12px; font: inherit; color: var(--copy); cursor: pointer; transition: background-color .15s; }
.nmr-pt-tasks button:hover { background: var(--band); }
.nmr-pt-tasks .nmr-pt-ico { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--accent-5); color: var(--accent-text); }
.nmr-pt-tasks strong { display: block; font-weight: 600; font-size: var(--fs-s); }
.nmr-pt-tasks small { display: block; color: var(--text-muted); font-size: 13px; line-height: 1.4; }
.nmr-pt-side .nmr-pt-facts > div { grid-template-columns: 1fr auto; }
.nmr-pt-side .nmr-pt-facts dd { text-align: right; }
.nmr-pt-usage { display: grid; gap: 8px; font-size: var(--fs-s); }
.nmr-pt-usage-text { display: flex; justify-content: space-between; gap: 10px; }
.nmr-pt-usage-text span:first-child { color: var(--text-muted); }
.nmr-pt-usage meter { width: 100%; height: 8px; border: 0; border-radius: 8px; background: var(--band); -webkit-appearance: none; appearance: none; }
.nmr-pt-usage meter::-webkit-meter-bar { background: var(--band); border: 0; border-radius: 8px; height: 8px; }
.nmr-pt-usage meter::-webkit-meter-optimum-value { background: var(--copy); border-radius: 8px; }
.nmr-pt-usage meter::-webkit-meter-suboptimum-value { background: #d97706; border-radius: 8px; }
.nmr-pt-usage meter::-webkit-meter-even-less-good-value { background: #b91c1c; border-radius: 8px; }
.nmr-pt-usage meter::-moz-meter-bar { background: var(--copy); border-radius: 8px; }
.nmr-pt-help p { margin: 0; font-size: var(--fs-s); line-height: 1.6; color: var(--text-tertiary); }
/* Who has access */
.nmr-pt-acc { list-style: none; margin: 0; padding: 0; display: grid; }
.nmr-pt-acc li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px var(--space-xs); align-items: baseline; padding: var(--space-2xs) 0; border-bottom: 1px solid var(--border); font-size: var(--fs-s); }
.nmr-pt-acc li:last-child { border-bottom: 0; }
.nmr-pt-acc-mail { color: var(--copy); overflow-wrap: anywhere; }
.nmr-pt-acc-rol { grid-column: 1; color: var(--text-muted); font-size: var(--fs-xs); }
.nmr-pt-acc .nmr-pt-link, .nmr-pt-acc-you { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: var(--fs-xs); }
.nmr-pt-acc-you { color: var(--text-muted); }
/* Maintenance-contract offer: a tinted side block, quieter than the tasks above it. */
.nmr-pt-teaser { background: var(--accent-5); border-color: var(--accent-20); }
.nmr-pt-teaser h3 { font-size: var(--fs-l); }
.nmr-pt-teaser p { margin: 0; font-size: var(--fs-s); line-height: 1.6; color: var(--text-tertiary); }
.nmr-pt-teaser .nmr-pt-teaser-price { color: var(--copy); }
.nmr-pt-teaser-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }

/* Dark theme: the fixed status colors need lighter variants on ink. */
[data-theme="dark"] .nmr-pt-error { color: #f87171; }
[data-theme="dark"] .nmr-pt-tabwrap .nmr-pt-dom:not([open]) > summary:hover { background: rgba(255, 255, 255, .04); }
[data-theme="dark"] .nmr-pt-tabwrap .nmr-pt-dom[open] > summary { box-shadow: inset 0 12px 14px -14px rgba(0, 0, 0, .7); }
[data-theme="dark"] .nmr-pt-tabwrap .nmr-pt-dom[open] > .nmr-pt-dom-body { box-shadow: inset 0 -12px 14px -14px rgba(0, 0, 0, .7); }
/* Dark: the maintenance offer gets the footer's magenta glow, with text in the on-ink tokens. */
[data-theme="dark"] .nmr-pt-teaser { background: radial-gradient(120% 140% at 100% 0%, #8a1458 0%, #4a0f33 45%, #24091a 100%) border-box; border-color: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
[data-theme="dark"] .nmr-pt-teaser h3, [data-theme="dark"] .nmr-pt-teaser .nmr-pt-teaser-price { color: var(--on-ink); }
[data-theme="dark"] .nmr-pt-teaser p { color: var(--on-ink-muted); }
[data-theme="dark"] .nmr-pt-teaser .nmr-btn-outline { color: var(--on-ink); border-color: rgba(255, 255, 255, .35); }
[data-theme="dark"] .nmr-pt-teaser .nmr-btn-outline:hover { color: var(--on-ink) !important; border-color: var(--on-ink) !important; }
[data-theme="dark"] .nmr-pt-count[data-tone="warn"], [data-theme="dark"] .nmr-pt-tabs button[aria-selected="true"] .nmr-pt-count[data-tone="warn"] { background: rgba(245, 178, 107, .16); color: #f5b26b; }
[data-theme="dark"] .nmr-pt-pill[data-tone="warn"], [data-theme="dark"] .nmr-pt-state[data-tone="warn"] h3 .nmr-pt-ico { color: #f5b26b; }
[data-theme="dark"] .nmr-pt-pill[data-tone="ok"], [data-theme="dark"] .nmr-pt-state[data-tone="ok"] h3 .nmr-pt-ico, [data-theme="dark"] .nmr-pt-ok .nmr-pt-ico { color: #4ade80; }
#pt-form:empty { display: none; }
#pt-form { scroll-margin-top: 120px; }
#pt-form:focus { outline: none; }
.nmr-pt-form { display: grid; gap: var(--space-s); }
.nmr-pt-formhead { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-s); }
.nmr-pt-formhead h3 { font-size: var(--fs-xl); }
.nmr-pt-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-s); }
.nmr-pt-field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.nmr-pt-field select, .nmr-pt-field input, .nmr-pt-field textarea { max-width: 100%; min-width: 0; }
.nmr-pt-field label { display: block; }
.nmr-pt-label { display: block; font-weight: 500; color: var(--copy); font-size: var(--fs-s); }
#pt-preview .nmr-pt-table td:last-child { font-size: 13px; }
/* Domain search bar: field and button in one control, the way registrars do it. */
.nmr-pt-search { display: flex; align-items: center; gap: 6px; margin-top: 6px; padding: 5px; background: var(--bg); border: 1.5px solid var(--border-strong); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.nmr-pt-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(226, 31, 138, .15); }
.nmr-contact-form .nmr-pt-search input { flex: 1; min-width: 0; margin: 0; padding: 8px 11px; border: 0; background: transparent; box-shadow: none; }
.nmr-contact-form .nmr-pt-search input:focus { box-shadow: none; }
.nmr-contact-form .nmr-pt-search-btn { flex: none; min-height: 42px; margin: 0; padding: 0 18px; border-radius: 8px; background: var(--copy); background-image: none; color: var(--bg); font: 600 14px/1 var(--font-body); box-shadow: none; transform: none; cursor: pointer; transition: opacity .2s; }
.nmr-contact-form .nmr-pt-search-btn:hover { transform: none; box-shadow: none; opacity: .85; }
.nmr-contact-form .nmr-pt-search-btn:disabled { opacity: .5; cursor: progress; }
.nmr-contact-form .nmr-pt-search-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nmr-pt-check { margin: -4px 0 0; font-size: var(--fs-s); line-height: 1.55; color: var(--text-tertiary); }
.nmr-pt-check:empty { display: none; }
.nmr-pt-check strong { color: var(--copy); font-weight: 600; }
.nmr-pt-check[data-tone]::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; vertical-align: 1px; background: #d97706; }
.nmr-pt-check[data-tone="ok"]::before { background: #16a34a; }
.nmr-pt-check .nmr-pt-link { font-size: inherit; }
/* What a new or transferred domain costs, right above the order button. */
.nmr-pt-cost { display: grid; gap: 6px; padding: 14px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--border-strong); }
.nmr-pt-cost p { margin: 0; font-size: var(--fs-s); line-height: 1.55; color: var(--text-tertiary); }
.nmr-pt-cost-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; color: var(--copy); font-weight: 500; overflow-wrap: anywhere; }
.nmr-pt-cost-amount { font-family: var(--font-heading); font-weight: 600; font-size: var(--fs-l); white-space: nowrap; }
.nmr-pt-cost-amount small { font-family: var(--font-body); font-weight: 400; font-size: var(--fs-xs); color: var(--text-muted); }
.nmr-pt-formfoot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px var(--space-m); }
.nmr-pt-formfoot .nmr-pt-note { flex: 1 1 240px; }
.nmr-portal .nmr-contact-form button[type="submit"] { justify-self: start; }
.nmr-contact-form .nmr-btn-outline { background: transparent; color: var(--copy); border: 1.5px solid var(--border-strong); box-shadow: none; }
.nmr-contact-form .nmr-btn-outline:hover { border-color: var(--copy); }
.nmr-contact-form[aria-busy="true"] { opacity: .7; }
@media (max-width: 1080px) {
  .nmr-pt-layout { grid-template-columns: minmax(0, 1fr); gap: var(--space-l); }
  .nmr-pt-layout > *, .nmr-pt-main > *, .nmr-pt-side > * { min-width: 0; }
  .nmr-pt-main, .nmr-pt-side { display: contents; }
  .nmr-pt-state { order: 1; }
  .nmr-pt-side-block:first-child { order: 2; }
  #pt-form { order: 3; }
  .nmr-pt-tabwrap { order: 4; }
  .nmr-pt-side-block { order: 6; }
  .nmr-pt-help { order: 7; }
}
@media (max-width: 860px) {
  .nmr-pt-entry { grid-template-columns: 1fr; gap: var(--space-l); }
  .nmr-pt-blocks { grid-template-columns: 1fr; padding: 0; }
  .nmr-pt-blk, .nmr-pt-blk:first-child, .nmr-pt-blk:last-child { padding: var(--space-s) 0; }
  .nmr-pt-blk + .nmr-pt-blk { border-left: 0; border-top: 1px solid var(--border); }
  .nmr-pt-domhead { display: none; }
  .nmr-pt-dom summary { grid-template-columns: 1fr 1fr 20px; grid-template-areas: "name name chev" "web mail mail" "renew renew renew"; gap: 8px 12px; }
  .nmr-pt-dom-name { grid-area: name; }
  .nmr-pt-dom summary .nmr-pt-cell:nth-of-type(2) { grid-area: web; }
  .nmr-pt-dom summary .nmr-pt-cell:nth-of-type(3) { grid-area: mail; }
  .nmr-pt-dom summary .nmr-pt-cell:nth-of-type(4) { grid-area: renew; }
  .nmr-pt-dom summary .nmr-pt-cell:nth-of-type(4)::before { content: "Verlengt: "; color: var(--text-muted); }
  .nmr-pt-chev { grid-area: chev; }
  .nmr-pt-dom summary .nmr-pt-cell { min-width: 0; }
  .nmr-pt-dom summary .nmr-pt-status { white-space: normal; align-items: baseline; }
  .nmr-pt-dom summary .nmr-pt-status::before { transform: translateY(-1px); }
  .nmr-pt-req { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nmr-pt-top { align-items: flex-start; }
  .nmr-pt-top-actions { width: 100%; justify-content: space-between; }
  .nmr-contact-form.nmr-pt-switch { flex: 1; }
  .nmr-pt-switch select { min-width: 0; flex: 1; }
  .nmr-pt-row { grid-template-columns: 1fr; }
  .nmr-pt-facts > div { grid-template-columns: 1fr; gap: 0; }
  .nmr-pt-table thead { display: none; }
  .nmr-pt-table tr { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 9px 12px; border-bottom: 1px solid var(--border); }
  .nmr-pt-table tr:last-child { border-bottom: 0; }
  .nmr-pt-table td { padding: 0; border: 0; }
  .nmr-pt-table td:last-child { grid-column: 1 / -1; color: var(--text-tertiary); }
  .nmr-pt-mb li { grid-template-columns: 1fr auto; }
  .nmr-pt-dns-acts { text-align: left; }
  .nmr-pt-dnsed-table tr { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "type naam ttl" "val val val" "acts acts acts"; }
  .nmr-pt-dnsed-table td:nth-child(1) { grid-area: type; }
  .nmr-pt-dnsed-table td:nth-child(2) { grid-area: naam; }
  .nmr-pt-dnsed-table td:nth-child(3) { grid-area: val; color: var(--text-tertiary); }
  .nmr-pt-dnsed-table td:nth-child(4) { grid-area: ttl; color: var(--text-muted); }
  .nmr-pt-dnsed-table td:nth-child(5) { grid-area: acts; color: inherit; }
  .nmr-pt-dnsed-table tr.nmr-pt-dns-editrow { grid-template-columns: 1fr; grid-template-areas: none; gap: 8px; }
  .nmr-pt-dnsed-table tr.nmr-pt-dns-editrow td { grid-area: auto; }
  .nmr-pt-mb-addr { grid-column: 1 / -1; }
  .nmr-pt-link.nmr-pt-quiet { margin-left: 0; }
  .nmr-pt-inv td:last-child { text-align: left; }
  .nmr-pt-tabwrap { --pt-pad: var(--space-m); padding: 0 var(--space-m) var(--space-s); }
  .nmr-pt-tabs { margin: 0 calc(var(--space-m) * -1) var(--space-xs); padding: 2px calc(var(--space-m) - 4px) 0; }
  .nmr-pt-tabs { gap: 0; }
  .nmr-pt-count-x { display: none; }
  .nmr-pt-tabs button { gap: 6px; padding: 15px 8px 14px; font-size: var(--fs-s); }
  .nmr-pt-tabs button[aria-selected="true"]::after { left: 8px; right: 8px; }
  .nmr-pt-state { padding: var(--space-m); }
  .nmr-pt-steps li { min-width: 0; flex: 1; }
  .nmr-pt-form { padding: var(--space-m); }
}


/* src/styles/state.css */
/* Site stylesheet. Shipped as-is: Instatic's publish trims some selector types from the
   class stylesheet (still on 0.0.21), so state rules and cross-cutting refinements live here. */

/* ---------- Project loops (Projecten collection) ---------- */
/* The loop renders a wrapper div; let the cards sit in the grid directly. */
.nmr-pf-grid > [data-instatic-loop], .nmr-portfolio-grid > [data-instatic-loop], .nmr-logo-grid > [data-instatic-loop] { display: contents; }
/* Loops print a select's option id, not its label: map the Type ids to labels.
   ponytail: new Type options need a line here, drop once Instatic resolves select labels in loops. */
[data-type="Iw35Ivlwzv1AFyLObg5Wb"]:is(.nmr-pf-tag, .nmr-project-tags)::before { content: "WEBSITE"; }
[data-type="XCL2uNrWARJEYiWXnOyJD"]:is(.nmr-pf-tag, .nmr-project-tags)::before { content: "WEBSHOP"; }
[data-type="4I5S793cABt1xwEJ-gBYO"]:is(.nmr-pf-tag, .nmr-project-tags)::before { content: "SHOPIFY & CRO"; }

/* External-link arrow drawn instead of the "↗" glyph (iOS shows that as an emoji); site.js swaps it in */
.nmr-ext { display: inline-block; width: .78em; height: .78em; margin-left: .15em; vertical-align: -.05em; background: currentColor; -webkit-mask: var(--arrow-out) center / contain no-repeat; mask: var(--arrow-out) center / contain no-repeat; }

/* Page ends on a tinted band: let the strip around the footer card continue that band instead of
   switching back to the page colour for 16px (AI, Websites, project pages). */
body:has(main .nmr-sec-band:last-child) .nmr-contact-wrap { background: var(--band); }

/* A section title directly followed by cards needs the same gap as the portfolio head */
.nmr-sec > :is(.nmr-h2, .nmr-lead) + .nmr-pf-grid { margin-top: clamp(28px, 4vw, 48px); }

/* Client logo band: white SVG/PNG logos of mixed proportions, fitted into one box each */
.nmr-logo-tile img { width: 100%; max-width: 200px; height: 52px; object-fit: contain; }
/* optical balance: heavy wordmarks smaller, compact/stacked marks larger */
.nmr-logo-tile img[src*="nitro"] { height: 34px; }
.nmr-logo-tile img:is([src*="hotel-in-motion"], [src*="gert-willigenburg"]) { height: 66px; }
.nmr-logo-tile img[src*="vv-horecagroep"] { height: 58px; }

/* ---------- Accessibility ---------- */
/* Accent as small text: brand magenta is 3.4-4.4:1 on the cream surfaces, so text uses a deeper tint
   (>= 4.9:1) on light and a lighter one (>= 5.4:1) on dark surfaces. Buttons and marks keep --accent. */
:root { --accent-text: #b8146f; }
:root[data-theme="dark"], .nmr-ai, .nmr-card-dark, .nmr-ph, .nmr-contact, .nmr-logos, .nmr-sticky { --accent-text: #f25aa8; }
:is(.nmr-feat-num, .nmr-card-num, .nmr-step-num, .nmr-team-role, .nmr-blog-date, .nmr-review-stars, .nmr-offer-score span) { color: var(--accent-text); }
:root .nmr-prose a:not(.nmr-btn), :root .nmr-faq-item p a { color: var(--accent-text) !important; }
:root:not([data-theme="dark"]) .nmr-review-author { color: #5a5a66; }
.nmr-review-text strong span { color: #f25aa8; }
/* Skip link: hidden until focused */
.nmr-skip { position: fixed; left: 16px; top: 12px; z-index: 1000; padding: 12px 20px; border-radius: var(--radius-pill); background: var(--ink); color: var(--on-ink); font-weight: 600; text-decoration: none; transform: translateY(-160%); }
.nmr-skip:focus { transform: none; outline: 2px solid var(--mark); outline-offset: 2px; }
.nmr-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Numbered clauses (algemene voorwaarden) need visible numbering; the reset strips list markers */
.nmr-prose ol { list-style: decimal; padding-left: 1.5em; margin: 0 0 1.5em; }
.nmr-prose ol > li { padding-left: .35em; margin-bottom: .75em; }
.nmr-prose ol > li::marker { color: var(--accent-text); font-weight: 600; }
.nmr-prose ol ul { list-style: disc; padding-left: 1.25em; margin-top: .5em; }
/* Comfortable line length for running text, about 70 characters (centred blocks stay centred).
   In em, not ch: Poppins' "0" is wide, so 70ch came out at 82-88 characters per line. */
.nmr-faq-item p, .nmr-price-note, .nmr-reviews-meta, .nmr-region, .nmr-offer-note, .nmr-about p, .nmr-prose :is(p, li), .nmr-split p { max-width: 38em; }
.nmr-reviews-head .nmr-reviews-meta { margin-left: auto; margin-right: auto; }

/* Logo slider: tiles now sit inside the Logos loop wrapper, so size them as descendants */
.nmr-logo-grid[data-slider] .nmr-logo-tile { flex: 0 0 calc((100% - (var(--per) - 1) * 48px) / var(--per)); scroll-snap-align: start; min-height: 110px; }
@media (max-width: 720px) { .nmr-logo-grid[data-slider] .nmr-logo-tile { flex-basis: calc(50% - 12px); } }
/* The strip around the logo card continues the band of the projects section above it */
.nmr-portfolio + .nmr-logos-wrap { background: var(--band); }

/* Ticker: the track must be as wide as its content, or the segments get squeezed and overlap,
   and the -50% loop no longer lands on the duplicate (visible jump). */
.nmr-ticker-track { width: max-content; }
.nmr-ticker-track span.seg { flex: none; }

/* Blog posts: the featured image is the hero background; posts without one keep the plain hero */
.nmr-ph-img:is([src=""], :not([src])) { display: none; }

/* Project entry template */
.nmr-project-shot { max-width: 960px; margin: 0 0 clamp(32px, 5vw, 56px); border-radius: var(--radius-l); overflow: hidden; box-shadow: 0 30px 80px rgba(13, 13, 19, .18); }
.nmr-project-shot img { display: block; width: 100%; height: auto; }
.nmr-project-actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: var(--space-l) 0 var(--space-l); }
.nmr-prose article:empty { display: none; }

/* ---------- Tokens ---------- */
/* Framework scales (Framework panel): --space-3xs..3xl (fluid), --fs-xs..3xl (fixed), --on-ink(-NN|-muted|-line).
   Root font size is 62.5% (Framework option), so the panel shows real px: spacing 20/1.33 -> 24/1.414, type 16/1.125.
   Below: what the Framework cannot express - the page gutter, fluid headings and radii. */
:root {
  --gutter: clamp(24px, 9.9px + 3.756vw, 64px);
  /* headings in px + vw, not rem, so they don't depend on the root font size */
  --fs-display: clamp(44px, 22.4px + 5.2vw, 84px);
  --fs-h1: clamp(42px, 20.8px + 4.4vw, 72px);
  --fs-h2: clamp(34px, 17.6px + 3.3vw, 58px);
  --fs-h2-lg: clamp(38px, 19.2px + 4vw, 64px);
  --fs-h3: clamp(28px, 16px + 2vw, 44px);
  --radius-s: 12px; --radius-m: 18px; --radius-l: 24px; --radius-pill: 999px;
}
/* Body text from the type scale, so it stays 16px whatever the root font size (62.5% option) */
body { font-size: var(--fs-m); }
:root {
  --eyebrow: #5a5a66; --eyebrow-dark: rgba(244, 244, 247, .72); --mark: #e21f8a; --ease-out: cubic-bezier(.22, 1, .36, 1);
  --arrow-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8h10.5M9 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --arrow-out: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 12L12 4M5.5 4H12v6.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] { --eyebrow: #a3a3af; --text-muted: #8c8c9b; }

/* ---------- /// mark: one SVG master (site.js), sized per context ---------- */
.nmr-slashes { display: inline-block; margin-right: 0; letter-spacing: 0; line-height: 0; vertical-align: -.02em; -webkit-text-stroke: 0; }
.nmr-slashes svg { display: block; height: .74em; width: auto; fill: currentColor; }
.nmr-hero-watermark .nmr-slashes svg,
.nmr-ph-mark .nmr-slashes svg,
.nmr-ai-mark .nmr-slashes svg,
.nmr-contact-watermark .nmr-slashes svg,
.nmr-card-dark-watermark .nmr-slashes svg { height: .7em; }
.nmr-eyebrow .nmr-slashes, .nmr-hero-badge .nmr-slashes { color: var(--mark); }

/* ---------- Logo lockup (SVG from site.js) ---------- */
svg.nmr-lockup { display: block; height: 32px; width: auto; overflow: visible; }
.nmr-footer-brand svg.nmr-lockup { height: 40px; }
.nmr-lockup .mk { transition: transform 450ms var(--ease-out); }
.nmr-logo:hover .nmr-lockup .mk { transform: translateX(4px); }

/* ---------- Eyebrows (quiet): neutral label text, only the slashes carry the magenta ---------- */
.nmr-eyebrow { color: var(--eyebrow); }
.nmr-ai .nmr-eyebrow, .nmr-logos .nmr-eyebrow, .nmr-contact-body .nmr-eyebrow { color: var(--eyebrow-dark) !important; }
.nmr-ph .nmr-eyebrow { color: var(--on-ink-80) !important; }

/* Hero label: same component as the other eyebrows, no pill */
.nmr-hero-badge {
  display: inline-flex; align-items: baseline; gap: .55em;
  background: none; border: 0; border-radius: 0; padding: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  font-family: var(--font-mono); font-weight: 600; font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase;
  color: var(--on-ink-80);
}
.nmr-hero-badge > span:first-child { color: var(--mark); }

/* ---------- Type scale ---------- */
.nmr-hero h1 { font-size: var(--fs-display); }
.nmr-ph h1 { font-size: var(--fs-h1); }
.nmr-h2, .nmr-ai-head h2, .nmr-about h2 { font-size: var(--fs-h2); line-height: 1.05; }
.nmr-logos h2 { font-size: var(--fs-h3); }
.nmr-contact-body h2 { font-size: var(--fs-h2-lg); }

/* ---------- FAQ intro rhythm ---------- */
.nmr-faq > div:first-child .nmr-h2 { margin-bottom: var(--space-m); }
.nmr-faq > div:first-child p { margin: 0 0 var(--space-l); max-width: 36ch; font-size: var(--fs-m); line-height: 1.65; color: var(--text-tertiary); }
@media (max-width: 1080px) { .nmr-faq { row-gap: var(--space-xl); } }
@media (max-width: 720px) {
  .nmr-faq > div:first-child .nmr-h2 { margin-bottom: var(--space-m); }
  .nmr-faq > div:first-child p { margin-bottom: var(--space-l); }
}

/* ---------- Header ---------- */
/* Full width at the top, a compact glass pill once scrolled (user's choice: keeps the max-width/padding morph). */
.nmr-site-header[data-scrolled="true"] { padding: var(--space-xs) var(--space-s) 0; }
.nmr-site-header[data-scrolled="true"] .nmr-header-bar {
  max-width: 1120px;
  padding: 6px 6px 6px var(--space-m);
  background-color: rgba(13, 13, 19, .72);
  border-color: rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 10px 40px rgba(0, 0, 0, .18);
}
.nmr-theme-toggle, .nmr-menu-toggle { width: 44px; height: 44px; }
/* Seven nav items: never wrap a label; tighter pills; the scrolled bar gets a little more room;
   below 1240px the burger takes over before the bar gets crowded. */
.nmr-site-header .nmr-nav-links a { white-space: nowrap; padding: 9px 12px; font-size: 14.5px; }
.nmr-site-header[data-scrolled="true"] .nmr-header-bar { max-width: 1200px; }
@media (max-width: 1240px) {
  .nmr-site-header .nmr-nav-links { display: none; }
  .nmr-site-header .nmr-menu-toggle { display: flex; }
}

/* ---------- Mobile menu: full screen, dark in both themes ---------- */
.nmr-menu-scrim { display: none; }
.nmr-mobile-menu {
  inset: 0; width: auto; height: 100dvh;
  background: var(--ink); border: 0; box-shadow: none;
  padding: 104px 24px calc(24px + env(safe-area-inset-bottom));
  gap: 0; overflow-y: auto; overscroll-behavior: contain;
  transform: none; visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 380ms var(--ease-out), visibility 0s linear 380ms;
}
.nmr-mobile-menu[data-open="true"] {
  transform: none; visibility: visible; clip-path: inset(0);
  transition: clip-path 460ms var(--ease-out), visibility 0s;
}
.nmr-mm-links { display: flex; flex-direction: column; }
.nmr-mobile-menu .nmr-mm-links a {
  font-family: var(--font-heading); font-weight: 600; font-size: clamp(34px, 9.5vw, 44px); line-height: 1.05; letter-spacing: -.02em;
  color: var(--on-ink); padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .08);
  display: flex; align-items: center; gap: .3em;
  opacity: 0; transform: translateY(24px);
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out), color 200ms ease;
}
.nmr-mobile-menu .nmr-mm-links a:hover { color: var(--eyebrow-dark); padding-left: 0; }
.nmr-mobile-menu .nmr-mm-links a[aria-current="page"] { color: var(--eyebrow-dark); }
.nmr-mobile-menu .nmr-mm-links a[aria-current="page"]::before {
  content: ""; width: .62em; height: .36em; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 174 100'%3E%3Cpath fill='%23e21f8a' d='M5 100L21 100Q26 100 28.31 95.56L75.69 4.44Q78 0 73 0L57 0Q52 0 49.69 4.44L2.31 95.56Q0 100 5 100Z M53 100L69 100Q74 100 76.31 95.56L123.69 4.44Q126 0 121 0L105 0Q100 0 97.69 4.44L50.31 95.56Q48 100 53 100Z M101 100L117 100Q122 100 124.31 95.56L171.69 4.44Q174 0 169 0L153 0Q148 0 145.69 4.44L98.31 95.56Q96 100 101 100Z'/%3E%3C/svg%3E") no-repeat left center / contain;
}
.nmr-mm-sub { display: flex; gap: 24px; margin-top: 16px; }
.nmr-mobile-menu .nmr-mm-sub a {
  font-family: var(--font-body); font-weight: 500; font-size: 15px; color: rgba(255, 255, 255, .62);
  padding: 12px 0; border: 0;
}
.nmr-mm-bottom { margin-top: auto; padding-top: 32px; display: flex; flex-direction: column; gap: 4px; }
.nmr-mobile-menu .nmr-mm-bottom .nmr-btn { justify-content: center; min-height: 56px; border: 0; font-size: 16px; margin-bottom: 8px; }
.nmr-mobile-menu .nmr-mm-contact {
  font-family: var(--font-body); font-weight: 500; font-size: 15px; color: var(--on-ink-muted);
  padding: 12px 0; border: 0;
}
.nmr-mm-sub, .nmr-mm-bottom { opacity: 0; transform: translateY(16px); transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out); }
.nmr-mobile-menu[data-open="true"] .nmr-mm-links a,
.nmr-mobile-menu[data-open="true"] .nmr-mm-sub,
.nmr-mobile-menu[data-open="true"] .nmr-mm-bottom { opacity: 1; transform: none; }
.nmr-mobile-menu[data-open="true"] .nmr-mm-links a:nth-child(1) { transition-delay: 80ms; }
.nmr-mobile-menu[data-open="true"] .nmr-mm-links a:nth-child(2) { transition-delay: 125ms; }
.nmr-mobile-menu[data-open="true"] .nmr-mm-links a:nth-child(3) { transition-delay: 170ms; }
.nmr-mobile-menu[data-open="true"] .nmr-mm-links a:nth-child(4) { transition-delay: 215ms; }
.nmr-mobile-menu[data-open="true"] .nmr-mm-links a:nth-child(5) { transition-delay: 260ms; }
.nmr-mobile-menu[data-open="true"] .nmr-mm-links a:nth-child(6) { transition-delay: 305ms; }
.nmr-mobile-menu[data-open="true"] .nmr-mm-sub { transition-delay: 360ms; }
.nmr-mobile-menu[data-open="true"] .nmr-mm-bottom { transition-delay: 420ms; }

/* ---------- Mobile hero: copy and review card in the flow, clear of the header ---------- */
@media (max-width: 720px) {
  .nmr-hero { display: flex; flex-direction: column; justify-content: flex-end; min-height: 640px; padding: 116px var(--gutter) var(--space-l) /* 116px clears the fixed header, not a rhythm step; same for .nmr-ph's 170/130px */; }
  .nmr-hero-copy { position: relative; left: auto; right: auto; bottom: auto; }
  .nmr-hero p { margin-bottom: var(--space-l); }
  .nmr-review-card { position: relative; left: auto; right: auto; bottom: auto; align-self: flex-start; margin-top: 28px; animation: none; }
}

/* ---------- Buttons: AA contrast on the primary, focus ring visible on magenta ---------- */
/* One button system: same height, padding and type; drawn arrows (right = internal, diagonal = external) */
.nmr-btn, .nmr-contact-form button { min-height: 52px; padding: 0 28px; font-size: 15px; line-height: 1; justify-content: center; box-sizing: border-box; }
.nmr-btn-outline, .nmr-btn-mail, .nmr-btn-ghost-dark { padding: 0 26.5px; }
.nmr-nav-cta-btn { min-height: 44px; padding: 0 20px; font-size: 14px; }
.nmr-contact-form button { display: inline-flex; align-items: center; border-radius: var(--radius-pill); font-family: var(--font-body); font-weight: 600; color: var(--on-ink); }
.nmr-btn > span:last-child:not(.__cf_email__) {
  display: inline-block; width: 15px; height: 15px; font-size: 0; flex: none;
  background: currentColor; -webkit-mask: var(--arrow-right) center / contain no-repeat; mask: var(--arrow-right) center / contain no-repeat;
  transition: transform 280ms var(--ease-out);
}
.nmr-btn[target="_blank"] > span:last-child:not(.__cf_email__) { -webkit-mask-image: var(--arrow-out); mask-image: var(--arrow-out); }
.nmr-btn:hover > span:last-child:not(.__cf_email__) { transform: translateX(3px); }
.nmr-btn[target="_blank"]:hover > span:last-child:not(.__cf_email__) { transform: translate(2px, -2px); }

.nmr-btn-primary, .nmr-contact-form button { background-color: #dc1d87; background-image: linear-gradient(118deg, #dc1d87 0%, #c8197b 35%, #a3195f 70%, #8f3e6a 100%); }
/* hero review card: glass over the photo needs a denser fill for its small print */
.nmr-review-card { background-color: rgba(255, 255, 255, .86); }
.nmr-review-text small { color: #5a5a66; }
.nmr-btn-primary:focus-visible, .nmr-contact-form button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 2px var(--on-ink); }

/* ---------- Tap targets ---------- */
.nmr-slider-dots { gap: 0; }
.nmr-slider-dots button { width: 24px; height: 24px; display: grid; place-items: center; background: none; }
.nmr-slider-dots button::before { content: ""; width: 8px; height: 8px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .25); transition: width 400ms var(--ease-out), background-color 300ms ease; }
.nmr-slider-dots button[aria-current="true"] { width: 40px; background: none; }
.nmr-slider-dots button[aria-current="true"]::before { width: 28px; background: var(--mark); }
.nmr-slider-arrows button { width: 44px; height: 44px; }
.nmr-card-link, .nmr-pf-link { padding: var(--space-2xs) 0; }
.nmr-footer-info a { padding: 12px 0; }
@media (max-width: 720px) {
  .nmr-footer-nav { gap: 0 var(--space-l); }
  .nmr-footer-nav a { display: inline-block; padding: 12px 0; }
}

/* ---------- Dark mode ---------- */
[data-theme="dark"] .nmr-ai, [data-theme="dark"] .nmr-logos, [data-theme="dark"] .nmr-ph, [data-theme="dark"] .nmr-card-dark {
  background-color: #17171f; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
[data-theme="dark"] .nmr-contact {
  background: radial-gradient(120% 140% at 100% 0%, #8a1458 0%, #4a0f33 45%, #24091a 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
[data-theme="dark"] .nmr-footer-bottom { border-top-color: rgba(255, 255, 255, .14); }
[data-theme="dark"] .nmr-footer-brand small, [data-theme="dark"] .nmr-footer-info { color: var(--on-ink-muted); }

/* ---------- Whole card clickable ---------- */
.nmr-card, .nmr-pf-card { position: relative; }
.nmr-card-link::after, .nmr-pf-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }

/* ---------- Misc ---------- */
.nmr-menu-scrim[data-open="true"] { opacity: 1; pointer-events: auto; }
.nmr-info-item small {
  display: block; margin-bottom: 4px; font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--eyebrow);
}
.nmr-prose a:not(.nmr-btn) { color: var(--accent) !important; }
::selection { background: rgba(226, 31, 138, .22); }

/* ---------- Footer brand: stack logo above the details on phones ---------- */
@media (max-width: 720px) {
  .nmr-footer-brand { flex-direction: column; align-items: flex-start; gap: var(--space-s); }
  .nmr-footer-brand > div { min-width: 0; }
  .nmr-footer-brand small, .nmr-footer-info { overflow-wrap: anywhere; }
}

/* ---------- Prose subheads, values grid ---------- */
.nmr-prose h3 { font-family: var(--font-heading); font-weight: 600; font-size: var(--fs-xl); letter-spacing: -.01em; color: var(--copy); margin: var(--space-l) 0 var(--space-2xs); }
.nmr-prose .nmr-chips { margin-top: 24px; }
@media (max-width: 720px) { .nmr-feat-grid-2 { grid-template-columns: 1fr; } }

/* ---------- Team card portrait (Bas) ---------- */
.nmr-team-photo:has(.nmr-team-img) { padding: 0; overflow: hidden; }
.nmr-team-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }

/* ---------- Alex, AI-assistent: bot avatar on the team card ---------- */
.nmr-team-bot { background: radial-gradient(120% 90% at 50% 0%, #2a0f26 0%, var(--ink) 70%); padding: 0; align-items: stretch; }
.nmr-bot { display: block; width: 100%; height: 100%; transition: transform 600ms var(--ease-out); }
.nmr-team-card:hover .nmr-bot { transform: translateY(-4px) rotate(-2deg); }
.nmr-bot-eyes { transform-box: fill-box; transform-origin: center; animation: nmrBlink 6s infinite; }
.nmr-bot-tip { animation: nmrTip 3.2s ease-in-out infinite; }
@keyframes nmrBlink { 0%, 93%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.12); } }
@keyframes nmrTip { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }

/* ---------- Price cards ---------- */
.nmr-price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-s); margin-top: var(--space-l); }
.nmr-price-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nmr-price { display: flex; flex-direction: column; gap: var(--space-xs); padding: var(--space-l); border-radius: var(--radius-l); background: var(--card); border: 1px solid var(--border); }
.nmr-price-main { border-color: var(--copy); box-shadow: 0 18px 48px -24px rgba(13, 13, 19, .35); }
.nmr-price h3 { font-family: var(--font-heading); font-weight: 600; font-size: var(--fs-2xl); line-height: 1.2; color: var(--copy); margin: 0; }
.nmr-price-amount { font-family: var(--font-heading); font-weight: 600; font-size: 40px; line-height: 1; letter-spacing: -.02em; color: var(--copy); margin: 0; }
.nmr-price-amount span, .nmr-price-amount small { font-family: var(--font-body); font-weight: 500; font-size: 15px; letter-spacing: 0; color: var(--text-tertiary); }
.nmr-price-amount span { margin-right: 6px; }
.nmr-price-amount small { margin-left: 4px; }
.nmr-price-desc { margin: 0; font-size: var(--fs-m); line-height: 1.6; color: var(--text-tertiary); }
.nmr-price-list { list-style: none; margin: 0 0 var(--space-2xs); padding: var(--space-s) 0 0; border-top: 1px solid var(--border); display: grid; gap: var(--space-2xs); }
.nmr-price-list li { display: flex; gap: var(--space-2xs); font-size: var(--fs-m); line-height: 1.5; color: var(--copy); }
.nmr-price-list li::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; background: var(--mark);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.nmr-price .nmr-btn { margin-top: auto; align-self: flex-start; }
.nmr-price-note { margin: var(--space-m) 0 0; font-size: var(--fs-m); line-height: 1.6; color: var(--text-tertiary); }
.nmr-price-note a { color: var(--copy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1080px) { .nmr-price-grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .nmr-price-grid { grid-template-columns: 1fr; } .nmr-price { padding: var(--space-l); } .nmr-price-amount { font-size: 34px; } }

/* ---------- Service-page FAQ and review blocks ---------- */
.nmr-faq-sec .nmr-faq-list { margin-top: var(--space-l); max-width: 880px; }
.nmr-reviews-grid-top { margin-top: var(--space-l); }
.nmr-faq-item p a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.nmr-mobile-menu[data-open="true"] .nmr-mm-links a:nth-child(7) { transition-delay: 350ms; }

/* ---------- Mobile sticky CTA bar ---------- */
.nmr-sticky { display: none; }
@media (max-width: 720px) {
  .nmr-sticky {
    display: flex; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90;
    padding: 8px; border-radius: var(--radius-pill); background: rgba(13, 13, 19, .82); border: 1px solid var(--on-ink-line);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
    transform: translateY(calc(100% + 32px)); transition: transform 420ms var(--ease-out);
  }
  .nmr-sticky[data-visible="true"] { transform: none; }
  .nmr-sticky .nmr-btn { min-height: 48px; padding: 0 18px; flex: 1 1 auto; }
  .nmr-sticky .nmr-btn-ghost-dark { flex: 0 0 auto; }
}

/* ---------- Region links (local pages), review link ---------- */
.nmr-region, .nmr-reviews-meta { font-size: var(--fs-m); line-height: 1.6; color: var(--text-tertiary); }
.nmr-region { margin: var(--space-xl) 0 0; }
.nmr-reviews-meta { margin: var(--space-s) 0 0; }
.nmr-region a, .nmr-reviews-meta a { color: var(--copy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.nmr-region a:hover, .nmr-reviews-meta a:hover { color: var(--accent); }

/* ---------- AI-kansenscan: compact form on the AI page ---------- */
.nmr-scan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--space-xl); align-items: start; margin-top: var(--space-2xl); scroll-margin-top: 110px; }
.nmr-scan-intro p { font-size: var(--fs-m); line-height: 1.65; color: var(--text-tertiary); margin: 0 0 var(--space-s); max-width: 42ch; }
.nmr-scan-points { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2xs); }
.nmr-scan-points li { display: flex; gap: var(--space-2xs); align-items: baseline; font-size: var(--fs-m); color: var(--copy); }
.nmr-scan-points li::before { content: ""; flex: none; width: 14px; height: 14px; background: var(--mark); -webkit-mask: var(--arrow-right) center / contain no-repeat; mask: var(--arrow-right) center / contain no-repeat; transform: translateY(-1px); }
@media (max-width: 1080px) { .nmr-scan { grid-template-columns: 1fr; gap: var(--space-l); margin-top: var(--space-xl); } }

/* ---------- Offerte page ---------- */
.nmr-offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: var(--space-2xl); align-items: start; }
.nmr-offer-aside { position: sticky; top: 112px; }
.nmr-offer-title { font-family: var(--font-heading); font-weight: 600; font-size: var(--fs-3xl); letter-spacing: -.02em; line-height: 1.15; color: var(--copy); margin: 0 0 var(--space-m); }
.nmr-offer-steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 var(--space-l); display: grid; gap: var(--space-s); }
.nmr-offer-steps li { counter-increment: step; display: grid; grid-template-columns: 36px 1fr; column-gap: var(--space-xs); row-gap: 2px; }
.nmr-offer-steps li::before {
  content: counter(step); grid-row: span 2; width: 36px; height: 36px; border-radius: var(--radius-pill);
  display: grid; place-items: center; background: var(--copy); color: var(--bg); font: 600 14px var(--font-heading);
}
.nmr-offer-steps strong { font-family: var(--font-heading); font-weight: 600; font-size: var(--fs-m); color: var(--copy); }
.nmr-offer-steps span { font-size: var(--fs-m); line-height: 1.6; color: var(--text-tertiary); }
.nmr-offer-proof { border-top: 1px solid var(--border-strong); padding-top: var(--space-m); margin-bottom: var(--space-s); }
.nmr-offer-score { font: 600 40px/1 var(--font-heading); letter-spacing: -.02em; color: var(--copy); margin: 0 0 var(--space-2xs); }
.nmr-offer-score span { font-size: 17px; letter-spacing: .08em; color: var(--accent-text); margin-left: var(--space-2xs); vertical-align: middle; }
.nmr-offer-proof-text { font-size: var(--fs-m); line-height: 1.6; color: var(--text-tertiary); margin: 0; }
.nmr-offer-alt { font-size: var(--fs-m); color: var(--text-secondary); margin: 0; }
.nmr-offer-alt a { color: var(--copy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.nmr-offer-form { gap: var(--space-s); }
.nmr-offer-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-s); }
.nmr-offer-set { border: 0; padding: 0; margin: 0; min-width: 0; }
.nmr-offer-set legend { padding: 0; margin-bottom: var(--space-2xs); font-size: var(--fs-s); font-weight: 500; color: var(--copy); }
.nmr-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.nmr-opt { position: relative; }
.nmr-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.nmr-contact-form .nmr-opt label {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; cursor: pointer;
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-pill); font-size: var(--fs-s); font-weight: 500; color: var(--copy);
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.nmr-contact-form .nmr-opt label:hover { border-color: var(--copy); }
.nmr-contact-form .nmr-opt input:checked + label { background: var(--copy); border-color: var(--copy); color: var(--bg); }
.nmr-contact-form .nmr-opt input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.nmr-contact-form select {
  width: 100%; box-sizing: border-box; margin-top: 6px; padding: 13px 44px 13px 16px; appearance: none;
  font: 16px var(--font-body); color: var(--copy); background-color: var(--bg); border: 1.5px solid var(--border-strong); border-radius: var(--radius-s);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%2380808f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 16px;
}
.nmr-contact-form select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px rgba(226, 31, 138, .15); }
.nmr-contact-form ::placeholder { color: var(--text-muted); }
.nmr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nmr-offer-note { font-size: var(--fs-xs); line-height: 1.6; color: var(--text-tertiary); margin: 0; }
.nmr-offer-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 1080px) { .nmr-offer { grid-template-columns: 1fr; gap: var(--space-xl); } .nmr-offer-aside { position: static; } }
@media (max-width: 720px) { .nmr-offer-row { grid-template-columns: 1fr; } }

/* ---------- Font loading: metric-matched fallbacks ---------- */
/* Text keeps its place while Jost and Poppins swap in (the swap caused a 0.1-0.3 layout shift on load).
   Overrides measured against Arial with fontTools; the Poppins values match next/font's published ones. */
@font-face { font-family: "Jost Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 100 549; size-adjust: 100.6%; ascent-override: 106.4%; descent-override: 37.3%; line-gap-override: 0%; }
@font-face { font-family: "Jost Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 550 900; size-adjust: 99.1%; ascent-override: 108%; descent-override: 37.9%; line-gap-override: 0%; }
@font-face { font-family: "Poppins Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 111.6%; ascent-override: 94.1%; descent-override: 31.4%; line-gap-override: 9%; }
:root { --font-heading: "Jost", "Jost Fallback", sans-serif; --font-mono: "Jost", "Jost Fallback", sans-serif; --font-body: "Poppins", "Poppins Fallback", sans-serif; }

/* Watermarks stay hidden until site.js has swapped the "///" text for the SVG mark (the swap moved them) */
:is(.nmr-ph-mark, .nmr-hero-watermark, .nmr-ai-mark, .nmr-contact-watermark, .nmr-card-dark-watermark):not(:has(.nmr-slashes)) { visibility: hidden; }

/* Hero intro over the photos: >= 4.5:1 on the brightest part of every hero photo (was 3.8:1 at worst) */
.nmr-ph .nmr-ph-lead { color: #e2e2e8; }
/* Links in running text: underlined, not only coloured (WCAG 1.4.1); long URLs wrap on phones */
.nmr-prose a:not(.nmr-btn) { overflow-wrap: anywhere; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.nmr-prose a:not(.nmr-btn):hover { text-decoration-thickness: 2px; }

/* ---------- Form feedback (site.js initFormFeedback) ---------- */
.nmr-contact-form[aria-busy="true"] button[type="submit"] { opacity: .7; cursor: progress; }
.nmr-form-error { margin: 0; padding: var(--space-xs) var(--space-s); border-radius: var(--radius-s); border: 1px solid rgba(184, 20, 111, .35); background: rgba(226, 31, 138, .07); color: #8f1150; font-size: var(--fs-m); line-height: 1.55; }
.nmr-form-error a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
[data-theme="dark"] .nmr-form-error { color: #ffb3d9; border-color: rgba(242, 90, 168, .4); background: rgba(226, 31, 138, .12); }

/* ---------- Footer: brand + four link columns, legal bar underneath ---------- */
.nmr-footer-bottom { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 2.6fr); align-items: start; gap: var(--space-l) var(--space-2xl); padding-top: var(--space-l); }
.nmr-footer-brand { flex-direction: column; align-items: flex-start; gap: var(--space-s); }
.nmr-footer-tagline { margin: 0; max-width: 30ch; font-size: var(--fs-s); line-height: 1.6; color: var(--on-ink-muted); }
.nmr-footer-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-l); }
.nmr-fcol { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.nmr-fcol-title { margin: 0 0 var(--space-2xs); font-family: var(--font-heading); font-size: var(--fs-xs); line-height: 1.4; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-muted); }
.nmr-footer-home { display: inline-block; }
.nmr-footer-tel { margin: -4px 0 0; font-size: var(--fs-s); }
.nmr-footer-tel a { display: inline-block; padding: var(--space-2xs) 0; color: var(--on-ink); font-weight: 600; text-decoration: none; }
.nmr-footer-tel a:hover { color: var(--accent-text); }
.nmr-footer-nav .nmr-fcol a { font-size: var(--fs-s); padding: 5px 0; }
.nmr-footer-legal { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: var(--space-2xs) var(--space-l); padding-top: var(--space-m); border-top: 1px solid var(--ink-border); }
.nmr-footer-legal small { font-size: var(--fs-xs); color: var(--on-ink-subtle); }
.nmr-footer-legal .nmr-footer-info { margin: 0; text-align: right; }
[data-theme="dark"] .nmr-footer-legal small, [data-theme="dark"] .nmr-footer-tagline { color: var(--on-ink-muted); }
@media (max-width: 1080px) { .nmr-footer-bottom { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .nmr-footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-l) var(--space-l); }
  .nmr-footer-nav .nmr-fcol a { padding: var(--space-xs) 0; }
  .nmr-footer-legal { flex-direction: column; }
  .nmr-footer-legal .nmr-footer-info { text-align: left; }
}

/* ---------- Pricing: one-off / monthly switch (site.js initPriceToggle) ---------- */
[data-pricing]:not([data-mode="monthly"]) .nmr-pm-monthly, [data-pricing][data-mode="monthly"] .nmr-pm-once { display: none !important; }
.nmr-price-toggle { display: inline-flex; gap: 4px; padding: 4px; margin-top: 28px; border-radius: var(--radius-pill); background: var(--card); border: 1px solid var(--border); }
.nmr-pt-opt { min-height: 44px; padding: 0 22px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--text-tertiary); font: 600 15px var(--font-body); cursor: pointer; transition: background-color 200ms ease, color 200ms ease; }
.nmr-pt-opt:hover { color: var(--copy); }
.nmr-pt-opt[aria-pressed="true"] { background: var(--copy); color: var(--bg); }
.nmr-pt-opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nmr-price-toggle + .nmr-price-grid { margin-top: 24px; }
.nmr-price-sub { margin: -6px 0 0; font-size: var(--fs-s); line-height: 1.5; color: var(--text-tertiary); }

/* ---------- Home: latest blog posts (no dates here, so a quiet month never looks stale) ---------- */
.nmr-home-blog .nmr-portfolio-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: var(--space-m); margin-bottom: var(--space-l); }
.nmr-home-blog .nmr-portfolio-head .nmr-h2 { margin: 0; }

/* ---------- Zelf bouwen met AI: hero buttons, prompt card ---------- */
.nmr-ph-actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-m); position: relative; }
.nmr-prompt { padding: var(--space-m) var(--space-l); border-radius: var(--radius-l); background: var(--ink); color: #f4f4f7; box-shadow: 0 18px 48px -24px rgba(13, 13, 19, .45); }
[data-theme="dark"] .nmr-prompt { background: #17171f; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.nmr-prompt-label { display: block; margin-bottom: 12px; font-family: var(--font-heading); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #f25aa8; }
.nmr-prompt p { margin: 0; font-size: var(--fs-l); line-height: 1.6; }
.nmr-prompt-note { margin: var(--space-s) 0 0; max-width: 38em; font-size: var(--fs-m); line-height: 1.6; color: var(--text-tertiary); }
.nmr-split > .nmr-price { align-self: start; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .nmr-ticker-track, .nmr-hero-watermark, .nmr-contact-watermark, .nmr-review-card, .nmr-hero-img { animation: none !important; }
  .nmr-mobile-menu, .nmr-mobile-menu[data-open="true"] { clip-path: none; transition: opacity 120ms linear, visibility 0s linear 120ms; opacity: 0; }
  .nmr-mobile-menu[data-open="true"] { opacity: 1; transition: opacity 120ms linear, visibility 0s; }
  .nmr-mobile-menu .nmr-mm-links a, .nmr-mm-sub, .nmr-mm-bottom { opacity: 1; transform: none; transition: none; }
  .nmr-lockup .mk { transition: none; }
  .nmr-bot-eyes, .nmr-bot-tip { animation: none; }
  .nmr-team-card:hover .nmr-bot { transform: none; }
}
