/* =========================================================================
   Nomien — landing page styles
   Visual language: "The Pristine Curator" (ADR-008, 2026-06-30 Nomien refresh)

   Brand decisions live in :root below. Re-theming the whole site is a token
   edit — component rules reference the tokens, never raw brand values.

   Hard rules enforced here:
   - Tonal separation only. Areas separate via whitespace and surface tone
     (#FFFFFF -> #F9F9F9 -> #EDE8DA hover). No borders/hairlines for structure.
   - Shadows appear only on elements that genuinely float.
   - Signature red (--bn-primary) is precious: CTAs + critical data only.
   - Oswald for hero/section titles only. Schibsted Grotesk everywhere else.
   - Focus ring is near-black (--bn-text), never red.
   ========================================================================= */

:root {
  /* ---- colour (verbatim from ADR-008 implementation reference) ---- */
  --bn-primary:        #dd0e1f;  /* signature red — primary action          */
  --bn-primary-hover:  #CC0011;  /* darker on hover (intentional)           */
  --bn-background:     #FFFFFF;  /* page canvas                             */
  --bn-card:           #F9F9F9;  /* card / raised surface                   */
  --bn-surface-hover:  #EDE8DA;  /* parchment hover / selected emphasis     */

  /* secondary button */
  --bn-secondary-fill: #FFFFFF;
  --bn-secondary-text: #221D1C;

  /* text */
  --bn-text:               #221D1C;  /* primary / headings                  */
  --bn-text-body:          #3D3630;  /* body copy                           */
  --bn-text-muted:         #6B5F52;  /* muted on page/card                  */
  --bn-text-muted-on-fill: #564B40;  /* muted on tinted fills               */

  /* semantic status */
  --bn-danger:  #7F1D1D;  /* oxblood — NOT the signature red */
  --bn-success: #15803d;
  --bn-warning: #a16207;
  --bn-info:    #1d4ed8;

  /* focus */
  --bn-focus-ring: 2px solid #221D1C;  /* never red */

  /* type */
  --bn-font-display: 'Oswald', sans-serif;
  --bn-font-body:    'Schibsted Grotesk', sans-serif;

  /* shape */
  --bn-button-radius: 10px;
  --bn-card-radius:   12px;
  --radius-sm:        8px;
  --radius-full:      9999px;

  /* ---- derived (not brand decisions — layout/elevation/motion) ---- */
  --bn-shadow-float: 0 12px 32px -12px rgba(34, 29, 28, 0.18);
  --bn-shadow-soft:  0 6px 20px -14px rgba(34, 29, 28, 0.22);
  --bn-shadow-brand-glow: 0 8px 24px -8px rgba(221, 14, 31, 0.40);

  --bn-container: 1440px;
  --bn-gutter: clamp(1.25rem, 5vw, 3rem);
  --bn-section-y: clamp(4rem, 9vw, 7.5rem);

  --bn-letter-spacing-wide: 0.01em;
  --bn-eyebrow-tracking: 0.16em;

  --bn-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* =========================================================================
   Reset / base
   ========================================================================= */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--bn-font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--bn-text-body);
  background-color: var(--bn-background);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;  /* belt-and-braces against marquee overflow */
}

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

a { color: inherit; }

button { font: inherit; cursor: pointer; }

h1, h2, h3, h4, p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: var(--bn-focus-ring);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Honour reduced motion globally for the smooth-scroll affordance. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.bn-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bn-skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 200;
  background: var(--bn-text);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--bn-ease);
}
.bn-skip-link:focus { top: 1rem; }

/* =========================================================================
   Layout helpers
   ========================================================================= */

.bn-container {
  width: 100%;
  max-width: var(--bn-container);
  margin-inline: auto;
  padding-inline: var(--bn-gutter);
}

.bn-section {
  padding-block: var(--bn-section-y);
  scroll-margin-top: 5rem;
}

/* Tonal area separation: alternate page and card tone, no rules. */
.bn-section--tinted { background-color: var(--bn-card); }

.bn-section__head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.bn-section__head--center { margin-inline: auto; text-align: center; }

.bn-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: var(--bn-eyebrow-tracking);
  text-transform: uppercase;
  color: var(--bn-text-muted);
  margin-bottom: 1rem;
}

.bn-section__title {
  font-family: var(--bn-font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: var(--bn-letter-spacing-wide);
  color: var(--bn-text);
}

.bn-section__lede {
  margin-top: 1.1rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--bn-text-body);
}
.bn-section__lede a {
  color: var(--bn-text);
  font-weight: 600;
  text-decoration-color: var(--bn-surface-hover);
  text-decoration-thickness: 0.18em;
  text-underline-offset: 0.18em;
}
.bn-section__lede a:hover { text-decoration-color: var(--bn-primary); }

/* =========================================================================
   Buttons
   ========================================================================= */

.bn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border: 0;
  border-radius: var(--bn-button-radius);
  font-weight: 600;
  font-size: 0.975rem;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s var(--bn-ease),
              box-shadow 0.2s var(--bn-ease),
              transform 0.2s var(--bn-ease);
}

/* Primary — the precious red, with a required second hover cue (glow). */
.bn-btn--primary {
  background-color: var(--bn-primary);
  color: #fff;
}
.bn-btn--primary:hover {
  background-color: var(--bn-primary-hover);
  box-shadow: var(--bn-shadow-brand-glow);
  transform: translateY(-1px);
}

/* Secondary — relies on dark text + tonal context, no edge. */
.bn-btn--secondary {
  background-color: var(--bn-secondary-fill);
  color: var(--bn-secondary-text);
  box-shadow: var(--bn-shadow-soft);
}
.bn-btn--secondary:hover {
  background-color: var(--bn-surface-hover);
}

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

.bn-btn[disabled],
.bn-btn[aria-disabled="true"] {
  background-color: var(--bn-surface-hover);
  color: var(--bn-text-muted);
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}

/* =========================================================================
   Header / navigation
   ========================================================================= */

.bn-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bn-background);
  transition: background-color 0.25s var(--bn-ease),
              box-shadow 0.25s var(--bn-ease),
              backdrop-filter 0.25s var(--bn-ease);
}

/* Glassmorphism — only here, only once scrolled (content moves behind it). */
.bn-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: var(--bn-shadow-float);
}

.bn-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
}

.bn-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--bn-text);
}

/* Primary logo lockup (NOMIEN wordmark on its red seal banner). The source SVG
   is a banner centred in a square canvas with transparent top/bottom padding;
   object-fit: cover crops that padding to the banner, which fills the width. */
.bn-brand__logo {
  display: block;
  flex: none;
  height: 3.4rem;
  width: 8.86rem;          /* 900:345 banner ratio (≈2.605:1) — keep width = height × 2.605 */
  object-fit: cover;
  object-position: center;
}

.bn-nav { display: flex; align-items: center; gap: 2rem; }

.bn-nav__list { display: flex; align-items: center; gap: 1.75rem; }

.bn-nav__link {
  position: relative;
  text-decoration: none;
  color: var(--bn-text-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding-block: 0.25rem;
  transition: color 0.2s var(--bn-ease);
}
.bn-nav__link:hover { color: var(--bn-text); }

/* Active nav state (scroll-spy) — a short red underline marks position.
   Red on the white page passes AA and reads as "you are here". */
.bn-nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: var(--bn-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--bn-ease);
}
.bn-nav__link.is-active { color: var(--bn-text); }
.bn-nav__link.is-active::after { transform: scaleX(1); }

.bn-nav__toggle {
  display: none;
  flex: none;
  width: 2.75rem; height: 2.75rem;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--bn-text);
}
.bn-nav__toggle:hover { background-color: var(--bn-surface-hover); }
.bn-nav__toggle .bn-icon--close { display: none; }
.bn-nav__toggle[aria-expanded="true"] .bn-icon--menu { display: none; }
.bn-nav__toggle[aria-expanded="true"] .bn-icon--close { display: block; }

/* =========================================================================
   Hero
   ========================================================================= */

.bn-hero { padding-block: clamp(3rem, 7vw, 6rem); }

.bn-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
/* Let both columns shrink below their content's intrinsic size — the media
   placeholder's aspect-ratio would otherwise blow the track out on mobile. */
.bn-hero__copy,
.bn-hero__media { min-width: 0; }

/* Single-column hero while the media slot is hidden (no video yet). */
.bn-hero__grid--solo { grid-template-columns: 1fr; }
.bn-hero__grid--solo .bn-hero__copy { max-width: 42rem; }

.bn-hero__title {
  font-family: var(--bn-font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.6vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: var(--bn-letter-spacing-wide);
  color: var(--bn-text);
}
.bn-hero__title .bn-accent { color: var(--bn-primary); }

.bn-hero__lede {
  margin-top: 1.4rem;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  color: var(--bn-text-body);
  max-width: 34rem;
}

.bn-hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Backer badge — a quiet support slot, not a red element. The pill is white so
   the Alacrity logo's solid white background blends in; the soft shadow lifts it. */
.bn-backer {
  margin-top: 2.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.55rem 1.1rem;
  background-color: var(--bn-background);
  border-radius: var(--radius-full);
  box-shadow: var(--bn-shadow-soft);
}
.bn-backer__text { font-size: 0.85rem; color: var(--bn-text-muted); white-space: nowrap; }
.bn-backer__img { height: 1.7rem; width: auto; display: block; }

.bn-hero__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: var(--bn-card-radius);
  background-color: var(--bn-card);
  box-shadow: var(--bn-shadow-float);
  overflow: hidden;
  isolation: isolate;
}

.bn-hero__fallback {
  width: clamp(4rem, 18%, 6rem);
  height: auto;
  opacity: 0.92;
  pointer-events: none;
  transition: opacity 0.24s var(--bn-ease), transform 0.24s var(--bn-ease);
  z-index: 1;
}

.bn-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: transparent;
  z-index: 2;
}

.js .bn-hero__media:not(.is-video-ready) .bn-hero__video {
  opacity: 0;
}

.js .bn-hero__media.is-video-ready .bn-hero__fallback {
  opacity: 0;
  transform: scale(0.96);
}

/* =========================================================================
   Media placeholders (tonal — never broken media)
   Labelled tonal slabs that stand in for real video/photography.
   ========================================================================= */

.bn-placeholder {
  position: relative;
  width: 100%;
  border-radius: var(--bn-card-radius);
  background-color: var(--bn-card);
  background-image:
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 22px,
      rgba(34, 29, 28, 0.025) 22px,
      rgba(34, 29, 28, 0.025) 44px
    );
  box-shadow: var(--bn-shadow-float);
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 18rem;
}
.bn-placeholder--hero { aspect-ratio: 4 / 3; }
.bn-placeholder--wide { aspect-ratio: 16 / 7; width: 100%; }
.bn-placeholder--portrait { aspect-ratio: 3 / 4; }

.bn-placeholder__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  background-color: var(--bn-surface-hover);
  color: var(--bn-text-muted-on-fill);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.bn-placeholder__label svg { width: 1rem; height: 1rem; }

/* =========================================================================
   Editorial photography
   Real images dropped into the editorial slots. They genuinely float, so a
   soft shadow is allowed; corners follow the card radius.
   ========================================================================= */

.bn-editorial {
  display: block;
  width: 100%;
  border-radius: var(--bn-card-radius);
  box-shadow: var(--bn-shadow-float);
  object-fit: cover;
  object-position: center;
  background-color: var(--bn-card);  /* tonal hold while the image loads */
}
.bn-editorial--wide { aspect-ratio: 16 / 8; }
.bn-editorial--portrait { aspect-ratio: 4 / 5; }

/* Why-section intro: copy alongside a portrait image, widgets below. */
.bn-why__intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.bn-why__intro .bn-section__head { margin-bottom: 0; max-width: none; }

/* =========================================================================
   Problem — drifting email-chip marquees
   ========================================================================= */

.bn-marquees {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /* Soft tonal fade at both edges instead of a hard cut. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  /* Break out of .bn-container to bleed full viewport width. */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.bn-marquee { overflow: hidden; }

.bn-marquee__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding-block: 25px;  /* room for the accent chip's glow; block-only so the seamless loop math is untouched */
  animation: bn-drift 38s linear infinite;
}
.bn-marquee--reverse .bn-marquee__track {
  animation-direction: reverse;
  animation-duration: 46s;
}
.bn-marquee--slow .bn-marquee__track { animation-duration: 54s; }

.bn-marquee:hover .bn-marquee__track { animation-play-state: paused; }

@keyframes bn-drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }  /* track holds two copies of the set */
}

.bn-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
  padding: 0.7rem 1.05rem;
  background-color: var(--bn-background);
  border-radius: var(--radius-full);
  box-shadow: var(--bn-shadow-soft);
  white-space: nowrap;
}
.bn-section--tinted .bn-chip { /* keep chips readable as floating on tint */
  background-color: var(--bn-background);
}
.bn-chip__icon {
  width: 1.6rem; height: 1.6rem;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background-color: var(--bn-surface-hover);
  color: var(--bn-text-muted-on-fill);
}
.bn-chip__icon svg,
.bn-chip__icon img { width: 0.95rem; height: 0.95rem; }
.bn-chip__text { font-size: 0.9rem; color: var(--bn-text-body); }
.bn-chip__meta { font-size: 0.75rem; color: var(--bn-text-muted); }

/* The one chip that breaks from the chaos: the resolution, mid-marquee. */
.bn-chip--accent { box-shadow: var(--bn-shadow-brand-glow); }
.bn-chip--accent .bn-chip__text { font-weight: 700; color: var(--bn-primary); }

.bn-resolution {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  max-width: 40rem;
  font-family: var(--bn-font-body);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--bn-text);
}
.bn-resolution .bn-accent { color: var(--bn-primary); }

/* =========================================================================
   Get found (#get-found)
   ========================================================================= */

.bn-discovery__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
  column-gap: clamp(2rem, 5vw, 4.5rem);
  row-gap: clamp(1.75rem, 4vw, 3rem);
  align-items: stretch;
}

.bn-map {
  position: relative;
  min-height: 100%;
  border-radius: var(--bn-card-radius);
  background-color: var(--bn-card);
  box-shadow: var(--bn-shadow-float);
  overflow: hidden;
}
.bn-map__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.96;
  transform: scale(1.015);
  transition: opacity 0.6s var(--bn-ease), transform 0.8s var(--bn-ease);
}
.bn-map.is-in .bn-map__image {
  opacity: 1;
  transform: none;
}
.bn-map__label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-full);
  background-color: var(--bn-background);
  box-shadow: var(--bn-shadow-soft);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bn-text-muted);
}

.bn-discovery__points {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  gap: 1rem;
}
.bn-discovery__point {
  background-color: var(--bn-card);
  border-radius: var(--bn-card-radius);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  box-shadow: var(--bn-shadow-soft);
}
.bn-discovery__index {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: var(--radius-full);
  background-color: var(--bn-surface-hover);
  color: var(--bn-text);
  font-family: var(--bn-font-display);
  font-weight: 600;
  font-size: 0.95rem;
}
.bn-discovery__point h3 {
  margin-top: 0.8rem;
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--bn-text);
}
.bn-discovery__point h3 span {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.18rem 0.45rem;
  border-radius: var(--radius-full);
  background-color: var(--bn-surface-hover);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bn-text-muted-on-fill);
  vertical-align: middle;
}
.bn-discovery__point p {
  margin-top: 0.55rem;
  color: var(--bn-text-body);
}

/* =========================================================================
   Audience split (#network)
   ========================================================================= */

.bn-network__pair {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.bn-audience {
  background-color: var(--bn-card);
  border-radius: var(--bn-card-radius);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--bn-shadow-soft);
}
.bn-audience__role {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: var(--bn-eyebrow-tracking);
  text-transform: uppercase;
  color: var(--bn-text-muted);
}
.bn-audience__title {
  margin-top: 0.6rem;
  font-family: var(--bn-font-body);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--bn-text);
}
.bn-audience__body { margin-top: 0.9rem; color: var(--bn-text-body); }
.bn-audience__list { margin-top: 1.25rem; display: grid; gap: 0.75rem; }
.bn-audience__item {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.95rem;
}
.bn-audience__item svg {
  width: 1.15rem; height: 1.15rem;
  flex: none;
  margin-top: 0.15rem;
  color: var(--bn-primary);  /* small icon — red permitted */
}

/* Center interchange marker — implies exchange between the two sides. */
.bn-interchange {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 3.25rem; height: 3.25rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background-color: var(--bn-background);
  color: var(--bn-text);
  box-shadow: var(--bn-shadow-float);
}
.bn-interchange svg { width: 1.4rem; height: 1.4rem; }

/* =========================================================================
   Control (#control)
   ========================================================================= */

.bn-control {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.bn-control__copy .bn-section__lede { max-width: 44rem; }
.bn-control__list {
  display: grid;
  gap: 0.85rem;
}
.bn-control__list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  border-radius: var(--bn-card-radius);
  background-color: var(--bn-background);
  box-shadow: var(--bn-shadow-soft);
  color: var(--bn-text);
  font-weight: 500;
}
.bn-control__mark {
  width: 2rem;
  height: 2rem;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background-color: var(--bn-surface-hover);
  color: var(--bn-text);
}
.bn-control__mark svg { width: 1rem; height: 1rem; }

/* =========================================================================
   Product loop (#loop)
   ========================================================================= */

.bn-loop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.bn-step {
  background-color: var(--bn-card);
  border-radius: var(--bn-card-radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--bn-shadow-soft);
}
.bn-step__badge {
  display: inline-grid;
  place-items: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--radius-full);
  background-color: var(--bn-surface-hover);
  color: var(--bn-text);
  font-family: var(--bn-font-display);
  font-weight: 600;
  font-size: 1.05rem;
}
.bn-step__title {
  margin-top: 1.1rem;
  font-family: var(--bn-font-body);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--bn-text);
}
.bn-step__body { margin-top: 0.6rem; color: var(--bn-text-body); }

/* =========================================================================
   Why it exists (#why-nomien) — proof widgets
   ========================================================================= */

.bn-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.bn-widget {
  background-color: var(--bn-card);
  border-radius: var(--bn-card-radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--bn-shadow-soft);
  min-height: 16rem;
  display: flex;
  flex-direction: column;
}
.bn-widget__title {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: var(--bn-eyebrow-tracking);
  text-transform: uppercase;
  color: var(--bn-text-muted);
}
.bn-widget__caption {
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--bn-text-body);
}

/* Reorder alert list — items reveal in sequence (JS adds .is-in). */
.bn-reorder { margin-top: 1.25rem; display: grid; gap: 0.65rem; }
.bn-reorder__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background-color: var(--bn-background);
  border-radius: var(--radius-sm);
  box-shadow: var(--bn-shadow-soft);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s var(--bn-ease), transform 0.45s var(--bn-ease);
}
.bn-widget.is-in .bn-reorder__row { opacity: 1; transform: none; }
.bn-widget.is-in .bn-reorder__row:nth-child(1) { transition-delay: 0.05s; }
.bn-widget.is-in .bn-reorder__row:nth-child(2) { transition-delay: 0.2s; }
.bn-widget.is-in .bn-reorder__row:nth-child(3) { transition-delay: 0.35s; }
.bn-reorder__dot {
  width: 0.6rem; height: 0.6rem; flex: none;
  border-radius: var(--radius-full);
  background-color: var(--bn-primary);  /* critical "act now" data — red ok */
}
.bn-reorder__name { font-size: 0.9rem; color: var(--bn-text); font-weight: 500; }
.bn-reorder__meta { margin-left: auto; font-size: 0.8rem; color: var(--bn-text-muted); }

/* Spend chart — counter + animated bars. */
.bn-spend__value {
  margin-top: 1rem;
  font-family: var(--bn-font-display);
  font-weight: 600;
  font-size: 2rem;
  color: var(--bn-text);
  font-variant-numeric: tabular-nums;
}
.bn-spend__value::before { content: "£"; color: var(--bn-text-muted); font-size: 1.2rem; }
.bn-bars {
  margin-top: 1.25rem;
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
  height: 5.5rem;
}
.bn-bars__bar {
  flex: 1;
  height: 0;
  background-color: var(--bn-surface-hover);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: height 0.9s var(--bn-ease);
}
.bn-bars__bar--peak { background-color: var(--bn-primary); }
.bn-widget.is-in .bn-bars__bar { height: var(--bn-bar-h, 0); }

/* Gauge bars — kept for lightweight product widgets that need width animation. */
.bn-gauges { margin-top: 1.25rem; display: grid; gap: 1rem; }
.bn-gauge__row { display: flex; justify-content: space-between; font-size: 0.85rem; }
.bn-gauge__name { color: var(--bn-text); font-weight: 500; }
.bn-gauge__pct { color: var(--bn-text-muted); font-variant-numeric: tabular-nums; }
.bn-gauge__track {
  margin-top: 0.4rem;
  height: 0.5rem;
  background-color: var(--bn-background);
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: var(--bn-shadow-soft);
}
.bn-gauge__fill {
  height: 100%;
  width: 0;
  background-color: var(--bn-text);
  border-radius: var(--radius-full);
  transition: width 1s var(--bn-ease);
}
.bn-gauge__fill--peak { background-color: var(--bn-primary); }
.bn-widget.is-in .bn-gauge__fill { width: var(--bn-gauge-w, 0); }

/* Supplier-side demand feed — rows reveal in sequence inside the widget. */
.bn-demand-feed { margin-top: 1.25rem; display: grid; gap: 0.65rem; }
.bn-demand-feed__row {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem 0.85rem;
  background-color: var(--bn-background);
  border-radius: var(--radius-sm);
  box-shadow: var(--bn-shadow-soft);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s var(--bn-ease), transform 0.45s var(--bn-ease);
}
.bn-widget.is-in .bn-demand-feed__row { opacity: 1; transform: none; }
.bn-widget.is-in .bn-demand-feed__row:nth-child(1) { transition-delay: 0.05s; }
.bn-widget.is-in .bn-demand-feed__row:nth-child(2) { transition-delay: 0.2s; }
.bn-widget.is-in .bn-demand-feed__row:nth-child(3) { transition-delay: 0.35s; }
.bn-demand-feed__type {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bn-text-muted);
}
.bn-demand-feed__row strong {
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--bn-text);
}

/* =========================================================================
   Proof (#proof)
   ========================================================================= */

.bn-proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.86fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.bn-proof__copy .bn-section__head,
.bn-proof__copy .bn-section__lede { margin-bottom: 0; }
.bn-proof__panel {
  background-color: var(--bn-background);
  border-radius: var(--bn-card-radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--bn-shadow-float);
}
.bn-proof__metric {
  display: grid;
  gap: 0.15rem;
}
.bn-proof__number {
  font-family: var(--bn-font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1;
  font-weight: 700;
  color: var(--bn-text);
}
.bn-proof__label {
  color: var(--bn-text-body);
  font-weight: 600;
}
.bn-partners {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.bn-partner {
  display: inline-flex;
  align-items: center;
  min-height: 2.3rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-full);
  background-color: var(--bn-surface-hover);
  color: var(--bn-text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.bn-partner:hover { background-color: var(--bn-card); }

/* =========================================================================
   Day-to-day benefits (#week)
   ========================================================================= */

.bn-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.bn-benefit {
  background-color: var(--bn-card);
  border-radius: var(--bn-card-radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--bn-shadow-soft);
  display: flex;
  flex-direction: column;
}
.bn-benefit__icon {
  width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background-color: var(--bn-surface-hover);
  color: var(--bn-text);
}
.bn-benefit__icon svg { width: 1.4rem; height: 1.4rem; }
.bn-benefit__title {
  margin-top: 1.1rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--bn-text);
}
.bn-benefit__body { margin-top: 0.6rem; color: var(--bn-text-body); }
.bn-benefit__proof {
  margin-top: 1.25rem;
  padding-top: 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--bn-text-muted);
}

/* =========================================================================
   FAQ (#faq)
   ========================================================================= */

.bn-faq {
  margin-top: clamp(2rem, 4vw, 3rem);
  max-width: 44rem;
  margin-inline: auto;
  display: grid;
  gap: 1rem;
}
.bn-faq__item {
  background-color: var(--bn-card);
  border-radius: var(--bn-card-radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--bn-shadow-soft);
}
.bn-faq__question {
  font-family: var(--bn-font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bn-text);
}
.bn-faq__answer {
  margin-top: 0.6rem;
  color: var(--bn-text-body);
}

/* =========================================================================
   Waitlist (#waitlist)
   ========================================================================= */

.bn-waitlist__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.bn-waitlist__copy { max-width: 30rem; }
.bn-waitlist__assurance {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}
.bn-waitlist__assurance li {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 0.95rem; color: var(--bn-text-body);
}
.bn-waitlist__assurance svg {
  width: 1.1rem; height: 1.1rem; flex: none; margin-top: 0.18rem;
  color: var(--bn-text);
}

.bn-form {
  background-color: var(--bn-card);
  border-radius: var(--bn-card-radius);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  box-shadow: var(--bn-shadow-float);
}
.bn-field { margin-bottom: 1.25rem; }
.bn-field__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bn-text-muted-on-fill);
  margin-bottom: 0.5rem;
}
.bn-field__label .bn-req { color: var(--bn-primary); }

.bn-input {
  width: 100%;
  padding: 0.8rem 0.95rem;
  font: inherit;
  color: var(--bn-text);
  background-color: var(--bn-background);
  border: 0;
  border-radius: var(--radius-sm);
  box-shadow: var(--bn-shadow-soft);
}
.bn-input::placeholder { color: var(--bn-text-muted-on-fill); }
.bn-input:focus-visible { outline: var(--bn-focus-ring); outline-offset: 2px; }

/* Interest radios — fieldset/legend, tonal selected state. */
.bn-fieldset { border: 0; margin: 0 0 1.25rem; padding: 0; }
.bn-legend {
  padding: 0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bn-text-muted-on-fill);
  margin-bottom: 0.5rem;
}
.bn-radios { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.bn-radio { position: relative; flex: 1 1 auto; }
.bn-radio__input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.bn-radio__face {
  display: block;
  text-align: center;
  padding: 0.7rem 0.9rem;
  background-color: var(--bn-background);
  border-radius: var(--radius-sm);
  box-shadow: var(--bn-shadow-soft);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--bn-text);
  transition: background-color 0.2s var(--bn-ease), color 0.2s var(--bn-ease);
}
.bn-radio__input:hover + .bn-radio__face { background-color: var(--bn-surface-hover); }
.bn-radio__input:checked + .bn-radio__face {
  background-color: var(--bn-primary);  /* selected = primary intent */
  color: #fff;
  box-shadow: var(--bn-shadow-brand-glow);
}
.bn-radio__input:focus-visible + .bn-radio__face {
  outline: var(--bn-focus-ring);
  outline-offset: 2px;
}

/* Honeypot — visually hidden, off-screen, not announced. */
.bn-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* aria-live status messages. */
.bn-form__message { margin-top: 1rem; font-size: 0.95rem; min-height: 0; }
.bn-form__message:empty { display: none; }
.bn-form__message.is-error { color: var(--bn-danger); font-weight: 500; }
.bn-form__message.is-success { color: var(--bn-success); font-weight: 500; }

.bn-field__error { margin-top: 0.4rem; font-size: 0.85rem; color: var(--bn-danger); }
.bn-field__error:empty { display: none; }

.bn-form.is-complete { opacity: 0.96; }

/* =========================================================================
   Footer
   ========================================================================= */

.bn-footer {
  background-color: var(--bn-card);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.bn-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.bn-footer__brand { display: flex; align-items: center; }
.bn-footer__brand .bn-brand__logo { height: 1.7rem; width: 4.43rem; }
.bn-footer__note {
  flex: 1 1 16rem;
  min-width: 14rem;
  font-size: 0.9rem;
  color: var(--bn-text-muted);
}
.bn-footer__meta { display: flex; align-items: center; gap: 1.25rem; font-size: 0.875rem; }
.bn-footer__link { color: var(--bn-text-body); text-decoration: none; }
.bn-footer__link:hover { color: var(--bn-text); text-decoration: underline; }
.bn-footer__copy { color: var(--bn-text-muted); }

/* =========================================================================
   Privacy / legal page
   ========================================================================= */

.bn-legal { padding-block: clamp(3rem, 6vw, 5rem); }
.bn-legal__inner { max-width: 48rem; }
.bn-legal__title {
  font-family: var(--bn-font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3rem);
  letter-spacing: var(--bn-letter-spacing-wide);
  color: var(--bn-text);
}
.bn-legal__updated { margin-top: 0.75rem; color: var(--bn-text-muted); font-size: 0.9rem; }
.bn-legal h2 {
  font-family: var(--bn-font-body);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--bn-text);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
.bn-legal p { margin-bottom: 1rem; color: var(--bn-text-body); }
.bn-legal ul { margin-bottom: 1rem; display: grid; gap: 0.5rem; }
.bn-legal li { display: flex; gap: 0.6rem; }
.bn-legal li::before { content: "—"; color: var(--bn-text-muted); }
.bn-legal a { color: var(--bn-primary); font-weight: 500; }
.bn-legal__tbd {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  margin-left: 0.25rem;
  background-color: var(--bn-surface-hover);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bn-text-muted-on-fill);
}

/* =========================================================================
   Motion — reveal + kinetic (JS toggles .is-in / per-word spans)
   ========================================================================= */

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--bn-ease), transform 0.6s var(--bn-ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

.bn-kinetic__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
  transition: opacity 0.5s var(--bn-ease), transform 0.5s var(--bn-ease);
}
.bn-kinetic.is-in .bn-kinetic__word { opacity: 1; transform: none; }

/* =========================================================================
   Responsive (multi-column -> single column)
   ========================================================================= */

@media (max-width: 960px) {
  .bn-hero__grid { grid-template-columns: 1fr; }
  .bn-hero__media { order: -1; }
  .bn-discovery__grid { grid-template-columns: 1fr; }
  .bn-map {
    min-height: 0;
    aspect-ratio: 861 / 618;
  }
  .bn-control { grid-template-columns: 1fr; }
  .bn-why__grid { grid-template-columns: 1fr; }
  .bn-loop { grid-template-columns: 1fr; }
  .bn-proof { grid-template-columns: 1fr; }
  .bn-benefits { grid-template-columns: 1fr; }
  .bn-waitlist__grid { grid-template-columns: 1fr; }

  /* Why intro stacks; cap the portrait so it doesn't dominate the column. */
  .bn-why__intro { grid-template-columns: 1fr; }
  .bn-why__intro .bn-editorial--portrait {
    max-width: 24rem;
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  /* Collapse desktop nav into the mobile menu. */
  .bn-nav__toggle { display: inline-flex; }
  .bn-nav {
    position: fixed;
    inset: 4.5rem 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--bn-gutter) 1.5rem;
    background-color: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: var(--bn-shadow-float);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.22s var(--bn-ease), transform 0.22s var(--bn-ease),
                visibility 0.22s var(--bn-ease);
  }
  .bn-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }
  .bn-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .bn-nav__link { padding-block: 0.85rem; font-size: 1.05rem; }
  .bn-nav__link::after { display: none; }
  .bn-nav__link.is-active { color: var(--bn-primary); }
  .bn-nav__cta { margin-top: 0.75rem; }

  .bn-network__pair { grid-template-columns: 1fr; }
  /* Marker sits between stacked cards rather than dead-centre. */
  .bn-interchange { top: 50%; }

  .bn-proof__panel { max-width: 32rem; }

  .bn-footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .bn-hero__actions { flex-direction: column; align-items: stretch; }
  .bn-hero__actions .bn-btn { width: 100%; }
  .bn-radios { flex-direction: column; }
}

/* =========================================================================
   Reduced motion — content stays visible; movement stops
   ========================================================================= */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .bn-marquee__track { animation: none; transform: none; }
  .bn-marquees {
    -webkit-mask-image: none;
            mask-image: none;
    overflow-x: auto;  /* let users scroll the chips instead of drifting */
  }
  [data-reveal],
  .bn-kinetic__word,
  .bn-reorder__row,
  .bn-demand-feed__row { opacity: 1; transform: none; }
  .bn-bars__bar { height: var(--bn-bar-h, 0); }
  .bn-gauge__fill { width: var(--bn-gauge-w, 0); }
}
