/* Blassini & Nater Realty: redesign (docs/redesign/UI.md, PLAN.md §3, DECISIONS 2026-10-29).
   Mobile-first. Breakpoints: 768, 1024, 1280. Only opacity and transform animate. */

/* ── Tokens ──────────────────────────────────────────────────────────
   The owner's black-and-gold palette is the base (DECISIONS 2026-10-29, direction change).
   Values marked "derived" are not in her design; each is contrast-checked (WCAG 2.2). */
:root {
  --bn-ink: #0f0f0d; /* owner: page ground */
  --bn-ink-deep: #0a0a09; /* owner: deeper ground */
  --bn-charcoal: #1a1a18; /* derived: menu sheet, raised surface; cream 14.7:1, gold 6.7:1 */
  --bn-olive-deep: #2b3120; /* derived from brand olive (SB-037): Areas panel; cream 11.3:1, gold 5.2:1 */
  --bn-cream: #f3ebd8; /* owner: text on dark, the light break; on ink 16.2:1 */
  --bn-paper: #fbf7ee; /* derived: one tone above cream (fields, notes); ink 18:1, gold-on-cream 5.2:1 */
  --bn-gold: #c4995a; /* owner: the accent; on ink 7.4:1, ink label on gold 7.4:1 */
  --bn-gold-hover: #d4ae72; /* owner: gold hover; ink on it 9.2:1 */
  --bn-gold-on-cream: #7f633a; /* owner: gold role on cream; 4.7:1 */
  --bn-muted: #a8a08e; /* derived: secondary text on dark; ink 7.4:1, olive-deep 5.2:1 */
  --bn-muted-on-cream: #5c5446; /* derived: secondary text on cream; 6.3:1 */
  --bn-border-dark: #8c8577; /* derived: input borders on dark; 5.2:1 */
  --bn-border: #665e4f; /* derived: input borders on cream; 5.4:1 */
  --bn-error: #9b2c2c; /* owner: errors on cream */
  --bn-error-dark: #f2a497; /* derived: errors on dark */
  /* Form surfaces on the black (derived, contrast-checked) */
  --bn-raised: #1d1d1a; /* fields, cards, chips; cream 14.9:1, muted 6.6:1 */
  --bn-raised-hover: #262622; /* hover tone; cream 13.6:1 */
  --bn-gold-tint: rgb(196 153 90 / 0.13); /* a chosen card or chip; cream on it 12.6:1 */
  --bn-error-tint: #2b1c1a; /* error summary ground; error-dark 8.4:1, cream 14:1 */
  --bn-track: rgb(243 235 216 / 0.2); /* progress segments still to come */

  --bn-serif: "Cormorant Garamond", "BN Serif Fallback", Georgia, "Times New Roman", serif;
  --bn-sans: "Jost", "BN Sans Fallback", "Helvetica Neue", Arial, sans-serif;

  /* Space (4 px base) and layout */
  --bn-s1: 0.25rem;
  --bn-s2: 0.5rem;
  --bn-s3: 0.75rem;
  --bn-s4: 1rem;
  --bn-s5: 1.5rem;
  --bn-s6: 2rem;
  --bn-s7: 3rem;
  --bn-s8: 4rem;
  --bn-s9: 6rem;
  --bn-section: clamp(4.5rem, 2.457rem + 8.381vw, 10rem);
  --bn-section-sm: clamp(3rem, 1.886rem + 4.571vw, 6rem);
  --bn-margin: 20px;
  --bn-gutter: 16px;
  --bn-max: 1280px;
  --bn-header: 68px;

  /* Motion */
  --bn-dur-1: 150ms;
  --bn-dur-2: 240ms;
  --bn-dur-3: 400ms;
  --bn-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --bn-ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --bn-ease-reveal: cubic-bezier(0.16, 1, 0.3, 1); /* headlines and photos, 900 to 1300ms */
  --bn-ease-curtain: cubic-bezier(0.76, 0, 0.24, 1); /* loader, menu, language change */

  /* Context colours (sections opt in to the light break with .bn-light) */
  --bn-bg: var(--bn-ink);
  --bn-fg: var(--bn-cream);
  --bn-soft: var(--bn-muted);
  --bn-accent: var(--bn-gold);
  --bn-focus: var(--bn-gold);
}
@media (min-width: 768px) {
  :root {
    --bn-margin: 40px;
    --bn-gutter: 24px;
  }
}
@media (min-width: 1024px) {
  :root {
    --bn-header: 84px;
  }
}
@media (min-width: 1280px) {
  :root {
    --bn-margin: 80px;
    --bn-gutter: 32px;
  }
}

/* ── Base ─────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-padding-top: calc(var(--bn-header) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: var(--bn-bg);
  color: var(--bn-fg);
  overflow-x: clip; /* not hidden: hidden on an ancestor breaks position: sticky (UI §4.3) */
  font-family: var(--bn-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img,
svg,
picture {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--bn-focus);
  outline-offset: 3px;
}
/* A section that motion.js focuses after a same-page link, as a native jump would */
section[tabindex="-1"]:focus {
  outline: none;
}
::selection {
  background: var(--bn-gold);
  color: var(--bn-ink);
}
.bn-light {
  --bn-bg: var(--bn-cream);
  --bn-fg: var(--bn-ink);
  --bn-soft: var(--bn-muted-on-cream);
  --bn-accent: var(--bn-gold-on-cream);
  --bn-focus: var(--bn-gold-on-cream);
  background: var(--bn-bg);
  color: var(--bn-fg);
}
[hidden] {
  display: none !important; /* components set display; the hidden attribute must still win */
}
.bn-sr {
  position: absolute;
  width: 1px;
  height: 1px; /* taste-skill-ignore: visually hidden text */
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.bn-skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 2000;
  background: var(--bn-gold);
  color: var(--bn-ink);
  padding: 14px 22px;
  font-size: 1rem;
  border-radius: 999px;
}
.bn-skip:focus {
  top: 12px;
}
.bn-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px; /* taste-skill-ignore: visually hidden text */
  overflow: hidden;
}

/* ── Layout ───────────────────────────────────────────────────────── */
.bn-wrap {
  width: min(100% - 2 * var(--bn-margin), var(--bn-max));
  margin-inline: auto;
}
.bn-section {
  padding-block: var(--bn-section);
}
.bn-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--bn-gutter);
}
@media (min-width: 768px) {
  .bn-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .bn-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}

/* ── Actions: one primary pill, everything else a text link ───────── */
.bn-pill,
.bn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0.15em 2rem 0;
  border-radius: 999px;
  background: var(--bn-gold);
  color: var(--bn-ink);
  font-family: var(--bn-sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition:
    background-color var(--bn-dur-2) var(--bn-ease-out),
    color var(--bn-dur-2) var(--bn-ease-out),
    transform var(--bn-dur-2) var(--bn-ease-out);
}
.bn-pill:hover,
.bn-btn:hover {
  background: var(--bn-gold-hover);
}
.bn-pill:active,
.bn-btn:active {
  transform: scale(0.98);
}
.bn-pill__arrow {
  width: 1.1em;
  height: 1.1em;
  margin-top: -0.15em;
  transition: transform var(--bn-dur-2) var(--bn-ease-out);
}
.bn-pill:hover .bn-pill__arrow {
  transform: translateX(4px);
}
.bn-light .bn-pill,
.bn-light .bn-btn {
  background: var(--bn-ink);
  color: var(--bn-cream);
}
.bn-light .bn-pill:hover,
.bn-light .bn-btn:hover {
  background: var(--bn-olive-deep);
}
.bn-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--bn-accent);
  font-weight: 500;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 9px) / 100% 1px no-repeat; /* taste-skill-ignore: the link underline, not a fill */
}
.bn-link:hover {
  animation: bn-underline 760ms var(--bn-ease-curtain);
}
/* the line leaves to the right and comes back from the left */
@keyframes bn-underline {
  49% {
    background-size: 0 1px;
    background-position: 100% calc(100% - 9px);
  }
  50% {
    background-size: 0 1px;
    background-position: 0 calc(100% - 9px);
  }
}

/* ── Type ─────────────────────────────────────────────────────────────
   The owner's own pairing from her design (design/BN Realty Home.dc.html): Cormorant Garamond
   for headings, Jost for text (user, 2026-10-30; DECISIONS). Self-hosted, SIL OFL 1.1 (see
   /assets/fonts). Only the Latin files are preloaded; Latin Extended loads on demand via unicode-range. */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-italic-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/assets/fonts/jost-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/assets/fonts/jost-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
/* Metric-matched local fallbacks, measured once in Chrome (Jost Light is 92.3% of Arial's width,
   Cormorant Light 88.2% of Georgia's), so the swap barely moves text (CLS). */
@font-face {
  font-family: "BN Serif Fallback";
  src: local("Georgia");
  size-adjust: 88.2%;
  ascent-override: 104%;
  descent-override: 33%;
}
@font-face {
  font-family: "BN Sans Fallback";
  src: local("Arial");
  size-adjust: 92.3%;
  ascent-override: 116%;
  descent-override: 41%;
}

/* Five sizes, far apart (CRITIQUE §2a.10). Nothing meant to be read is under 14 px.
   Cormorant's small x-height reads about a size smaller than its number, so the serif steps
   follow the owner's design (h1 to 124 px, h2 to 68 px, h3 30 px). */
:root {
  --bn-fs-display: clamp(3.25rem, 1.6rem + 7vw, 7.5rem); /* 52 → 120 */
  --bn-fs-heading: clamp(2.5rem, 1.83rem + 2.86vw, 4.25rem); /* 40 → 68 */
  --bn-fs-title: clamp(1.625rem, 1.53rem + 0.38vw, 1.875rem); /* 26 → 30 */
  --bn-fs-lead: clamp(1.125rem, 1.055rem + 0.286vw, 1.3125rem); /* 18 → 21 */
  --bn-fs-body: clamp(1rem, 0.954rem + 0.19vw, 1.125rem); /* 16 → 18 */
  --bn-fs-small: 0.875rem; /* 14 */
}
body {
  font-size: var(--bn-fs-body);
  font-weight: 300; /* Jost Light, as in the owner's design */
  line-height: 1.75;
  letter-spacing: 0.015em;
}
h1,
h2,
h3 {
  font-family: var(--bn-serif);
  font-weight: 300;
  text-wrap: balance;
  overflow-wrap: break-word;
}
p,
li,
dd {
  text-wrap: pretty;
}
p {
  max-width: 64ch;
}
.bn-display {
  font-size: var(--bn-fs-display);
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.bn-display .bn-line {
  display: block;
}
.bn-heading {
  font-size: var(--bn-fs-heading);
  line-height: 1.06;
  letter-spacing: 0;
}
.bn-title {
  font-size: var(--bn-fs-title);
  font-weight: 400;
  line-height: 1.2;
}
.bn-lead {
  font-size: var(--bn-fs-lead);
  font-weight: 300;
  line-height: 1.6;
  max-width: 44ch;
}
.bn-small {
  font-size: var(--bn-fs-small);
  font-weight: 400; /* Light is too thin at 14 px */
  line-height: 1.6;
}
.bn-soft {
  color: var(--bn-soft);
}

/* ── Motion (UI §4, PLAN C16–C17) ──────────────────────────────────────
   CSS only. The base state everywhere is the finished, visible page; motion is layered on top
   where the browser supports it and the visitor allows it. No reveal on scroll, no scroll
   script, no smooth-scroll library. Two moves: the hero parallax and the Areas track. */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    /* Hero parallax (user, 2026-10-29): as the page scrolls the hero away, the photo travels at
       about half the scroll speed and settles in a touch, while the words lift a little faster
       and fade, so the two layers separate. The photo only moves down inside the hero, whose
       top has already left the screen, so no edge ever shows. Transform and opacity only. */
    .bn-hero__img {
      animation: bn-parallax linear both;
      animation-timeline: scroll(root);
      animation-range: 0 100svh;
    }
    .bn-hero__body {
      animation: bn-lift linear both;
      animation-timeline: scroll(root);
      animation-range: 0 50svh; /* gone before the words reach the header */
    }
  }
}
@keyframes bn-parallax {
  from {
    transform: translateY(0) scale(1.06);
  }
  to {
    transform: translateY(48%) scale(1);
  }
}
@keyframes bn-lift {
  15% {
    opacity: 1;
  }
  to {
    transform: translateY(-18%);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Header: logo, three anchors, one "Let's talk" ─────────────────── */
.bn-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--bn-header);
  color: var(--bn-cream);
  --bn-focus: var(--bn-gold);
  transition: transform 480ms var(--bn-ease-out);
}
.bn-header--away {
  transform: translateY(-100%);
}
.bn-header::before {
  /* the bar's ground: its own layer, so it can fade without moving anything */
  content: "";
  position: absolute;
  inset: 0;
  background: var(
    --bn-ink
  ); /* opaque: headlines must never show through and collide with the logo */
  border-bottom: 1px solid rgb(243 235 216 / 0.08); /* taste-skill-ignore: edge of the opaque bar */
  transition: opacity var(--bn-dur-3) var(--bn-ease-out);
}
.bn-header__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  width: min(100% - 2 * var(--bn-margin), var(--bn-max));
  margin-inline: auto;
}
.bn-header__logo {
  display: block;
  margin-right: auto;
  padding: 4px 0;
}
.bn-header__logo img {
  width: 104px;
  height: auto;
}
.bn-header__cta.bn-pill {
  min-height: 44px;
  padding-inline: 1.15rem;
  font-size: 0.9375rem;
  transition:
    background-color var(--bn-dur-3) var(--bn-ease-out),
    color var(--bn-dur-3) var(--bn-ease-out),
    box-shadow var(--bn-dur-3) var(--bn-ease-out);
}
/* Home: transparent over the hero. The page's own gold pills are its filled actions, so the
   header pill stays outlined on home, even once the header turns solid: one filled pill per
   screen (UI §2, CRITIQUE §7.13). It fills when the mobile menu covers the page, and on the
   other pages, which have no pill of their own. */
.bn-page--home .bn-header {
  position: fixed; /* fixed before JS too, so the hero never shifts when site.js loads (CLS) */
  inset: 0 0 auto;
}
.bn-js .bn-page--home .bn-header:not(.bn-header--solid):not(.bn-header--open)::before {
  opacity: 0;
}
.bn-page--home .bn-header:not(.bn-header--open) .bn-header__cta {
  background: transparent;
  color: var(--bn-cream);
  box-shadow: inset 0 0 0 1px rgb(243 235 216 / 0.7); /* taste-skill-ignore: inset outline, not a shadow */
}
.bn-page--home .bn-header:not(.bn-header--open) .bn-header__cta:hover {
  background: rgb(243 235 216 / 0.1);
}

/* Mobile menu button: label plus a two-line icon */
.bn-header__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 4px 0 8px;
  font-size: 0.9375rem;
  font-weight: 500;
}
.bn-header__toggle-label {
  padding-top: 0.2em;
}
.bn-header__toggle-icon {
  position: relative;
  width: 22px;
  height: 10px;
}
.bn-header__toggle-icon::before,
.bn-header__toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--bn-dur-3) var(--bn-ease-io);
}
.bn-header__toggle-icon::before {
  top: 0;
}
.bn-header__toggle-icon::after {
  bottom: 0;
}
.bn-header--open .bn-header__toggle-icon::before {
  transform: translateY(4.25px) rotate(45deg);
}
.bn-header--open .bn-header__toggle-icon::after {
  transform: translateY(-4.25px) rotate(-45deg);
}

/* The menu: a full-screen charcoal sheet under the bar (below 1024 px) */
.bn-header__nav {
  position: fixed;
  inset: var(--bn-header) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--bn-s7);
  padding: var(--bn-s7) var(--bn-margin) var(--bn-s8);
  background: var(--bn-charcoal);
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition:
    clip-path 620ms var(--bn-ease-curtain),
    visibility 0s linear 620ms;
}
.bn-header--open .bn-header__nav {
  clip-path: inset(0);
  visibility: visible;
  transition: clip-path 660ms var(--bn-ease-curtain);
}
.bn-header--open::before {
  opacity: 1 !important;
  background: var(--bn-charcoal);
}
.bn-header__links {
  display: flex;
  flex-direction: column;
  gap: var(--bn-s2);
}
.bn-header__links a {
  display: inline-block;
  padding: 6px 0;
  font-family: var(--bn-serif);
  font-size: var(--bn-fs-heading);
  line-height: 1.1;
}
.bn-header__links a:hover {
  color: var(--bn-gold);
}
.bn-header__contact {
  display: flex;
  flex-direction: column;
  gap: var(--bn-s1);
  color: var(--bn-muted);
}
.bn-header__contact a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--bn-cream);
  font-size: var(--bn-fs-lead);
}
body.bn-menu-open {
  overflow: hidden;
}

@media (min-width: 1024px) {
  .bn-header__logo img {
    width: 128px;
  }
  .bn-header__bar {
    gap: var(--bn-s6);
  }
  .bn-header__toggle,
  .bn-header__contact {
    display: none;
  }
  .bn-header__nav {
    position: static;
    flex-direction: row;
    padding: 0;
    background: none;
    overflow: visible;
    clip-path: none;
    visibility: visible;
    transition: none;
  }
  .bn-header__links {
    flex-direction: row;
    gap: var(--bn-s6);
  }
  .bn-header__links a {
    position: relative;
    padding: 12px 0 8px;
    font-family: var(--bn-sans);
    font-size: 1rem;
    line-height: 1.5;
  }
  .bn-header__links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    height: 1px; /* taste-skill-ignore: hover underline on a nav link */
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--bn-dur-2) var(--bn-ease-out);
  }
  .bn-header__links a:hover {
    color: inherit;
  }
  .bn-header__links a:hover::after,
  .bn-header__links a[aria-current]::after {
    transform: scaleX(1);
  }
  .bn-header__cta.bn-pill {
    min-height: 48px;
    padding-inline: 1.5rem;
    font-size: 1rem;
  }
}

/* Legal pages: the same bar with the legal links and the language switch */
.bn-header__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 var(--bn-s5);
  font-size: var(--bn-fs-small);
  font-weight: 400;
}
.bn-header__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.bn-header__legal a:hover,
.bn-header__legal a[aria-current] {
  color: var(--bn-gold);
}
@media (max-width: 767px) {
  /* Two rows of links are too tall to stay pinned over long legal text */
  .bn-header--legal {
    position: relative;
    height: auto;
  }
  .bn-header--legal .bn-header__bar {
    flex-wrap: wrap;
    padding-block: 8px;
  }
  .bn-header--legal .bn-header__legal {
    justify-content: flex-start;
    width: 100%;
    column-gap: var(--bn-s4);
  }
}
@media (min-width: 768px) {
  .bn-header__legal {
    font-size: 1rem;
  }
}

/* site.js never wired the menu (head.js adds bn-menu-failed after 3 s): the links show as a
   plain row, as in noscript.css */
@media (max-width: 1023px) {
  .bn-menu-failed:not(.bn-menu-ready) .bn-header {
    position: sticky;
    height: auto;
  }
  .bn-menu-failed:not(.bn-menu-ready) .bn-header__bar {
    flex-wrap: wrap;
    padding-block: 8px;
  }
  .bn-menu-failed:not(.bn-menu-ready) .bn-header__toggle,
  .bn-menu-failed:not(.bn-menu-ready) .bn-header__contact {
    display: none;
  }
  .bn-menu-failed:not(.bn-menu-ready) .bn-header__nav {
    clip-path: none;
    position: static;
    order: 3;
    width: 100%;
    padding: 0 0 8px;
    background: none;
    visibility: visible;
  }
  .bn-menu-failed:not(.bn-menu-ready) .bn-header__links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 24px;
  }
  .bn-menu-failed:not(.bn-menu-ready) .bn-header__links a {
    font-family: var(--bn-sans);
    font-size: 1rem;
  }
}

/* ── Footer: ends on the office, not on link columns (CRITIQUE §2a.9) ── */
.bn-footer {
  background: var(--bn-ink-deep);
  color: var(--bn-cream);
  --bn-soft: var(--bn-muted);
  --bn-focus: var(--bn-gold);
  padding-block: var(--bn-section-sm) var(--bn-s7);
}
.bn-footer__grid {
  display: grid;
  gap: var(--bn-s7);
}
.bn-footer__address {
  font-size: var(--bn-fs-lead);
  font-style: normal;
  line-height: 1.5;
}
.bn-footer__reach {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: var(--bn-s4);
}
.bn-footer__reach a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.bn-footer__phone {
  white-space: nowrap;
  font-size: var(--bn-fs-lead);
  letter-spacing: 0.02em;
  color: var(--bn-gold);
}
.bn-footer__reach a:hover {
  color: var(--bn-gold-hover);
}
.bn-footer__hours {
  margin-top: var(--bn-s2);
}
.bn-footer__logo {
  width: 190px;
  height: auto;
}
.bn-footer__tagline {
  margin-top: var(--bn-s4);
  max-width: 28ch;
}
.bn-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--bn-s5);
  margin-top: var(--bn-s4);
}
.bn-footer__nav a,
.bn-footer__legal a {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
}
.bn-footer__nav a:hover,
.bn-footer__legal a:hover,
.bn-footer__home:hover {
  color: var(--bn-gold);
}
.bn-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--bn-s2) var(--bn-s6);
  margin-top: var(--bn-s8);
  font-size: var(--bn-fs-small);
  font-weight: 400;
  color: var(--bn-soft);
}
.bn-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--bn-s5);
}
.bn-footer__license,
.bn-footer__credits {
  flex-basis: 100%;
  max-width: none;
}
.bn-footer__social {
  display: flex;
  gap: var(--bn-s4);
  margin-top: var(--bn-s4);
}
.bn-footer__social a {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
}
@media (min-width: 1024px) {
  .bn-footer__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--bn-gutter);
  }
  .bn-footer__place {
    grid-column: 1 / 8;
  }
  .bn-footer__brand {
    grid-column: 9 / -1;
  }
}

/* Slim footer: inner and legal pages */
.bn-footer--slim {
  padding-block: var(--bn-s7);
}
.bn-footer--slim .bn-footer__bottom {
  margin-top: 0;
}
.bn-footer__home {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--bn-cream);
}
@media (min-width: 768px) {
  .bn-footer__home {
    margin-left: auto; /* the way back sits at the far margin, closing the row */
  }
}

/* Photo scrims: neutral black from the palette over a photo, the one gradient the taste
   guide allows (UI §5). One per line so each carries its lint note. */
/* prettier-ignore */
:root {
  --bn-scrim-top: linear-gradient(#0f0f0d8c, #0f0f0d00 150px); /* taste-skill-ignore */
  --bn-scrim-up: linear-gradient(0deg, #0f0f0de0, #0f0f0da8 42%, #0f0f0d1f 78%, #0f0f0d00); /* taste-skill-ignore */
  --bn-scrim-side: linear-gradient(100deg, #0f0f0dd6, #0f0f0db8 34%, #0f0f0d66 60%, #0f0f0d00 86%); /* taste-skill-ignore */
  --bn-scrim-foot: linear-gradient(0deg, #0f0f0d99, #0f0f0d00 45%); /* taste-skill-ignore */
  /* CTA band (UI §5): a uniform 0.55 over the photo, a 0.15 glow behind the text (about 0.62
     there), and only the last strip deepens to meet the footer */
  --bn-scrim-glow: radial-gradient(#0a0a0926, #0a0a0900 65%); /* taste-skill-ignore */
  --bn-scrim-close: linear-gradient(#0a0a098c 88%, #0f0f0dd9); /* taste-skill-ignore */
  --bn-fade-x: linear-gradient(90deg, #0000, #000 4vw, #000 calc(100% - 4vw), #0000); /* taste-skill-ignore: a mask */
}

/* ── Hero ─────────────────────────────────────────────────────────────
   Never fades in: the H1 and the photo are the LCP candidates (PLAN C17). */
.bn-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(92svh, 172vw);
  overflow: hidden;
  color: var(--bn-cream);
}
.bn-hero__media,
.bn-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.bn-hero__media picture,
.bn-hero__img {
  width: 100%;
  height: 100%;
}
.bn-hero__img {
  object-fit: cover;
  object-position: 56% 50%;
}
/* Scrims: neutral black from the palette, never baked into the photo (UI §5) */
.bn-hero::after {
  content: "";
  background: var(--bn-scrim-top), var(--bn-scrim-up);
}
.bn-hero__body {
  position: relative;
  padding-top: calc(var(--bn-header) + var(--bn-s8));
  padding-bottom: clamp(2.5rem, 1rem + 6vw, 7rem);
}
.bn-hero__title {
  max-width: 14ch;
}
@media (min-width: 768px) {
  /* each line is set by hand; "ch" changes when the web font arrives, and a re-wrap would shift the hero */
  .bn-hero__title .bn-line {
    white-space: nowrap;
  }
}
.bn-hero__title em {
  color: var(--bn-gold); /* the owner's design: "Connections." in gold italic */
}
.bn-hero__lead {
  margin-top: var(--bn-s5);
  max-width: 34ch;
}
.bn-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--bn-s4) var(--bn-s6);
  margin-top: var(--bn-s6);
}
.bn-hero .bn-link {
  color: var(--bn-cream);
}
@media (min-width: 768px) {
  .bn-hero {
    min-height: clamp(640px, 100svh, 980px);
  }
  .bn-hero::after {
    background: var(--bn-scrim-top), var(--bn-scrim-side), var(--bn-scrim-foot);
  }
  .bn-hero__img {
    object-position: 60% 60%;
  }
}

/* ── Intro: the owner's "Why clients choose us", plus the facts we already know ─── */
.bn-intro__grid {
  row-gap: var(--bn-s6);
}
.bn-intro__head,
.bn-intro__body,
.bn-facts {
  grid-column: 1 / -1;
}
.bn-intro__label {
  margin-bottom: var(--bn-s4);
  font-size: var(--bn-fs-small);
  font-weight: 400;
  color: var(--bn-accent);
}
.bn-intro__title em {
  color: var(--bn-accent);
}
.bn-intro__quote {
  margin-top: var(--bn-s7);
  padding-left: var(--bn-s5);
  border-left: 1px solid var(--bn-accent); /* taste-skill-ignore: rule beside the owner's quote */
}
.bn-intro__quote blockquote {
  font-family: var(--bn-serif);
  font-size: var(--bn-fs-title);
  font-style: italic;
  line-height: 1.35;
  color: var(--bn-cream);
}
.bn-intro__quote p {
  max-width: 30ch;
}
.bn-intro__quote figcaption {
  margin-top: var(--bn-s4);
  font-size: var(--bn-fs-small);
  font-weight: 400;
  color: var(--bn-soft);
}
.bn-intro__body {
  display: grid;
  gap: var(--bn-s5);
}
.bn-facts {
  display: grid;
  gap: var(--bn-s5);
  margin-top: var(--bn-s8);
}
.bn-facts dt {
  margin-bottom: var(--bn-s1);
  font-size: var(--bn-fs-small);
  font-weight: 400;
  color: var(--bn-soft);
}
/* Plain facts (an address, hours), not headlines: body size in the sans (feedback 2026-10-29). */
.bn-facts dd {
  line-height: 1.5;
  max-width: 34ch;
}
@media (min-width: 768px) {
  .bn-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--bn-gutter);
  }
}
@media (min-width: 1024px) {
  .bn-intro__head {
    grid-column: 1 / 6;
  }
  .bn-intro__body {
    grid-column: 7 / -1;
    padding-top: 0.6em;
  }
  .bn-facts {
    margin-top: var(--bn-s9);
  }
}

/* ── Services: the light break, a list beside one photo ─────────────── */
.bn-services__head,
.bn-services__media,
.bn-services__list {
  grid-column: 1 / -1;
}
.bn-services__head .bn-lead {
  margin-top: var(--bn-s4);
}
.bn-services__media {
  margin-top: var(--bn-s7);
}
.bn-services__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
}
.bn-services__list {
  margin-top: var(--bn-s6);
}
.bn-service {
  padding-block: var(--bn-s5);
}
.bn-service .bn-title {
  transition: transform var(--bn-dur-2) var(--bn-ease-out);
}
.bn-service p {
  margin-top: var(--bn-s2);
  max-width: 52ch;
}
/* A right margin, not a left one on the second link: a link that wraps stays in line */
.bn-service .bn-link {
  margin-top: var(--bn-s1);
  margin-right: var(--bn-s5);
}
.bn-service:has(.bn-link:hover) .bn-title {
  transform: translateX(8px);
}
@media (min-width: 1024px) {
  .bn-services__grid {
    grid-template-rows: auto 1fr;
    align-items: start;
  }
  .bn-services__media {
    grid-column: 1 / 6;
    grid-row: 1 / 3;
    margin-top: 0;
    position: sticky;
    top: calc(var(--bn-header) + var(--bn-s6));
  }
  .bn-services__head {
    grid-column: 7 / -1;
  }
  .bn-services__list {
    grid-column: 7 / -1;
    margin-top: var(--bn-s7);
  }
  .bn-service {
    padding-block: var(--bn-s6);
  }
}

/* ── How we work: four steps, a real ordered list ─────────────────── */
.bn-how {
  background: var(--bn-ink-deep);
}
.bn-how__title {
  max-width: 16ch;
}
.bn-steps {
  display: grid;
  gap: var(--bn-s7) var(--bn-gutter);
  margin-top: var(--bn-s8);
}
.bn-step p {
  margin-top: var(--bn-s3);
  color: var(--bn-soft);
  max-width: 34ch;
}
.bn-how__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--bn-s4) var(--bn-s6);
  margin-top: var(--bn-s8);
}
@media (min-width: 768px) {
  .bn-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .bn-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: var(--bn-s9);
  }
  .bn-how__cta {
    margin-top: var(--bn-s9);
  }
}

/* ── Areas: "Measured from Río Grande" ───────────────────────────────
   Default (phones, tablets, and any browser without the pin): a native swipe list.
   The coast road is the site's one gold line: a segment on each card joins the next. */
.bn-areas {
  --bn-soft: var(--bn-muted);
  --bn-card: min(82vw, 420px);
  --bn-road: 14px;
  background: var(--bn-olive-deep);
  padding-top: var(--bn-section);
}
.bn-areas__intro {
  width: min(100% - 2 * var(--bn-margin), var(--bn-max));
  margin-inline: auto;
}
.bn-areas__intro .bn-heading {
  max-width: 12ch;
}
.bn-areas__intro .bn-lead {
  margin-top: var(--bn-s4);
  max-width: 38ch;
}
.bn-areas__stops {
  display: flex;
  align-items: flex-start; /* each card is as tall as its own text */
  gap: var(--bn-s5);
}
.bn-areas__list {
  width: min(100% - 2 * var(--bn-margin), var(--bn-max));
  margin: var(--bn-s7) auto 0;
  padding-bottom: var(--bn-s4);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  --bn-focus: var(--bn-gold);
}
.bn-areas__list::-webkit-scrollbar {
  display: none;
}
.bn-area {
  position: relative;
  flex: 0 0 var(--bn-card);
  scroll-snap-align: start;
  padding-top: calc(var(--bn-road) + var(--bn-s6));
}
.bn-area::before {
  /* the road */
  content: "";
  position: absolute;
  top: var(--bn-road);
  left: 0;
  right: calc(-1 * var(--bn-s5));
  height: 1px; /* taste-skill-ignore: the coast road, the one gold line (DECISIONS) */
  background: var(--bn-gold);
}
.bn-area:last-child::before {
  right: 0;
}
.bn-area::after {
  /* the town's stop on it */
  content: "";
  position: absolute;
  top: calc(var(--bn-road) - 3px);
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bn-gold);
}
.bn-area--home::after {
  top: calc(var(--bn-road) - 7px);
  left: -4px;
  width: 15px;
  height: 15px;
  background: var(--bn-olive-deep);
  box-shadow: inset 0 0 0 4px var(--bn-gold); /* taste-skill-ignore: inset outline, not a shadow */
}
.bn-area p {
  margin-top: var(--bn-s2);
  color: var(--bn-soft);
  max-width: 36ch;
}
.bn-area p.bn-area__time {
  display: flex;
  align-items: baseline;
  gap: var(--bn-s3);
  margin-top: var(--bn-s4);
  color: var(--bn-cream);
  font-size: var(--bn-fs-small);
  font-weight: 400;
  line-height: 1.4;
}
.bn-area__min {
  font-family: var(--bn-serif);
  font-size: var(--bn-fs-heading);
  line-height: 1;
  color: var(--bn-gold);
  font-variant-numeric: lining-nums tabular-nums;
}
.bn-area__card {
  background: var(--bn-cream);
  color: var(--bn-ink);
  padding: var(--bn-s4) var(--bn-s4) var(--bn-s5);
  --bn-soft: var(--bn-muted-on-cream);
}
.bn-area__card .bn-title {
  margin-top: var(--bn-s4);
}
.bn-area__card p.bn-area__time {
  color: var(--bn-ink);
}
.bn-area__card .bn-area__min {
  color: var(--bn-gold-on-cream);
}
.bn-area p.bn-area__base {
  margin-top: var(--bn-s3);
  color: var(--bn-gold-on-cream);
  font-size: var(--bn-fs-small);
  font-weight: 500;
  line-height: 1.5;
}
.bn-area__media {
  overflow: hidden;
}
.bn-area > .bn-area__media + .bn-title {
  margin-top: var(--bn-s4);
}
/* Each town leads with its photo, so no card is an empty column (feedback 2026-10-29).
   The 3:4 crop is capped in height on short screens and trimmed by object-fit. */
.bn-area__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  max-height: 44svh;
  object-fit: cover;
  transition: transform 900ms var(--bn-ease-out);
}
@media (hover: hover) {
  .bn-area:hover .bn-area__img {
    transform: scale(1.04);
  }
}
.bn-areas__after {
  padding-block: var(--bn-s7) var(--bn-section);
}
.bn-areas .bn-link {
  color: var(--bn-gold);
}

/* Wide screens without the pin (reduced motion, Firefox, touch laptops): a static grid */
@media (min-width: 1024px) {
  .bn-areas__list {
    padding: 0;
    overflow: visible;
  }
  .bn-areas__stops {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--bn-s7) var(--bn-gutter);
  }
  .bn-area {
    padding-top: 0;
  }
  .bn-area::before,
  .bn-area::after {
    display: none;
  }
}

/* ── FAQ (behind site.show.faq until the owner's notary has read it, D5) ── */
.bn-faq__grid {
  row-gap: var(--bn-s6);
}
.bn-faq__head,
.bn-faq__list {
  grid-column: 1 / -1;
}
.bn-faq__item {
  padding-block: var(--bn-s3);
}
.bn-faq__item summary {
  display: flex;
  justify-content: space-between;
  gap: var(--bn-s4);
  min-height: 44px;
  padding-block: var(--bn-s3);
  font-family: var(--bn-serif);
  font-size: var(--bn-fs-title);
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.bn-faq__item summary::-webkit-details-marker {
  display: none;
}
.bn-faq__item summary::after {
  content: "+";
  flex: none;
  font-family: var(--bn-sans);
  color: var(--bn-gold);
  transition: transform var(--bn-dur-3) var(--bn-ease-out);
}
.bn-faq__item[open] summary::after {
  transform: rotate(45deg);
}
.bn-faq__item summary:hover {
  color: var(--bn-gold);
}
.bn-faq__item p {
  padding-bottom: var(--bn-s4);
  color: var(--bn-soft);
}
.bn-faq__note {
  margin-top: var(--bn-s6);
}
@media (min-width: 1024px) {
  .bn-faq__head {
    grid-column: 1 / 5;
  }
  .bn-faq__list {
    grid-column: 6 / -1;
  }
}

/* ── Closing scene: one photo, one action, the phone ─────────────── */
.bn-close {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
  text-align: center;
}
.bn-close__media,
.bn-close::after {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.bn-close__media picture,
.bn-close__img {
  width: 100%;
  height: 100%;
}
.bn-close__img {
  object-fit: cover;
}
.bn-close::after {
  content: "";
  background: var(--bn-scrim-glow), var(--bn-scrim-close);
}
.bn-close__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* the photo breathes above the heading; the band ends soon after the phone line */
  padding-block: var(--bn-section) var(--bn-section-sm);
}
.bn-close__body .bn-heading {
  max-width: 14ch;
}
.bn-close__body .bn-lead {
  margin-top: var(--bn-s4);
}
.bn-close__body .bn-pill {
  margin-top: var(--bn-s6);
}

/* ── Inner and legal pages: a cream reading page under the black bar ── */
.bn-page--inner,
.bn-page--legal {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}
.bn-page--inner > main,
.bn-page--legal > main {
  flex: 1 0 auto;
}
.bn-inner {
  --bn-bg: var(--bn-cream);
  --bn-fg: var(--bn-ink);
  --bn-soft: var(--bn-muted-on-cream);
  --bn-accent: var(--bn-gold-on-cream);
  --bn-focus: var(--bn-gold-on-cream);
  background: var(--bn-bg);
  color: var(--bn-fg);
}
.bn-inner > * {
  width: min(100% - 2 * var(--bn-margin), 72ch);
  margin-inline: auto;
}
.bn-inner > :first-child {
  padding-top: var(--bn-section-sm);
}
.bn-inner > :last-child {
  padding-bottom: var(--bn-section);
}
.bn-inner a:not(.bn-btn):not(.bn-pill) {
  color: var(--bn-gold-on-cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bn-inner a:not(.bn-btn):not(.bn-pill):hover {
  color: var(--bn-ink);
}
.bn-page-head {
  margin-bottom: var(--bn-s8);
}
.bn-page-head__title {
  font-size: var(--bn-fs-heading);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-bottom: var(--bn-s5);
}
.bn-page-head__title em {
  font-style: normal;
}
.bn-page-head__lede {
  font-size: var(--bn-fs-lead);
  color: var(--bn-soft);
  line-height: 1.6;
}
.bn-page-head__lede + .bn-page-head__lede {
  margin-top: var(--bn-s4);
}

/* Legal text */
.bn-legal__date {
  margin-top: var(--bn-s5);
  font-size: var(--bn-fs-small);
  font-weight: 400;
  color: var(--bn-soft);
}
.bn-legal h2 {
  font-size: var(--bn-fs-title);
  line-height: 1.25;
  margin: var(--bn-s7) 0 var(--bn-s4);
}
.bn-legal p,
.bn-legal__addr {
  margin-bottom: var(--bn-s4);
}
.bn-legal strong {
  font-weight: 600;
}
.bn-legal p.bn-legal__box {
  padding: var(--bn-s5) var(--bn-s5);
  background: var(--bn-paper);
  margin: var(--bn-s5) 0;
}
.bn-legal__addr {
  font-style: normal;
}
.bn-legal__addr a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.bn-legal ul,
.bn-legal ol {
  list-style: disc;
  padding-left: 1.25em;
  margin-bottom: var(--bn-s4);
}

/* ── The "Let's talk" flow (UI §2 on the owner's black, UX §5, PLAN phase 5) ──────────
   Native controls under the styling: radios and checkboxes stay real inputs (appearance: none
   only redraws them). Surfaces are told apart by fill, not outlines. One gold accent: the
   chosen card or option, the progress, the primary pill. */
.bn-flow {
  color-scheme: dark; /* native spinners, scrollbars and autofill match the black ground */
}
.bn-js .bn-flow {
  margin-top: var(--bn-s5);
}

/* Progress: "Step 2 of 4" in words, plus a bar that only repeats it (UI §2 Stepper) */
.bn-flow__progress {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 var(--bn-s4);
}
.bn-flow__count {
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: var(--bn-fs-small);
  font-weight: 400;
  color: var(--bn-soft);
  font-variant-numeric: lining-nums tabular-nums;
}
.bn-flow__chip {
  display: flex;
  align-items: center;
  gap: var(--bn-s3);
  font-size: var(--bn-fs-small);
  font-weight: 400;
}
.bn-flow__change,
.bn-flow__back,
.bn-review__change {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--bn-gold);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
}
.bn-flow__change:hover,
.bn-flow__back:hover,
.bn-review__change:hover {
  text-decoration-thickness: 2px;
}
.bn-flow__bar {
  flex-basis: 100%;
  display: flex;
  gap: var(--bn-s2);
}
.bn-flow__bar span {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--bn-track);
  transition: background-color var(--bn-dur-3) var(--bn-ease-out);
}
.bn-flow__bar .is-on {
  background: var(--bn-gold);
}

/* Steps */
.bn-flow__step {
  min-width: 0;
  margin: var(--bn-s6) 0 0;
  padding: 0;
  border: 0;
}
.bn-flow__legend {
  padding: 0;
}
.bn-flow__title {
  font-size: var(--bn-fs-title);
  line-height: 1.2;
}
.bn-flow__title:focus {
  outline: none; /* focus is moved here so screen readers announce the step; it isn't a control */
}
.bn-flow__grid {
  display: grid;
  gap: var(--bn-s5);
  margin-top: var(--bn-s5);
}
@media (min-width: 768px) {
  .bn-flow__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--bn-s4);
  }
  .bn-flow__grid > .bn-field {
    grid-column: 1 / -1;
  }
  .bn-flow__grid > .bn-field--half {
    grid-column: auto;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .bn-js .bn-flow__step:not([hidden]),
  .bn-done:not([hidden]) {
    animation: bn-step-in var(--bn-dur-3) var(--bn-ease-out);
  }
}
@keyframes bn-step-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* Intent cards: 2 × 2, with "Something else" across the full width (PLAN D1) */
.bn-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--bn-s3);
  margin-top: var(--bn-s5);
}
.bn-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--bn-s2);
  min-height: 136px;
  padding: var(--bn-s4) var(--bn-s4) var(--bn-s5);
  border: 2px solid transparent;
  border-radius: 4px;
  background: var(--bn-raised);
  cursor: pointer;
  transition:
    background-color var(--bn-dur-2) var(--bn-ease-out),
    border-color var(--bn-dur-2) var(--bn-ease-out),
    transform var(--bn-dur-1) var(--bn-ease-out);
}
.bn-card--other {
  grid-column: 1 / -1;
  min-height: 0;
}
.bn-card:hover {
  background: var(--bn-raised-hover);
}
.bn-card:active {
  transform: scale(0.99);
}
.bn-card:has(:checked) {
  border-color: var(--bn-gold);
  background: var(--bn-gold-tint);
}
.bn-card:has(:focus-visible) {
  outline: 2px solid var(--bn-focus);
  outline-offset: 3px;
}
.bn-card__label {
  padding-right: 32px;
  font-family: var(--bn-serif);
  font-size: var(--bn-fs-title);
  line-height: 1.15;
}
.bn-card__hint {
  font-size: var(--bn-fs-small);
  font-weight: 400;
  line-height: 1.5;
  color: var(--bn-soft);
}
.bn-card input {
  position: absolute;
  top: var(--bn-s4);
  right: var(--bn-s4);
}
@media (min-width: 768px) {
  .bn-cards {
    gap: var(--bn-s4);
  }
  .bn-card {
    padding: var(--bn-s5) var(--bn-s5) var(--bn-s6);
  }
  .bn-card input {
    top: var(--bn-s5);
    right: var(--bn-s5);
  }
}

/* Fields: boxed, label above, help under the label, the message under the box (UI §2) */
.bn-field {
  display: flex;
  flex-direction: column;
  gap: var(--bn-s2);
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
fieldset.bn-field {
  display: block;
}
.bn-field__label {
  padding: 0;
  font-weight: 500;
  line-height: 1.45;
}
legend.bn-field__label {
  margin-bottom: var(--bn-s2);
}
.bn-field__req {
  font-size: var(--bn-fs-small);
  font-weight: 400;
  color: var(--bn-soft);
  white-space: nowrap;
}
.bn-field__hint,
.bn-note {
  max-width: 38rem; /* the base 64ch cap is only about 290 px at 14 px in the sans */
  font-size: var(--bn-fs-small);
  font-weight: 400;
  line-height: 1.6;
  color: var(--bn-soft);
}
fieldset.bn-field .bn-field__hint {
  margin-bottom: var(--bn-s3);
}
.bn-field__error {
  font-size: var(--bn-fs-small);
  font-weight: 500;
  line-height: 1.5;
  color: var(--bn-error-dark);
}
fieldset.bn-field .bn-field__error {
  margin-top: var(--bn-s2);
}
.bn-input {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem 0.7rem;
  border: 1px solid var(--bn-border-dark); /* taste-skill-ignore: a text field's box (WCAG 1.4.11) */
  border-radius: 4px;
  background: var(--bn-raised);
  color: var(--bn-cream);
  font: inherit;
  font-size: 1rem; /* 16 px: no zoom on iOS */
  line-height: 1.4;
  transition:
    border-color var(--bn-dur-1),
    background-color var(--bn-dur-1);
}
textarea.bn-input {
  min-height: 132px;
  resize: vertical;
}
.bn-input::placeholder {
  color: var(--bn-muted);
  opacity: 1;
}
.bn-input:hover {
  border-color: var(--bn-cream);
}
.bn-input:focus-visible {
  border-color: var(--bn-cream);
  outline: 2px solid var(--bn-focus);
  outline-offset: 2px;
}
.bn-input:-webkit-autofill {
  -webkit-text-fill-color: var(--bn-cream);
  caret-color: var(--bn-cream);
  box-shadow: 0 0 0 100px var(--bn-raised) inset; /* taste-skill-ignore: repaints autofill, not a shadow */
}
.bn-field--invalid .bn-input {
  border-color: var(--bn-error-dark);
  box-shadow: inset 0 0 0 1px var(--bn-error-dark); /* taste-skill-ignore: a 2 px error edge without moving the text */
}
.bn-money {
  position: relative;
}
.bn-money__sign {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-45%);
  color: var(--bn-soft);
  pointer-events: none;
}
.bn-money .bn-input {
  padding-left: 2rem;
}

/* Options as chips; radios and checkboxes keep their native semantics and keyboard */
.bn-opts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bn-s2);
}
.bn-opt {
  display: inline-flex;
  align-items: center;
  gap: var(--bn-s3);
  min-height: 44px;
  padding: 0.5rem 1.1rem 0.4rem 0.85rem;
  border: 1px solid transparent; /* taste-skill-ignore: invisible until the chip is chosen */
  border-radius: 999px;
  background: var(--bn-raised);
  line-height: 1.3;
  cursor: pointer;
  transition:
    background-color var(--bn-dur-2) var(--bn-ease-out),
    border-color var(--bn-dur-2) var(--bn-ease-out);
}
.bn-opt:hover {
  background: var(--bn-raised-hover);
}
.bn-opt:has(:checked) {
  border-color: var(--bn-gold);
  background: var(--bn-gold-tint);
}
.bn-opt:has(:focus-visible) {
  outline: 2px solid var(--bn-focus);
  outline-offset: 2px;
}
.bn-field--invalid .bn-opt {
  border-color: var(--bn-error-dark);
}

/* The drawn radio and checkbox (cards, chips, consent) */
.bn-card input,
.bn-opt input,
.bn-check input {
  appearance: none;
  flex: none;
  display: grid;
  place-content: center;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1.5px solid var(--bn-border-dark);
  background: transparent;
  cursor: pointer;
  transition:
    background-color var(--bn-dur-1),
    border-color var(--bn-dur-1);
}
.bn-card input,
.bn-opt input[type="radio"] {
  border-radius: 50%;
}
.bn-opt input[type="checkbox"],
.bn-check input {
  border-radius: 3px;
}
.bn-card input:checked,
.bn-opt input:checked,
.bn-check input:checked {
  border-color: var(--bn-gold);
  background: var(--bn-gold);
}
.bn-card input::before,
.bn-opt input[type="radio"]::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bn-ink);
  transform: scale(0); /* taste-skill-ignore: a check mark, not an entrance */
  transition: transform var(--bn-dur-1) var(--bn-ease-out);
}
.bn-opt input[type="checkbox"]::before,
.bn-check input::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--bn-ink);
  clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 38% 72%);
  transform: scale(0); /* taste-skill-ignore: a check mark, not an entrance */
  transition: transform var(--bn-dur-1) var(--bn-ease-out);
}
.bn-card input:checked::before,
.bn-opt input:checked::before,
.bn-check input:checked::before {
  transform: scale(1);
}
.bn-card input:focus-visible,
.bn-opt input:focus-visible {
  outline: none; /* the ring goes round the whole card or chip */
}
.bn-check {
  display: flex;
  align-items: flex-start;
  gap: var(--bn-s3);
  min-height: 44px;
  line-height: 1.6;
  cursor: pointer;
}
.bn-check input {
  width: 22px;
  height: 22px;
  margin-top: 1px;
}
.bn-check a,
.bn-flow__legal a,
.bn-flow__alert a,
.bn-errors a {
  color: var(--bn-gold);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
.bn-check a:hover,
.bn-flow__legal a:hover,
.bn-flow__alert a:hover {
  color: var(--bn-gold-hover);
}
.bn-field--invalid .bn-check input {
  border-color: var(--bn-error-dark);
}

/* The last step: a summary with Change links, the authorization, then the optional texts */
.bn-review {
  margin-top: var(--bn-s7);
  padding: var(--bn-s5);
  border-radius: 4px;
  background: var(--bn-raised);
}
.bn-review__title {
  font-size: var(--bn-fs-title);
  line-height: 1.2;
}
.bn-review__intro {
  margin-top: var(--bn-s2);
  font-size: var(--bn-fs-small);
  font-weight: 400;
  color: var(--bn-soft);
}
.bn-review__step {
  margin-top: var(--bn-s5);
}
.bn-review__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--bn-s4);
}
.bn-review__head h4 {
  font-size: 1rem;
  font-weight: 500;
}
.bn-review dl {
  display: grid;
  gap: var(--bn-s2);
}
.bn-review dt {
  font-size: var(--bn-fs-small);
  font-weight: 400;
  color: var(--bn-soft);
}
.bn-review dd {
  overflow-wrap: anywhere;
}
.bn-review dl > div + div {
  margin-top: var(--bn-s2);
}
@media (min-width: 768px) {
  .bn-review dl > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--bn-s4);
    align-items: baseline;
  }
}
.bn-flow__consent {
  display: grid;
  gap: var(--bn-s4);
  margin-top: var(--bn-s7);
}
.bn-flow__consent .bn-note:first-of-type {
  margin-top: calc(-1 * var(--bn-s2));
}
.bn-sms {
  min-width: 0;
  margin: var(--bn-s6) 0 0;
  padding: var(--bn-s5);
  border: 0;
  border-radius: 4px;
  background: var(--bn-raised);
}
.bn-sms__legend {
  float: left; /* keeps the legend inside the padding, like any heading */
  width: 100%;
  padding: 0;
  font-weight: 500;
}
.bn-sms__legend + * {
  clear: both;
}
.bn-sms .bn-check {
  margin-top: var(--bn-s4);
  font-size: var(--bn-fs-small);
  font-weight: 400;
}
.bn-sms .bn-note {
  margin-top: var(--bn-s4);
}

/* Error summary: on Continue or Send, focused, one link per field (UI §2, PLAN C7) */
.bn-errors,
.bn-flow__alert {
  margin-top: var(--bn-s5);
  padding: 20px 24px;
  border-left: 4px solid var(--bn-error-dark);
  border-radius: 4px;
  background: var(--bn-error-tint);
}
.bn-errors:focus,
.bn-flow__alert:focus {
  outline: 2px solid var(--bn-error-dark);
  outline-offset: 2px;
}
.bn-errors__title {
  font-weight: 500;
}
.bn-errors ul {
  margin-top: var(--bn-s2);
}
.bn-errors li a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--bn-error-dark);
}
.bn-flow__step--intent .bn-field--invalid {
  padding-left: var(--bn-s4);
  border-left: 3px solid var(--bn-error-dark);
}
.bn-flow__alert .bn-btn {
  margin-top: var(--bn-s4);
}

/* Turnstile, Send and Back */
.bn-flow__send {
  display: grid;
  gap: var(--bn-s3);
  margin-top: var(--bn-s7);
}
.bn-flow__turnstile {
  min-height: 65px; /* the widget's height, reserved so Send doesn't jump (CLS) */
}
.bn-flow__nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--bn-s3);
  margin-top: var(--bn-s6);
}
.bn-flow__back {
  align-self: center;
  padding-inline: var(--bn-s4);
  color: var(--bn-cream);
}
.bn-btn[aria-disabled="true"] {
  opacity: 0.7;
  cursor: progress;
}
@media (min-width: 768px) {
  .bn-flow__nav {
    flex-direction: row;
    align-items: center;
    gap: var(--bn-s6);
  }
  .bn-flow__nav .bn-btn {
    min-width: 12.5rem;
  }
}
.bn-flow__legal {
  margin-top: var(--bn-s5);
}

/* Thank you: replaces the form in place; the heading takes focus (UI §2, COPY §3.8) */
.bn-done {
  display: grid;
  justify-items: start;
  gap: var(--bn-s4);
  margin-top: var(--bn-s7);
}
.bn-done__mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1.5px solid var(--bn-gold);
  border-radius: 50%;
  color: var(--bn-gold);
}
.bn-done__mark svg {
  width: 26px;
  height: 26px;
}
.bn-done__title {
  margin-top: var(--bn-s3);
}
.bn-done__title:focus {
  outline: none;
}
.bn-done .bn-next {
  margin-top: var(--bn-s3);
}
.bn-done__call a {
  color: var(--bn-gold);
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}
.bn-done__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--bn-s6);
}

/* A short ordered list with its numbers set in the display face */
.bn-next {
  display: grid;
  gap: var(--bn-s3);
  counter-reset: bn-next;
}
.bn-next li {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  align-items: baseline;
  counter-increment: bn-next;
}
.bn-next li::before {
  content: counter(bn-next);
  font-family: var(--bn-serif);
  font-size: var(--bn-fs-title);
  line-height: 1;
  color: var(--bn-gold);
}

/* ── /contact: the form on black, the reassurance on olive (UI §3.3, PLAN C1 and C33) ── */
.bn-page--form {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}
.bn-page--form > main {
  flex: 1 0 auto;
}
/* The slim bar: logo, phone and a way out, no menu */
.bn-header__phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
}
.bn-header__phone:hover {
  color: var(--bn-gold);
}
.bn-header__exit {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.15em 1.1rem 0;
  border: 1px solid rgb(243 235 216 / 0.55); /* taste-skill-ignore: a small secondary pill, not a box */
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition:
    background-color var(--bn-dur-2) var(--bn-ease-out),
    border-color var(--bn-dur-2) var(--bn-ease-out);
}
.bn-header__exit:hover {
  border-color: var(--bn-cream);
  background: rgb(243 235 216 / 0.08);
}
.bn-contact__grid {
  width: min(100% - 2 * var(--bn-margin), var(--bn-max));
  margin-inline: auto;
  padding-top: var(--bn-section-sm);
}
.bn-contact__main {
  padding-bottom: var(--bn-section-sm);
}
.bn-contact__title {
  max-width: 12ch;
}
.bn-contact__lead {
  margin-top: var(--bn-s4);
  color: var(--bn-soft);
}
.bn-contact__noscript {
  margin-top: var(--bn-s6);
  padding: 20px 24px;
  background: var(--bn-raised);
}
.bn-contact__noscript a,
.bn-contact__side a:not(.bn-link) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}
.bn-contact__side {
  display: grid;
  gap: var(--bn-s7);
  margin-inline: calc(-1 * var(--bn-margin));
  padding: var(--bn-section-sm) var(--bn-margin);
  background: var(--bn-olive-deep);
  --bn-soft: var(--bn-muted);
}
.bn-contact__side .bn-next {
  margin-top: var(--bn-s5);
}
.bn-contact__reach {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.bn-contact__reach .bn-title {
  margin-bottom: var(--bn-s3);
}
.bn-contact__side a:hover {
  color: var(--bn-gold);
}
.bn-contact__side a.bn-contact__phone {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  /* Sans, like the footer phone, so the non-breaking hyphens (U+2011) in site.phone.text always render. */
  font-size: var(--bn-fs-lead);
  letter-spacing: 0.02em;
  color: var(--bn-gold);
  text-decoration: none;
  white-space: nowrap;
}
.bn-contact__side a.bn-contact__phone:hover {
  color: var(--bn-gold-hover);
}
.bn-contact__email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  overflow-wrap: anywhere;
}
.bn-contact__address {
  margin-top: var(--bn-s4);
  font-style: normal;
}
.bn-contact__hours,
.bn-contact__privacy {
  color: var(--bn-soft);
}
.bn-contact__privacy {
  font-size: var(--bn-fs-small);
  font-weight: 400;
}
.bn-contact--done .bn-contact__next {
  display: none; /* the thank-you screen says it, next to the form's place */
}
@media (min-width: 1024px) {
  .bn-contact__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--bn-gutter);
    align-items: start;
    padding-bottom: var(--bn-section);
  }
  .bn-contact__main {
    grid-column: 6 / -1;
    grid-row: 1;
    padding-bottom: 0;
  }
  .bn-contact__side {
    position: sticky;
    top: calc(var(--bn-header) + var(--bn-s5));
    grid-column: 1 / span 4;
    grid-row: 1;
    margin: 0;
    padding: var(--bn-s7) var(--bn-s6);
  }
}

/* ── Holding page (COMING_SOON=1, UI §3.4) ─────────────────────────── */
.bn-holding {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 10svh var(--bn-margin) var(--bn-s7);
  text-align: center;
}
.bn-holding__inner {
  display: grid;
  justify-items: center;
  gap: var(--bn-s5);
  max-width: 640px;
}
.bn-holding__logo {
  width: 180px;
  height: auto;
  margin-bottom: var(--bn-s5);
}
.bn-holding__title {
  font-size: var(--bn-fs-heading);
  line-height: 1.06;
}
.bn-holding__title .bn-line {
  display: block;
}
.bn-holding__lede {
  margin-inline: auto;
  max-width: 46ch;
}
.bn-holding__lede[lang="es"] {
  color: var(--bn-muted);
}
.bn-holding__contact {
  display: grid;
  gap: var(--bn-s1);
  margin-top: var(--bn-s4);
  color: var(--bn-muted);
}
.bn-holding__contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--bn-fs-lead);
  color: var(--bn-gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
}
.bn-holding__contact a:hover {
  color: var(--bn-gold-hover);
}
.bn-holding__legal {
  margin-top: var(--bn-s6);
  font-size: var(--bn-fs-small);
  font-weight: 400;
  color: var(--bn-muted);
}
.bn-holding__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}
.bn-holding__legal a:hover {
  color: var(--bn-gold);
}

/* ── Language switch, EN | ES (UX §9): in the menu sheet on phones, beside "Let's talk" from
   1024 px, and in the form page's slim bar ─────────────────────────────────────────────── */
.bn-lang {
  display: flex;
  align-items: center;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
/* Both codes get the same 44 px box, so the bar sits centred between them */
.bn-lang a,
.bn-lang__on {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}
.bn-lang a {
  color: var(--bn-muted);
  transition: color var(--bn-dur-2) var(--bn-ease-out);
}
.bn-lang a:hover {
  color: var(--bn-gold);
}
.bn-lang__on {
  color: var(--bn-gold);
}
.bn-lang__sep {
  color: var(--bn-muted);
  opacity: 0.6;
}
.bn-header__nav .bn-lang {
  font-size: var(--bn-fs-lead);
}
@media (min-width: 1024px) {
  .bn-header__nav .bn-lang {
    font-size: 0.9375rem;
  }
}
/* The form page's slim bar is full on phones (logo, phone, switch, Exit): there the switch keeps
   only its link to the other language. */
@media (max-width: 479px) {
  .bn-header--form .bn-lang__on,
  .bn-header--form .bn-lang__sep {
    display: none;
  }
}
@media (max-width: 374px) {
  .bn-header--form .bn-header__bar {
    gap: 8px;
  }
  .bn-header--form .bn-header__logo img {
    width: 92px;
  }
}

/* ── Scroll motion (ELEVATE.md §2) ─────────────────────────────────────
   motion.js adds these classes only to what is still below the fold, so the page is complete
   without it, and it doesn't run at all with reduced motion. */
.bn-w {
  display: inline-block;
  /* wider than the box on purpose: Cormorant's italics and descenders overhang their word */
  clip-path: inset(-0.08em -0.3em -0.2em -0.3em);
}
.bn-w__i {
  display: inline-block;
}
.bn-mask .bn-w__i {
  transform: translateY(130%);
  transition: transform 1200ms var(--bn-ease-reveal);
  transition-delay: calc(var(--l, 0) * 110ms);
}
.bn-mask.is-in .bn-w__i {
  transform: none;
}
.bn-rise {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 1000ms var(--bn-ease-out) var(--d, 0ms),
    transform 1300ms var(--bn-ease-reveal) var(--d, 0ms);
}
.bn-rise.is-in {
  opacity: 1;
  transform: none;
}
.bn-fill .bn-f {
  opacity: 0.3;
  transition: opacity 420ms linear;
}
.bn-fill .bn-f.is-lit {
  opacity: 1;
}

/* Services: the signature scene. One photo on phones; from 1024 px it stays pinned while the
   list passes, and each service's photo wipes over the last. */
.bn-services__media picture {
  display: block;
}
.bn-service {
  position: relative;
}
@media (min-width: 1024px) {
  .bn-services__media {
    overflow: hidden;
    aspect-ratio: 4 / 5;
    max-height: calc(100svh - var(--bn-header) - 4rem);
  }
  .bn-services__media picture,
  .bn-services__media .bn-services__img {
    height: 100%;
    aspect-ratio: auto;
  }
  .bn-service::before {
    /* a hairline on every row; the current service's draws in gold */
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px; /* taste-skill-ignore: rule between list rows */
    background-color: rgb(15 15 13 / 0.14);
    /* prettier-ignore */
    --bn-draw: linear-gradient(var(--bn-gold-on-cream), var(--bn-gold-on-cream)); /* taste-skill-ignore */
    background-image: var(--bn-draw);
    background-repeat: no-repeat;
    background-size: 0 100%;
    transition: background-size 900ms var(--bn-ease-reveal);
  }
  .bn-service.is-current::before {
    background-size: 100% 100%;
  }
}

/* How a purchase runs: from 1024 px a gold line draws through the steps */
@media (min-width: 1024px) {
  .bn-steps--drawn {
    position: relative;
    padding-top: var(--bn-s7);
  }
  .bn-steps--drawn::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px; /* taste-skill-ignore: the drawn progress line */
    background: var(--bn-gold);
    transform: scaleX(var(--p, 1));
    transform-origin: left;
  }
  .bn-steps--drawn .bn-step {
    position: relative;
  }
  .bn-steps--drawn .bn-step::before {
    content: "";
    position: absolute;
    top: calc(-1 * var(--bn-s7) - 4px);
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--bn-ink-deep);
    box-shadow: inset 0 0 0 1px var(--bn-border-dark); /* taste-skill-ignore: outline of a dot */
    transition:
      background-color 500ms var(--bn-ease-out),
      box-shadow 500ms var(--bn-ease-out);
  }
  .bn-steps--drawn .bn-step.is-on::before {
    background: var(--bn-gold);
    box-shadow: inset 0 0 0 1px var(--bn-gold); /* taste-skill-ignore: outline of a dot */
  }
}

/* The closing photo settles as it comes into view */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .bn-close__img {
      animation: bn-settle linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 60%;
    }
  }
}
@keyframes bn-settle {
  from {
    transform: scale(1.14);
  }
  to {
    transform: none;
  }
}

/* ── Arrival and continuity (ELEVATE.md §3) ──────────────────────────── */
.bn-curtain {
  display: none;
}
.bn-intro .bn-curtain,
.bn-cover .bn-curtain,
.bn-cover-in .bn-curtain {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--bn-ink);
}
/* If a script ever fails, the page still appears (site.js lifts the cover by 2 s at most). */
.bn-intro .bn-curtain {
  animation: bn-curtain-failsafe 1ms linear 4.2s forwards;
}
.bn-cover .bn-curtain {
  animation: bn-curtain-failsafe 1ms linear 2.5s forwards;
}
.bn-cover-in .bn-curtain {
  animation: bn-curtain-rise 560ms var(--bn-ease-curtain) both;
}
.bn-curtain--out {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 720ms var(--bn-ease-curtain);
}
/* Hidden at both ends: a 1 ms step can end at progress 0.9999…, where visibility is still visible */
@keyframes bn-curtain-failsafe {
  from,
  to {
    visibility: hidden;
  }
}
@keyframes bn-curtain-rise {
  from {
    clip-path: inset(100% 0 0 0);
  }
  to {
    clip-path: inset(0);
  }
}
.bn-mark {
  width: min(190px, 46vw);
  height: auto;
  overflow: visible;
}
.bn-mark__line {
  fill: none;
  stroke: var(--bn-gold);
  stroke-width: 1.3;
  stroke-linejoin: miter;
}
.bn-mark__block {
  fill: var(--bn-cream);
  opacity: 0.85;
}
.bn-intro .bn-mark__line,
.bn-lost .bn-mark__line {
  stroke-dasharray: 1;
  animation: bn-draw 1000ms var(--bn-ease-io) both;
}
.bn-intro .bn-mark__block,
.bn-lost .bn-mark__block {
  animation: bn-mark-fill 520ms var(--bn-ease-out) 620ms both;
}
@keyframes bn-draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes bn-mark-fill {
  from {
    opacity: 0;
  }
}
.bn-lost .bn-mark {
  display: block;
  width: 150px;
  margin-bottom: var(--bn-s6);
}

/* As the curtain lifts: the headline rises line by line, the photo settles */
.bn-arrive .bn-hero .bn-w__i {
  animation: bn-word-up 1200ms var(--bn-ease-reveal) both;
  animation-delay: calc(var(--l, 0) * 120ms + 140ms);
}
.bn-arrive .bn-hero__media {
  animation: bn-hero-settle 2000ms var(--bn-ease-reveal) both;
}
.bn-arrive .bn-hero__lead,
.bn-arrive .bn-hero__actions {
  animation: bn-soft-up 1000ms var(--bn-ease-out) 620ms both;
}
.bn-arrive .bn-hero__actions {
  animation-delay: 760ms;
}
.bn-arrive .bn-header__bar {
  animation: bn-fade 900ms var(--bn-ease-out) 500ms both;
}
@keyframes bn-word-up {
  from {
    transform: translateY(130%);
  }
}
@keyframes bn-hero-settle {
  from {
    transform: scale(1.08);
  }
}
@keyframes bn-soft-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}
@keyframes bn-fade {
  from {
    opacity: 0;
  }
}

/* Page changes: the old page leaves quickly, the new one rises; the header stays put */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
  ::view-transition-old(root) {
    animation: bn-vt-out 220ms cubic-bezier(0.4, 0, 1, 1) both;
  }
  ::view-transition-new(root) {
    animation: bn-vt-in 460ms var(--bn-ease-reveal) both;
  }
  .bn-vt {
    view-transition-name: bn-header;
  }
  ::view-transition-group(bn-header) {
    animation-duration: 300ms;
  }
}
@keyframes bn-vt-out {
  to {
    opacity: 0;
  }
}
@keyframes bn-vt-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* Mobile menu: links arrive after the sheet */
@media (max-width: 1023px) and (prefers-reduced-motion: no-preference) {
  .bn-header--open .bn-header__links li {
    animation: bn-soft-up 700ms var(--bn-ease-reveal) both;
    animation-delay: calc(240ms + var(--i, 0) * 60ms);
  }
  .bn-header--open .bn-header__links li:nth-child(2) {
    --i: 1;
  }
  .bn-header--open .bn-header__links li:nth-child(3) {
    --i: 2;
  }
  .bn-header--open .bn-header__links li:nth-child(4) {
    --i: 3;
  }
  .bn-header--open .bn-header__links li:nth-child(5) {
    --i: 4;
  }
}

/* ── Details ──────────────────────────────────────────────────────────── */
::selection {
  background: var(--bn-gold);
  color: var(--bn-ink);
}
.bn-intro,
.bn-how,
.bn-areas,
.bn-footer {
  background-image: url("/assets/img/grain.svg");
}
.bn-pill__arrow {
  transition: transform 360ms var(--bn-ease-reveal);
}

/* The footer: one large line, and it slides up over the page (motion.js adds --over) */
.bn-footer__mega {
  margin-top: var(--bn-s7);
  padding-inline: var(--bn-margin);
  font-family: var(--bn-serif);
  font-size: min(13.2vw, 12.5rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.02;
  white-space: nowrap;
  color: var(--bn-gold);
}
/* main holds still once its end reaches the bottom of the screen, while the footer comes up over it */
.bn-page--over main {
  position: sticky;
  top: calc(100svh - var(--bn-main-h, 100%));
  z-index: 0;
}
.bn-page--over .bn-footer {
  position: relative;
  z-index: 1;
  box-shadow: 0 -12px 40px rgb(0 0 0 / 0.22); /* taste-skill-ignore: the footer's edge as it covers the page */
}

/* ── Sliders and the home page's live estimate ───────────────────────── */
.bn-range {
  --fill: 0%;
  --r: var(--bn-range-rest, var(--bn-track));
  /* prettier-ignore */
  --bn-range-track: linear-gradient(to right, var(--bn-accent) var(--fill), var(--r) var(--fill)); /* taste-skill-ignore */
  appearance: none;
  display: block;
  width: 100%;
  height: 44px; /* the touch target; the 2 px track and 22 px thumb stay centred */
  margin-top: var(--bn-s1);
  background: none;
  cursor: pointer;
}
.bn-range::-webkit-slider-runnable-track {
  height: 2px;
  background: var(--bn-range-track);
}
.bn-range::-moz-range-track {
  height: 2px;
  background: var(--bn-range-rest, var(--bn-track));
}
.bn-range::-moz-range-progress {
  height: 2px;
  background: var(--bn-accent);
}
.bn-range::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -10px;
  border-radius: 50%;
  background: var(--bn-accent);
  transition: transform var(--bn-dur-2) var(--bn-ease-out);
}
.bn-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: var(--bn-accent);
}
.bn-range:hover::-webkit-slider-thumb,
.bn-range:active::-webkit-slider-thumb {
  transform: scale(1.18);
}
.bn-range:focus-visible {
  outline: 2px solid var(--bn-focus);
  outline-offset: 2px;
}
.bn-teaser {
  --bn-range-rest: rgb(15 15 13 / 0.2);
}
.bn-teaser__head .bn-lead {
  margin-top: var(--bn-s4);
}
.bn-teaser__head em {
  color: var(--bn-gold-on-cream);
}
.bn-teaser__head,
.bn-teaser__body {
  grid-column: 1 / -1;
}
.bn-teaser__body {
  margin-top: var(--bn-s6);
  font-variant-numeric: tabular-nums lining-nums;
}
.bn-teaser__row {
  display: flex;
  justify-content: space-between;
  gap: var(--bn-s4);
}
.bn-teaser__total {
  margin-top: var(--bn-s4);
  font-size: clamp(3.25rem, 2.6rem + 3vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.bn-teaser__example {
  margin-top: var(--bn-s2);
  font-size: var(--bn-fs-small);
  font-weight: 400;
}
.bn-teaser__body .bn-link {
  margin-top: var(--bn-s2);
}
@media (min-width: 1024px) {
  .bn-teaser__grid {
    align-items: center;
  }
  .bn-teaser__head {
    grid-column: 1 / 7;
  }
  .bn-teaser__body {
    grid-column: 8 / -1;
    margin-top: 0;
  }
}

/* Footer links: tidy columns, whole labels on one line in both languages */
@media (max-width: 767px) {
  .bn-footer__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 768px) {
  .bn-footer__nav {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    gap: 0 var(--bn-s6);
  }
}

/* How a purchase runs, on phones: the same gold line, drawn down the steps */
@media (max-width: 767px) {
  .bn-steps--drawn {
    position: relative;
    padding-left: 28px;
  }
  .bn-steps--drawn::before {
    content: "";
    position: absolute;
    inset: 6px auto 0 4px;
    width: 1px; /* taste-skill-ignore: the drawn progress line */
    background: var(--bn-gold);
    transform: scaleY(var(--p, 1));
    transform-origin: top;
  }
  .bn-steps--drawn .bn-step {
    position: relative;
  }
  .bn-steps--drawn .bn-step::before {
    content: "";
    position: absolute;
    top: 8px;
    left: -28px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--bn-ink-deep);
    outline: 1px solid var(--bn-border-dark);
    outline-offset: -1px;
    transition: background-color 500ms var(--bn-ease-out);
  }
  .bn-steps--drawn .bn-step.is-on::before {
    background: var(--bn-gold);
    outline-color: var(--bn-gold);
  }
}

/* Areas on phones: the swipe list runs to the screen edge, so the next photo shows as a real peek */
@media (max-width: 1023px) {
  .bn-areas__list {
    width: 100%;
    padding-inline: var(--bn-margin);
    scroll-padding-inline: var(--bn-margin);
  }
}

/* ── All of Puerto Rico: the pinned close-up (areas.js adds --pin) ────── */
.bn-areas__foot {
  display: none;
}
.bn-areas--pin {
  padding-top: 0;
  --bn-road: 14px;
  --bn-gap: clamp(20px, 3vw, 48px);
}
.bn-areas--pin .bn-areas__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: clip;
  touch-action: pan-y; /* sideways swipes are turned into page scroll by areas.js */
}
.bn-areas--pin .bn-areas__intro {
  position: absolute;
  top: var(--bn-a-top, 92px);
  left: 0;
  right: 0;
  width: min(100% - 2 * var(--bn-margin), var(--bn-max));
  margin-inline: auto;
}
.bn-areas--pin .bn-areas__window {
  position: absolute;
  inset: 0 0 auto;
  will-change: transform;
}
.bn-areas--pin .bn-areas__track {
  width: max-content;
  padding-inline: max(var(--bn-margin), (100vw - var(--bn-max)) / 2);
  will-change: transform;
}
.bn-areas--pin .bn-areas__list {
  width: auto;
  margin: 0;
  padding: 0;
  overflow: visible;
}
.bn-areas--pin .bn-areas__stops {
  display: flex;
  align-items: stretch;
  gap: var(--bn-gap);
}
.bn-areas--pin .bn-area {
  display: flex;
  flex-direction: column;
  flex: 0 0 min(100vw - 2 * var(--bn-margin) - 28px, var(--bn-a-h) * 0.82);
  height: var(--bn-a-h);
  padding-top: calc(var(--bn-road) + var(--bn-s5));
}
.bn-areas--pin .bn-area::before,
.bn-areas--pin .bn-area::after {
  display: block;
}
.bn-areas--pin .bn-area::before {
  right: calc(-1 * var(--bn-gap));
}
.bn-areas--pin .bn-area:last-child::before {
  right: 0;
}
.bn-areas--pin .bn-area__card {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.bn-areas--pin .bn-area__media {
  flex: 1 1 0;
  min-height: 0;
}
.bn-areas--pin .bn-area__media picture {
  display: block;
  height: 100%;
}
.bn-areas--pin .bn-area__img {
  height: 100%;
  aspect-ratio: auto;
  max-height: none;
}
.bn-areas--pin .bn-areas__foot {
  position: absolute;
  inset: auto 0 24px;
  display: flex;
  align-items: center;
  gap: var(--bn-s4);
  width: min(100% - 2 * var(--bn-margin), var(--bn-max));
  margin-inline: auto;
  opacity: 0;
  font-size: var(--bn-fs-small);
  font-weight: 400;
  font-variant-numeric: tabular-nums lining-nums;
}
.bn-areas__of b {
  font-weight: 400;
  color: var(--bn-gold);
}
.bn-areas__bar {
  flex: 0 1 140px;
  height: 1px; /* taste-skill-ignore: progress through the five regions */
  background: var(--bn-track);
}
.bn-areas__bar i {
  display: block;
  height: 100%;
  background: var(--bn-gold);
  transform: scaleX(0.2);
  transform-origin: left;
  transition: transform 500ms var(--bn-ease-out);
}
.bn-areas__hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  transition: opacity 500ms var(--bn-ease-out);
}
.bn-areas__hint svg {
  animation: bn-bob 1.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
.bn-areas.is-done .bn-areas__hint {
  opacity: 0;
}
@keyframes bn-bob {
  50% {
    transform: translateY(4px);
  }
  0%,
  100% {
    transform: translateY(-2px);
  }
}

/* The studio credit: last in the footer, quiet until hovered */
.bn-footer__studio a {
  padding-block: 13px; /* a 44 px target without changing the line */
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  transition: color var(--bn-dur-2) var(--bn-ease-out);
}
.bn-footer__studio a:hover {
  color: var(--bn-gold);
}
@media (min-width: 768px) {
  .bn-footer__studio {
    margin-left: auto;
  }
}
