/* Theme: nightrace (V1 Night Race) - dark, cinematic.
   Tokens and mappings: docs/handover/.../DESIGN_SPEC.md sections 1-5.
   Motion: assets/js/scroll-fx.js writes --p / --v / --dist / --k; CSS maps them. */

:root {
  --bg: #07120B;
  --surface: #0E1D14;
  --surface-border: #1F2F25;
  --input-border: #2C3D32;
  --dim: #1B2A20;
  --dim-2: #111D16;
  --text: #ECE8DC;
  --text-2: #DAD6CA;
  --text-3: #C9CFC9;
  --muted: #9AA79E;
  --faint: #5E6D63;
  --yellow: #FDC400;
  --red: #E90B08;
  --red-text: #FF4B3E;
  --gutter: max(5vw, calc(50% - 640px));
  --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, sans-serif;
  --pbar: 0px;
  /* #28: the news strip under the header is sized like the names strip (.nr-marquee): same type
     and padding. --news-fs / --news-pad are those two clamps; --news-h is the strip's full height
     (2px = top + bottom border) and every header offset below adds it. */
  --news-fs: clamp(40px, 6vw, 88px);
  --news-pad: clamp(16px, 2.4vw, 28px);
  --news-h: calc(var(--news-fs) + 2 * var(--news-pad) + 2px);
}
.has-preview { --pbar: 24px; }

html, body { margin: 0; padding: 0; background: var(--bg); -webkit-font-smoothing: antialiased; }
*, *::before, *::after { box-sizing: border-box; }
a { color: var(--yellow); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: none; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

.preview-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 24px; z-index: 90;
  display: flex; align-items: center; justify-content: center;
  background: var(--red); color: #fff; font: 600 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
}

.nr { background: var(--bg); color: var(--text); font-family: var(--body); overflow-x: clip; }
.nr-yellow { color: var(--yellow); }
.nr-faint { color: var(--faint); }
.nr-mb12 { margin-bottom: 12px; }
.nr-mb18 { margin-bottom: 18px; }
.nr-mb22 { margin-bottom: 22px; }
.nr-mb24 { margin-bottom: 24px; }
.nr-kicker { font: 600 15px/1.2 var(--cond); letter-spacing: .22em; color: var(--yellow); }
.nr-kicker-red { font: 600 15px/1.2 var(--cond); letter-spacing: .24em; color: var(--red-text); margin-bottom: 14px; }
.nr-h2 { font: 800 clamp(40px, 5vw, 68px)/.92 var(--cond); color: #fff; margin: 0; }
.nr-plates .nr-h2 { font-size: clamp(36px, 4.6vw, 64px); }
.nr-body { font-size: 17px; line-height: 1.65; color: var(--text-3); margin: 22px 0 0; text-wrap: pretty; }
.nr-gift .nr-body, .nr-done .nr-body { margin-top: 0; }
.nr-small { font-size: 13px; color: var(--muted); }
/* Boxes padded with --gutter stay full width: --gutter already centres a 1280px column
   (50% = half the viewport). A max-width on the same box let the gutter eat the content
   on screens wider than ~1700px (order form 55px wide at 2560, #5). */
.nr-wrap { position: relative; width: 100%; padding: 0 var(--gutter); }

/* Buttons */
.nr-btn, .nr-btn-dark, .nr-nav-cta {
  display: inline-block; font-weight: 700; border-radius: 6px;
  transition: transform .25s ease, background-color .25s ease, color .25s ease;
}
.nr-btn { background: var(--yellow); color: var(--bg); font-size: 16px; padding: 15px 24px; }
.nr-btn:hover { background: #fff; color: var(--bg); transform: translateY(-2px); }
.nr-btn-ghost { color: var(--text); font-size: 15px; border: 1px solid rgba(255,255,255,.35); border-radius: 6px; padding: 14px 22px; transition: border-color .25s ease, color .25s ease; }
.nr-btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.nr-btn-dark { align-self: flex-start; background: var(--bg); color: var(--yellow); font-size: 16px; padding: 14px 22px; }
.nr-btn-dark:hover { background: var(--red); color: #fff; }

/* Progress + header */
.nr-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(0); z-index: 95; }
.nr-header {
  position: fixed; top: var(--pbar); left: 0; right: 0; z-index: 70;
  background: rgba(7,18,11,.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: transform .45s cubic-bezier(.2,.7,.1,1);
}
.nr-header-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px clamp(16px, 4vw, 48px); }

/* News strip under the header (Michele 2026-11-10, #5 item 13a): on the first screen, one tap to #latest */
/* #28 (2026-11-11): yellow and the same size as the names strip below the hero (--news-h, :root) */
.nr-newsstrip { display: flex; align-items: stretch; height: var(--news-h); background: var(--yellow); color: var(--bg); border-top: 1px solid var(--bg); border-bottom: 1px solid var(--bg); overflow: hidden; }
.nr-newsstrip:hover { color: var(--bg); }
.nr-newsstrip-tag { flex: none; display: flex; align-items: center; padding: 0 clamp(12px, 2.4vw, 32px); background: var(--red); color: #fff; font: 800 clamp(16px, 2.5vw, 34px)/1 var(--cond); letter-spacing: .08em; }
.nr-newsstrip-view { position: relative; flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); }
.nr-newsstrip-track { display: flex; width: max-content; white-space: nowrap; will-change: transform; }
.nr-newsstrip-set { display: flex; align-items: center; }
.nr-newsstrip-item { display: flex; align-items: center; gap: .4em; padding-left: .85em; font: 800 var(--news-fs)/1 var(--cond); letter-spacing: .02em; }
.nr-newsstrip-item::after { content: ""; flex: none; width: .22em; height: .22em; margin-left: .32em; border-radius: 50%; background: var(--red); }
.nr-newsstrip-item img { flex: none; width: 1.5em; height: 1em; object-fit: cover; border-radius: 4px; }
.nr-newsstrip:hover .nr-newsstrip-item > span, .nr-newsstrip:focus-visible .nr-newsstrip-item > span { color: var(--red); }
/* #41: every second headline in the outline letters of the names strip (.nr-outline) */
.nr-newsstrip-outline > span { color: transparent; -webkit-text-stroke: 2px var(--bg); }
.nr-newsstrip:hover .nr-newsstrip-outline > span, .nr-newsstrip:focus-visible .nr-newsstrip-outline > span { color: transparent; -webkit-text-stroke-color: var(--red); }
.nr section[id] { scroll-margin-top: calc(var(--pbar) + 68px + var(--news-h)); }

.nr-wordmark { font: 800 clamp(17px, 2vw, 22px)/1 var(--cond); color: var(--yellow); letter-spacing: .02em; white-space: nowrap; }
.nr-wordmark-sm { font-size: 18px; }
.nr-nav { display: flex; gap: 22px; align-items: center; font-size: 14px; }
.nr-nav-links { display: flex; gap: 22px; align-items: center; }
.nr-nav-links a { color: var(--text); }
.nr-nav-links a:hover { color: var(--yellow); }
.nr-country { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,.25); border-radius: 6px; padding: 7px 8px; font: 13px var(--body); }
.nr-country option, .nr-input option { color: #111; background: #fff; }
.nr-nav-cta { background: var(--yellow); color: var(--bg); padding: 9px 16px; white-space: nowrap; }
.nr-nav-cta:hover { background: #fff; color: var(--bg); }

/* 1. Hero (pinned 160vh; was 250vh, shortened for #5 item 13b) */
.nr-hero { position: relative; height: 160vh; --bx0: max(22vw, 290px); --by0: 0px; }
.nr-hero-stick { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.nr-hero-bg {
  position: absolute; inset: -3%; width: 106%; height: 106%; object-fit: cover; object-position: center 58%;
  transform: scale(calc(1.22 - .22 * var(--p, 0))); opacity: calc(.58 - .34 * var(--p, 0)); will-change: transform;
}
.nr-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 6%, rgba(7,18,11,.55) 50%, rgba(7,18,11,.25)); }
.nr-hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(0deg, var(--bg), rgba(7,18,11,0)); }
.nr-hero-copy {
  position: absolute; left: var(--gutter); right: 5vw; top: clamp(calc(var(--pbar) + 80px + var(--news-h)), calc(50vh - 240px), 50vh);
  max-width: min(640px, 44vw); z-index: 3;
  transform: translateY(calc(var(--p, 0) * -160px)); opacity: calc(1 - var(--p, 0) * 2.4);
}
.nr-h1 { font: 800 clamp(52px, 8.4vw, 132px)/.88 var(--cond); color: var(--yellow); margin: 0; }
.nr-line { display: block; overflow: hidden; padding-bottom: .04em; }
.nr-line > span { display: block; }
.nr-hero-intro { font-size: clamp(16px, 1.5vw, 20px); line-height: 1.55; color: var(--text-2); margin: 22px 0 28px; max-width: 500px; text-wrap: pretty; }
.nr-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.nr-hero-remain { display: flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 14px; color: var(--text-2); }
.nr-hero-remain b { color: #fff; }
.nr-dot-red { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(233,11,8,.25); flex: none; }
.nr-hero-book {
  position: absolute; left: 50%; top: 50%; z-index: 4; will-change: transform;
  transform: translate(calc(-50% + var(--bx0) * (1 - var(--p, 0))), calc(-54% + var(--by0) * (1 - var(--p, 0))))
             scale(calc(1 - var(--p, 0) * .14)) rotate(calc(-6deg + var(--p, 0) * 6deg));
}
.nr-tilt { transition: transform .6s cubic-bezier(.2,.7,.1,1); transform-style: preserve-3d; }
.nr-hero-book img {
  display: block; height: clamp(200px, min(64vh, 48vw), 720px); width: auto;
  filter: drop-shadow(0 50px 50px rgba(0,0,0,.55)) drop-shadow(0 14px 16px rgba(0,0,0,.5));
}
.nr-hero-stats { position: absolute; left: 5vw; right: 5vw; bottom: 5vh; z-index: 5; display: flex; justify-content: center; gap: clamp(24px, 7vw, 120px); flex-wrap: wrap; }
.nr-stat {
  --s: clamp(0, calc((var(--p, 0) - var(--at)) * 4), 1);
  text-align: center; opacity: var(--s); transform: translateY(calc((1 - var(--s)) * 40px));
}
.nr-stat-n { font: 800 clamp(36px, 4.4vw, 64px)/1 var(--cond); color: #fff; }
.nr-stat-n.nr-yellow { color: var(--yellow); }
.nr-stat-l { font: 600 14px/1.3 var(--cond); letter-spacing: .2em; color: var(--muted); }
.nr-scroll-cue {
  position: absolute; left: 50%; bottom: 4vh; transform: translateX(-50%); z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: calc(1 - var(--p, 0) * 6);
  font: 600 12px/1 var(--cond); letter-spacing: .24em; color: var(--muted);
}
.nr-scroll-line { width: 1px; height: 38px; background: linear-gradient(var(--yellow), rgba(253,196,0,0)); }

/* 2. Marquee */
.nr-marquee { position: relative; background: var(--yellow); color: var(--bg); overflow: hidden; padding: clamp(16px, 2.4vw, 28px) 0; border-top: 1px solid var(--bg); border-bottom: 1px solid var(--bg); }
.nr-marquee-track { display: flex; width: max-content; white-space: nowrap; font: 800 clamp(40px, 6vw, 88px)/1 var(--cond); will-change: transform; }
.nr-marquee-set { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding-right: clamp(20px, 3vw, 44px); }
.nr-outline { color: transparent; -webkit-text-stroke: 2px var(--bg); }
.nr-mdot { width: .22em; height: .22em; background: var(--red); border-radius: 50%; flex: none; }

/* 3. Plates (pinned 300vh, horizontal track; was 420vh, #5 item 13b) */
.nr-plates { position: relative; height: 300vh; }
.nr-plates-stick { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(18px, 3vh, 32px); }
.nr-ghost {
  position: absolute; left: 0; top: 50%; white-space: nowrap; pointer-events: none;
  transform: translate3d(calc(var(--p, 0) * 40vw - 20vw), -50%, 0);
  font: 800 clamp(140px, 22vw, 340px)/1 var(--cond); color: transparent; -webkit-text-stroke: 1px rgba(253,196,0,.12);
}
.nr-plates-head { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 0 var(--gutter); flex-wrap: wrap; }
.nr-plates-head .nr-kicker { margin-bottom: 10px; }
.nr-plate-count { font: 700 clamp(28px, 3vw, 40px)/1 var(--cond); color: #fff; }
.nr-track-wrap { position: relative; overflow: hidden; }
.nr-track {
  display: flex; gap: clamp(16px, 2.4vw, 36px); width: max-content; padding: 0 var(--gutter);
  transform: translate3d(calc(var(--p, 0) * var(--dist, 0) * -1px), 0, 0); will-change: transform;
}
.nr-plate { margin: 0; width: min(80vw, 760px); display: flex; flex-direction: column; gap: 14px; }
.nr-plate-img { height: min(54vh, 480px); border-radius: 4px; overflow: hidden; background: var(--dim); }
.nr-plate-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nr-mono img { filter: grayscale(1); }
/* Book spreads (#30 item 12c): whole two-page spread, never cropped (the pages carry text).
   Height follows the same min(54vh, 480px) as before; width from the 1600x880 shape. */
.nr-plate-spread { width: min(88vw, calc(min(54vh, 480px) * 1.818)); }
.nr-plate-spread .nr-plate-img { height: auto; aspect-ratio: 1600 / 880; background: #fff; }
.nr-plate-spread .nr-plate-img img { object-fit: contain; }
.nr-plate figcaption { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.nr-plate-t { font: 700 24px/1.1 var(--cond); color: #fff; }
.nr-plate-c { font-size: 14px; color: var(--muted); text-align: right; }
.nr-plate-cta {
  width: min(80vw, 520px); height: min(54vh, 480px); background: var(--yellow); color: var(--bg); border-radius: 4px;
  padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: space-between;
}
.nr-plate-cta-t { font: 800 clamp(40px, 4.4vw, 64px)/.9 var(--cond); }
.nr-plates-bar { position: relative; margin: 0 var(--gutter); height: 2px; background: var(--dim); }
.nr-plates-bar-fill { position: absolute; inset: 0; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* 4. Praise (sticky, word scrub) */
.nr-praise { position: relative; height: 160vh; background: #000; }
.nr-praise-stick { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.nr-praise-img {
  position: absolute; right: 0; top: 0; height: 100%; width: min(78vw, 1100px); object-fit: cover; object-position: 70% center; opacity: .75;
  transform: scale(calc(1.12 - var(--v, .5) * .12)) translateY(calc((var(--v, .5) - .5) * -60px * var(--k, 1)));
}
.nr-praise-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #000 30%, rgba(0,0,0,.35) 75%, rgba(0,0,0,.15)); }
.nr-quote { margin: 0; max-width: 820px; font: 700 clamp(40px, 5.6vw, 84px)/.98 var(--cond); color: #fff; display: flex; flex-wrap: wrap; column-gap: .24em; }
.nr-quote [data-w] { opacity: .18; transition: opacity .15s linear; }
.nr-cite { margin-top: 28px; font-size: 17px; color: var(--text-2); }
.nr-cite b { color: #fff; }

/* 5. Limited edition */
.nr-edition {
  position: relative; padding: clamp(80px, 12vw, 160px) var(--gutter);
  display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 96px); align-items: center; justify-content: space-between;
}
.nr-edition-copy { flex: 1 1 340px; max-width: 520px; }
.nr-count { font: 800 clamp(110px, 16vw, 220px)/.8 var(--cond); color: #fff; font-variant-numeric: tabular-nums; }
.nr-count-sub { font: 700 clamp(24px, 2.6vw, 36px)/1.1 var(--cond); color: var(--muted); margin-top: 12px; }
.nr-edition-grid { flex: 1 1 380px; max-width: 520px; display: flex; flex-direction: column; gap: 16px; }
.nr-dots { display: grid; grid-template-columns: repeat(25, minmax(0, 1fr)); gap: clamp(3px, .45vw, 6px); }
.nr-dots span { aspect-ratio: 1; border-radius: 2px; background: var(--dim); }
.nr-legend { display: flex; gap: 22px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.nr-legend span { display: flex; align-items: center; gap: 8px; }
.nr-key { width: 12px; height: 12px; border-radius: 2px; background: var(--dim); display: inline-block; }
.nr-key-on { background: var(--yellow); }

/* 6. Gifting (wipe reveal) */
.nr-gift { position: relative; background: var(--surface); --w: clamp(0, calc(var(--v, 1) * 2.4), 1); }
.nr-gift-in { padding: clamp(70px, 10vw, 140px) var(--gutter); display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 80px); align-items: center; }
.nr-gift-img { flex: 1 1 440px; height: clamp(320px, 42vw, 580px); position: relative; overflow: hidden; border-radius: 4px; clip-path: inset(calc((1 - var(--w)) * 100%) 0 0 0); }
.nr-gift-img img { position: absolute; inset: -8%; width: 116%; height: 116%; object-fit: cover; transform: scale(calc(1.2 - var(--w) * .2)); }
.nr-gift-copy { flex: 1 1 340px; max-width: 480px; }
.nr-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.nr-chips span { border: 1px solid rgba(255,255,255,.25); border-radius: 20px; padding: 7px 14px; font-size: 14px; }

/* 7. Order */
.nr-order { position: relative; padding: clamp(70px, 10vw, 140px) var(--gutter); display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 80px); align-items: flex-start; }
.nr-order-summary { flex: 1 1 320px; max-width: 440px; position: sticky; top: 96px; display: flex; flex-direction: column; gap: 22px; }
.nr-order-summary img { width: min(240px, 50vw); height: auto; filter: drop-shadow(0 30px 30px rgba(0,0,0,.5)); }
.nr-order-price { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; font-size: 15px; color: var(--text-3); }
.nr-order-price b { font: 800 40px/1 var(--cond); color: var(--yellow); }
.nr-order-steps { flex: 1 1 440px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.nr-steps { display: flex; flex-direction: column; gap: 18px; }
.nr-card { background: var(--surface); border: 1px solid var(--surface-border); border-radius: 10px; padding: clamp(20px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.nr-step-h { display: flex; gap: 12px; align-items: baseline; }
.nr-step-h-split { justify-content: space-between; flex-wrap: wrap; }
.nr-step-n { font: 800 26px/1 var(--cond); color: var(--yellow); }
.nr-step-t { font: 700 26px/1.05 var(--cond); color: #fff; }
.nr-step-pick { font: 700 20px/1 var(--cond); color: var(--yellow); }
.nr-input { background: var(--bg); color: var(--text); border: 1px solid var(--input-border); border-radius: 6px; padding: 12px; font: 16px var(--body); width: 100%; }
textarea.nr-input { font-size: 15px; resize: vertical; }
.nr-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.nr-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text); min-width: 0; }
.nr-field i { font-style: normal; color: var(--muted); font-size: 12px; }
.nr-field-wide { grid-column: 1 / -1; }
.nr-input:focus-visible { outline: 2px solid var(--yellow); outline-offset: 1px; }
.nr-input:user-invalid { border-color: #ff6b6b; }
.nr-ask-link { display: inline-block; text-decoration: none; text-align: center; }
.nr-numgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 5px; max-height: 200px; overflow-y: auto; padding-right: 4px; }
.nr-num { font: 600 15px/1 var(--cond); padding: 8px 0; border-radius: 4px; border: 1px solid var(--input-border); background: transparent; color: var(--text); cursor: pointer; }
.nr-num:hover:not(:disabled) { border-color: var(--yellow); }
.nr-num[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--bg); }
.nr-num:disabled { background: var(--dim-2); border-color: var(--dim-2); color: #3E4D44; cursor: default; }
.nr-allocate { border: 1px dashed #4E6155; background: transparent; color: var(--text); border-radius: 6px; padding: 11px; font: 15px var(--body); cursor: pointer; }
.nr-allocate:hover { border-color: var(--yellow); color: var(--yellow); }
.nr-toggle { display: flex; gap: 8px; }
.nr-tog { flex: 1; padding: 12px; border-radius: 6px; font: 600 15px var(--body); cursor: pointer; border: 1px solid var(--input-border); background: transparent; color: var(--text); }
.nr-tog[aria-pressed="true"] { border-color: var(--yellow); background: var(--yellow); color: var(--bg); }
.nr-pay-card { background: var(--yellow); border: 0; border-radius: 6px; padding: 15px; font: 700 16px var(--body); color: var(--bg); cursor: pointer; transition: background-color .25s ease; }
.nr-pay-card:hover { background: #fff; }
.nr-paylogos { height: 26px; width: auto; align-self: flex-start; margin-top: 6px; }
.nr-trust { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.nr-done { padding: clamp(24px, 3vw, 40px); align-items: flex-start; }
.nr-tick { width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); color: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; }
.nr-done-h { font: 800 40px/1 var(--cond); color: #fff; margin: 0; }
.nr-restart { border: 1px solid #4E6155; background: transparent; color: var(--text); border-radius: 6px; padding: 10px 16px; font: 14px var(--body); cursor: pointer; }
[hidden] { display: none !important; }

/* Footer + mobile order bar */
.nr-footer { border-top: 1px solid rgba(255,255,255,.08); }
.nr-footer-in { padding: 28px var(--gutter) 110px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.endorse { display: inline-flex; align-items: center; gap: 9px; font: 13px 'Jost', var(--body); color: rgba(255,255,255,.72); }
.endorse b { color: #fff; font-weight: 600; }
.endorse b.endorse-red { color: #D32027; }
.nr-mbar { display: none; }

/* Narrow (< 900px) */
@media (max-width: 899px) {
  .nr-nav-links, .nr-nav-cta { display: none; }
  /* news strip: no override, --news-h / --news-fs already scale with the width (74px tall at 390) */
  .nr-hero { --bx0: 0px; --by0: 31vh; }
  .nr-scroll-cue { display: none; }
  .nr-hero-copy { max-width: none; }
  .nr-order-summary { position: relative; top: 0; }
  .nr-mbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px 16px; background: linear-gradient(0deg, var(--bg) 70%, rgba(7,18,11,0)); }
  .nr-mbar a { display: flex; justify-content: space-between; background: var(--yellow); color: var(--bg); border-radius: 8px; padding: 15px 18px; font-weight: 700; font-size: 16px; }
}

/* Short phones (360x640 class): the taller header with the news strip pushed the hero copy down,
   so the book started on top of the buttons. Tighter type, and the book starts lower (#5 item 13a). */
@media (max-width: 899px) and (max-height: 760px) {
  .nr-hero { --by0: 47vh; }
  .nr-h1 { font-size: 46px; }
  .nr-hero-intro { font-size: 15px; margin: 14px 0 18px; }
  .nr-hero-remain { margin-top: 14px; }
  .nr-hero-book img { height: 170px; }
}

/* Short desktops (1280x720, 1366x768): the names-strip-sized news strip (#28) makes the header
   ~230px, which pushed the buttons under the fold. The title follows the height as well as the width. */
@media (min-width: 900px) and (max-height: 820px) {
  .nr-h1 { font-size: clamp(52px, min(8.4vw, 12vh), 132px); }
  .nr-hero-intro { margin: 14px 0 18px; }
  .nr-hero-remain { margin-top: 14px; }
}

/* Reduced motion: nothing moves, everything stays visible, the gallery stays usable. */
@media (prefers-reduced-motion: reduce) {
  .nr-hero { height: auto; }
  .nr-hero-stick { position: relative; }
  .nr-hero-copy { opacity: 1; transform: none; }
  .nr-stat { opacity: 1; transform: none; }
  .nr-plates { height: auto; }
  .nr-plates-stick { position: relative; height: auto; padding: 96px 0; }
  .nr-track-wrap { overflow-x: auto; }
  .nr-track { transform: none; }
  .nr-newsstrip-view { overflow-x: auto; scrollbar-width: none; }
  .nr-newsstrip-view::-webkit-scrollbar { display: none; }
  .nr-newsstrip-set[aria-hidden] { display: none; }
  .nr-newsstrip-track { transform: none !important; }
  .nr-ghost { display: none; }
  .nr-praise { height: auto; }
  .nr-praise-stick { position: relative; min-height: 100vh; }
  .nr-quote [data-w] { opacity: 1; }
  .nr-gift { --w: 1; }
  * { scroll-behavior: auto !important; }
}

/* Order result pages (/order/, #5 item 6) */
.nr-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.nr-pay-card:disabled { opacity: .6; cursor: wait; }
.nr-ohead { padding: 22px var(--gutter); border-bottom: 1px solid rgba(255,255,255,.08); }
.nr-opage { min-height: 70vh; padding: clamp(40px, 8vw, 100px) var(--gutter); display: flex; justify-content: center; align-items: flex-start; }
.nr-ocard { width: 100%; max-width: 640px; }
.nr-ocard a:not(.nr-btn):not(.nr-btn-ghost):not(.nr-restart) { color: var(--yellow); }
.nr-oh3 { font: 800 19px/1.1 var(--cond); letter-spacing: .03em; color: #fff; margin: 8px 0 0; }
.nr-ocard .nr-btn-ghost { display: inline-block; }
.nr-olist { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 6px 0 0; font-size: 17px; }
.nr-olist dt { color: var(--muted); }
.nr-olist dd { margin: 0; color: var(--text); }
.nr-oh2 { font: 800 26px/1 var(--cond); color: #fff; margin: 12px 0 0; }
.nr-oerr { margin: 0; padding-left: 20px; font-size: 17px; line-height: 1.6; color: var(--text); }
.nr-mt0 { margin-top: 0; }
@media (max-width: 480px) { .nr-olist { grid-template-columns: 1fr; gap: 2px; } .nr-olist dd { margin-bottom: 8px; } }

/* Country list on the home page and one order page per country (#5 item 7e) */
.nr-countries { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.nr-country-card { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--surface-border); border-radius: 10px; color: inherit; text-decoration: none; transition: border-color .15s; }
.nr-country-card:hover, .nr-country-card:focus-visible, .nr-country-card.is-you { border-color: var(--yellow); }
.nr-country-name { font: 800 22px/1.1 var(--cond); letter-spacing: .02em; text-transform: uppercase; }
.nr-country-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.nr-country-price b { font: 800 26px/1 var(--cond); color: var(--yellow); }
.nr-country-price i { font-style: normal; font-size: 13px; color: var(--muted); }
.nr-ohead-split { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.nr-ohead-link { color: var(--yellow); font-size: 14px; }
.nr-order-page { padding-top: clamp(32px, 5vw, 64px); }
.nr-order-page .nr-order-summary { position: relative; top: 0; }
.nr-guide { font-size: 15px; color: var(--text-3); }
.nr-guide b { font: 800 26px/1 var(--cond); color: #fff; }
.nr-note { margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); }

/* Latest news (#5 item 8) */
.nr-ohead-links { display: flex; gap: 20px; flex-wrap: wrap; }
.nr-latest { padding: clamp(40px, 7vw, 100px) var(--gutter); display: flex; flex-direction: column; gap: 18px; }
.nr-latest-home { padding-bottom: 0; }
.nr-news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; margin-top: 8px; }
.nr-news-card { display: flex; flex-direction: column; gap: 10px; color: inherit; text-decoration: none; min-width: 0; }
.nr-news-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.nr-news-date { font-size: 13px; color: var(--muted); }
.nr-news-title { font: 800 24px/1.1 var(--cond); letter-spacing: .01em; }
.nr-news-card:hover .nr-news-title, .nr-news-card:focus-visible .nr-news-title { color: var(--yellow); }
.nr-news-excerpt { font-size: 15px; line-height: 1.5; color: var(--text-3); }
.nr-post { padding: clamp(32px, 6vw, 72px) var(--gutter); display: flex; justify-content: center; }
.nr-post article { width: 100%; max-width: 720px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.nr-post article > img { width: 100%; height: auto; border-radius: 8px; }
.nr-post-body { font-size: 17px; line-height: 1.65; color: var(--text-2, var(--text-3)); width: 100%; }
.nr-post-body p { margin: 0 0 1.1em; }
.nr-post-body a { color: var(--yellow); overflow-wrap: anywhere; }
.nr-post-body blockquote { margin: 0 0 1.2em; padding-left: 18px; border-left: 3px solid var(--yellow); }
.nr-post-body blockquote p { margin: 0; }
.nr-post-body figure { margin: 0 0 1.2em; }
.nr-post-body img { width: 100%; height: auto; border-radius: 8px; }
/* #43 post-page call to action (posts are campaign landing pages): button ~3x the normal
   16px, red arrow on its right pointing back at it, delivery note in white. Phone: the note
   goes under the button and the arrow points up. */
.nr-post-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 12px; }
.nr-btn-big { font-family: var(--cond); font-weight: 800; font-size: clamp(30px, 7vw, 48px); line-height: 1.05; letter-spacing: .01em; padding: .45em .7em; }
.nr-post-cta-note { display: flex; align-items: center; gap: 12px; color: #fff; font-family: var(--cond); font-weight: 700; font-size: clamp(18px, 3.2vw, 24px); line-height: 1.15; text-transform: uppercase; }
.nr-post-cta-arrow { width: 64px; height: 32px; flex: none; color: var(--red); }
.nr-post-cta-arrow { transform: rotate(90deg); width: 40px; height: 20px; }
/* Wide screens: one row. The row is wider than the 720px article, so it runs past the
   text column on the right (the column is centred, there is room). */
@media (min-width: 900px) {
  .nr-post-cta { flex-direction: row; align-items: center; gap: 20px; width: max-content; }
  .nr-post-cta-arrow { transform: none; width: 64px; height: 32px; }
}
.nr-latest-home .nr-restart { align-self: flex-start; }
.has-preview .nr-ohead { padding-top: 46px; }   /* clear of the fixed preview bar */
