/* ============================================================
   layer.css — personal-elevate-r2263 (Ben, 2026-11-18: "the top bar
   doesn't look clean, lots of footers and different sections sloppy";
   better UI, animated backgrounds, transitions, icons, buttons,
   components across all sites).
   Renamed from elevate.css by r2324 (2026-11-18): the perweb-r69
   AI-tell pin scans whole-page text for "elevate"; the old filename
   tripped it on 11 pages (QA r2321 F-1). Content otherwise unchanged.

   This sheet loads LAST on every page. It does not restyle the site
   into something new — the Personal site is the restored white
   version, polished (local-taste-skill fleet rule). It consolidates
   what five accreted stylesheets (styles / redesign / design-system /
   inspire / subpage-uniqueness) each redefined in their own dialect:

   - one top-bar treatment with a real scroll state (transparent at
     rest on the ambient; the frosted surface arrives on scroll,
     driven by layer.js's data-scrolled attribute)
   - one footer treatment (the legal line itself is fixed in markup:
     one credit, BFS Development, linking to the Studio site)
   - one eyebrow/label treatment: sentence case, no tracked caps
     (fleet law), one margin, on every page including subpage heroes
   - one button dialect on the motion tokens, full state set,
     press scale 0.98 (local-make-interfaces-feel-better; fleet
     override of the skill's 0.96). Colours are NOT recoloured:
     the site's primary is the ink pill in both button systems
     (ds-btn-gold renders ink by design), and unification here is
     dialect and states, not a rebrand.
   - one section rhythm: --ds-section-y, defined once
   - the foil-cloth ambient deepened by two slow colour washes on
     the .ds-ambient container itself (the weave is its ::before
     and the sheen its ::after — both shipped, both untouched);
     a 97s drift, non-commensurate with the shipped 61s / 83s /
     107s orb periods and the 34s sheen, so the combined field
     never visibly repeats (Ben's no-visible-loop law; full
     motion for everyone, no reduced-motion stand-down)
   - page transitions: already a shipped design-system.css system
     on the motion tokens; this layer adds no competing rule
     (personal-motion-r106 pins that sheet as the rule's only home)

   Anti-slop pre-flight (local-anti-ui-slop): one accent hue in
   chrome (gold), zero emoji, radii on the existing scale, no
   unbranded gradients, no duplicate visible labels introduced.
   Content is visible with scripting off: nothing here hides
   content; reveals stay with motion.js (classes added at runtime).

   Deliberate NON-changes, recorded so review does not re-litigate:
   - #bookFloat: untouched. Its show/hide motion is built and
     pinned (personal-craft-bookfloat-motion); a property-list
     override from this sheet is the accident that pin catches.
   - Nav current-page indication: already a working system —
     static aria-current in the generated chrome, a design-system
     underline rule for it, and motion.js's moving indicator
     (has-ind) on top. No duplicate rule added here.
   - Nav icon buttons (.bs-search-trigger, #hb): shipped states
     are complete (the search trigger's fills are !important in
     design-system.css). No churn.
   - Icons: the site already carries one bespoke system — the BS
     tile mark, a <use> sprite set (.ic, aria-hidden beside
     labels) and .nav-ic glyphs at a consistent stroke on
     currentColor. No competing stock set, no repair needed.
   - The scroll cue's 280ms pulse: built state; repo law bars
     retiming motion as a side effect. Census observation only.
   ============================================================ */

:root {
  /* The design-system sheet squashed the long end of the motion
     scale to a single 280ms cap-era value. Restore the token scale
     (transitions-dev): components already reference these tokens,
     so the whole site breathes at the intended durations. */
  --duration-medium: 350ms;
  --duration-slow: 400ms;
  --duration-very-slow: 500ms;
  /* One section rhythm, defined once. design-system.css defines
     --ds-section-y three times with three values; this is the last
     word and the roomier original wins. */
  --ds-section-y: clamp(3.5rem, 7vw, 5.5rem);
}

/* ---------- Top bar: one clean row, real scroll state ---------- */

/* At rest the bar floats on the ambient: no fill, no blur, just the
   hairline. The frosted surface arrives only once the page moves. */
header#nav {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  /* Full shorthand, stated explicitly: a transition-property-only
     override would silently re-map the durations of any transition
     list an earlier sheet built (the r78 #bookFloat lesson, pinned
     by personal-craft-bookfloat-motion-2026-11-09). backdrop-filter
     is carried over from the design-system list so the frost
     still fades instead of snapping. */
  transition: background-color var(--duration-fast) var(--ease-smooth-out),
    border-color var(--duration-fast) var(--ease-smooth-out),
    backdrop-filter var(--duration-fast) var(--ease-smooth-out),
    box-shadow var(--duration-fast) var(--ease-smooth-out);
}
header#nav.scrolled,
header#nav[data-scrolled] {
  /* rgba literal, not color-mix: the fleet's test Chrome resolves
     color-mix to transparent black (verified in-browser, r2263),
     which would silently kill the frost. --ds-bone at 88%. */
  background: rgba(245, 241, 232, .88);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--ds-line);
  box-shadow: 0 12px 32px -24px rgba(11, 11, 12, .35);
}
/* The open mobile menu keeps the bar transparent over the ink
   sheet (the design-system menu-open treatment wins over the
   scrolled state too). */
html.menu-open header#nav[data-scrolled] {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}

/* The brand wordmark (.ds-nav-word, Fraunces, beside the tile) is
   already the shipped treatment — the rendered capture proves it —
   so this sheet adds no brand rule. (inspire.css's .ds-brand-word
   display:none targets a class the current markup does not use.) */

/* ---------- Footer: one disciplined treatment ---------- */

/* design-system.css defines .ft seven times with competing
   paddings and backgrounds. This is the single definition now:
   roomier top padding on the space scale, and a translucent bone
   so the foil cloth breathes under the footer instead of meeting
   a hard solid edge. The separator stays whichever hairline the
   shipped cascade already renders. */
.ft {
  padding: var(--ds-space-8) 0 var(--ds-space-6);
  /* --ds-bone at 82%, as an rgba literal (see the header note). */
  background: rgba(245, 241, 232, .82);
}
.ft-legal-row {
  align-items: center;
  row-gap: var(--ds-space-2);
}
/* The one credit link in the legal line gets the link-line
   treatment: gold underline, oxblood on hover. */
.ft-copy a {
  color: var(--ds-ink);
  text-decoration: underline;
  text-decoration-color: var(--ds-gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--duration-quick) var(--ease-smooth-out),
    text-decoration-color var(--duration-quick) var(--ease-smooth-out);
}
.ft-copy a:hover { color: var(--ds-ox); text-decoration-color: var(--ds-ox); }
.ft nav a {
  transition: color var(--duration-quick) var(--ease-smooth-out);
}

/* ---------- Eyebrows and labels: one treatment, sentence case --- */

/* .eyebrow had four competing definitions (styles.css, redesign.css,
   design-system.css, plus per-context overrides). One now: sans,
   sentence case, no tracking, oxblood, gold rule, one margin. The
   class name is kept so every page inherits without markup churn.
   Only margin-bottom is declared: top/side margins stay with the
   utilities and contexts that already own them. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-family: var(--ds-sans);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ds-ox);
  margin-bottom: var(--ds-space-4);
}
.eyebrow::before {
  content: "";
  width: 2.4em;
  height: 1px;
  background: var(--ds-gold);
  flex: none;
  /* The styles.css hover-grow of this rule (2.4em -> 3.2em, with its
     own transition) is built micro-motion and stays: this block
     deliberately declares no transition and no hover width. */
}
.bg-ink .eyebrow,
.text-bone .eyebrow { color: var(--ds-gold-2); }

/* The hero tagline rotator was set in tracked uppercase mono —
   fleet law is sentence case, no tracked caps. Mechanics (the
   rotation itself, motion.js typewriter) are untouched. */
.bs-tagline-rotator {
  text-transform: none;
  letter-spacing: 0;
}

/* Chapter markers on /projects: mono stays, the 0.2em tracking goes. */
.chapter-num { letter-spacing: .02em; }

/* ---------- Buttons: one dialect, full states ------------------ */

/* The legacy button classes each spoke a different dialect
   (.28s cubic-bezier(.2,.7,.2,1) in styles.css, ledger aliases in
   redesign.css), and their state sets were partial. Every legacy
   class now moves on the shared motion tokens with the full state
   set: default (each sheet's own colours, unchanged), hover (each
   sheet's own), focus-visible, active at the fleet 0.98 press,
   disabled. */
.btn-gold, .btn-ink, .btn-outline, .btn-puck,
.cc-mini-btn, .f20-copybtn {
  /* One explicit shorthand for the whole legacy family: same
     properties, same duration, same easing — replacing the
     catch-all shorthand and per-file dialects without shortening or
     removing any built motion (repo CLAUDE.md rule 3). */
  transition: background-color var(--duration-fast) var(--ease-smooth-out),
    color var(--duration-fast) var(--ease-smooth-out),
    border-color var(--duration-fast) var(--ease-smooth-out),
    transform var(--duration-fast) var(--ease-smooth-out),
    box-shadow var(--duration-fast) var(--ease-smooth-out);
}
.btn-gold:active, .btn-ink:active, .btn-outline:active,
.btn-puck:active, .cc-mini-btn:active, .f20-copybtn:active {
  transform: scale(.98);
}
.btn-gold:focus-visible, .btn-ink:focus-visible,
.btn-outline:focus-visible, .btn-puck:focus-visible,
.cc-mini-btn:focus-visible, .f20-copybtn:focus-visible {
  outline: 2px solid var(--ds-gold);
  outline-offset: 3px;
}
.btn-gold:disabled, .btn-ink:disabled, .btn-outline:disabled,
.btn-puck:disabled, .cc-mini-btn:disabled, .f20-copybtn:disabled {
  opacity: .55;
  pointer-events: none;
}

/* The large ds-btn jumped to 1.1rem while the base sits at .75rem
   mono — one scale step instead. */
.ds-btn-lg { font-size: .875rem; }

/* ---------- Section rhythm: one token scale --------------------- */

.ds-section, .section { padding-block: var(--ds-section-y); }
.hm-section { padding-block: calc(var(--ds-section-y) * 1.2); }

/* ---------- Stats band: pairs that cannot sever (PER-R501-04) --- */

/* The home stats band was a <dl> of div-wrapped dt/dd cells; text
   extraction and assistive tech read six severed fragments
   ("3, iOS apps built, 71, Certifications earned, P&C, License").
   The markup is now a <ul> of three <li> units, each holding its
   value and label together. These rules re-express the band's
   winning design-system values for the new structure: the band
   looks exactly as it did, and every consumer reads three
   inseparable pairs. Scoped to .hm-stats (home only). */
.ds-stats.hm-stats { list-style: none; padding: 0; }
.ds-stats.hm-stats > li {
  background: var(--ds-bone);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ds-space-1);
  text-align: center;
  padding: 1rem .5rem;
}
.ds-stats.hm-stats .ds-stat-v {
  font-family: var(--ds-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--ds-ink);
  line-height: 1;
}
.ds-stats.hm-stats .ds-stat-l {
  font-size: var(--ds-small);
  color: var(--ds-ink-soft);
}

/* ---------- Ambient: the foil cloth, deepened -------------------- */

/* Two soft colour washes ride on the .ds-ambient container itself —
   a gold warmth low right, an oxblood warmth high left — enriching
   the field the shipped weave (::before), sheen (::after) and orbs
   (61s / 83s / 107s) already paint. The washes drift on a 97s
   alternate cycle, non-commensurate with every shipped period, so
   the combined field never visibly repeats. Paint-only property:
   no layout, no loop. */
.ds-ambient {
  background-image:
    radial-gradient(60vmax 60vmax at 85% 110%, rgba(210, 161, 63, .07), transparent 60%),
    radial-gradient(50vmax 50vmax at 8% -10%, rgba(140, 29, 24, .05), transparent 60%);
  background-size: 130% 130%;
  background-repeat: no-repeat;
  animation: ev-drift-bg 97s ease-in-out infinite alternate;
}
@keyframes ev-drift-bg {
  from { background-position: 0% 0%; }
  to { background-position: 100% 100%; }
}

/* ---------- Page transitions -------------------------------------- */

/* Cross-document view transitions already live in design-system.css
   (navigation:auto with the ds-vt-out / ds-vt-in pair on the motion
   tokens), and personal-motion-r106 pins that sheet as the ONLY
   home for the rule. This layer therefore declares none — the
   census C-8 hard-cut observation was already answered by the
   shipped system. */

/* ============================================================
   r2499 overhaul (Ben's first-hand critique of the live site,
   2026-11-19 16:54 EST; WO-PER-2499-1..5). Five defects, answered
   here and in the r2499 markup changes:

   - Dead space: heroes become content-sized navy panels whose
     frame is filled with intent (a record ledger on home, a fact
     plate on subpages, an engraved scene strip), and the studio
     bands tighten to the section token.
   - Generic look: the approved house style (A3 engraved navy and
     gold vintage illustration, Ben 2026-11-18) adapted to be
     Personal-unique: deep navy hero panels, bone type, gold
     hairlines, an engraved hatch texture, and a bespoke harbor
     scene drawn for this site. Not a BFS variation: no palmetto,
     no DC skyline, no sun device, and the BS mark is untouched.
   - The body stays bone: navy is the hero and plate treatment,
     not a whole-site rebrand (the r2263 white-version decision
     stands for page bodies).
   rgba literals throughout, never color-mix (the r2263 lesson).
   ============================================================ */

:root {
  --bs-navy: #0B1B3A;
  --bs-navy-2: #10264D;
  --bs-navy-3: #081226;
}

/* ---------- Heroes: navy engraved panels ---------- */

/* #top is named because redesign.css resets that section's
   background at ID specificity, and design-system.css holds
   .bs-hero at transparent !important; this plate outranks both
   (ID + class, last sheet, !important, the repo's own override
   idiom, cf. the pinned #top foot-room rule). */
#top.ds-hero,
.uq-hero {
  background:
    repeating-linear-gradient(0deg, rgba(245, 241, 232, .030) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(90deg, rgba(245, 241, 232, .022) 0 1px, transparent 1px 7px),
    linear-gradient(158deg, var(--bs-navy-2) 0%, var(--bs-navy) 48%, var(--bs-navy-3) 100%) !important;
  color: var(--ds-bone);
}
/* The home hero was min(100svh, 52rem): a near-empty stage. It is
   still a poster, but a tighter one whose content fills it. */
.hm-hero.ds-hero { min-height: min(88svh, 44rem); }
/* The home hero grid goes single-column: name, ledger and scene
   stack full-width (the subpage grids keep their two columns). */
.bs-hero-grid.bs-hero-grid--solo { grid-template-columns: 1fr; }
.uq-hero { padding-bottom: var(--ds-space-7); }

.ds-hero .ds-hero-title,
.uq-hero .display-h { color: var(--ds-bone); }
.ds-hero .ds-hero-title em,
.uq-hero .display-h em { color: var(--ds-gold-3); }
.uq-hero .font-serif.italic.text-ox { color: var(--ds-gold-3); }
.ds-hero .eyebrow,
.uq-hero .eyebrow { color: var(--ds-gold-3); }
.ds-hero .eyebrow::before,
.uq-hero .eyebrow::before { background: var(--ds-gold); }
.uq-hero .ds-page-lede,
.uq-hero .text-ink\/70 { color: rgba(245, 241, 232, .78); }
.uq-hero .text-ink\/60 { color: rgba(245, 241, 232, .62); }
.uq-hero a.link-line,
.ds-hero a.link-line { color: var(--ds-gold-3); }
.uq-hero .section-glyph { color: rgba(245, 241, 232, .10); }
/* The scroll cue was ink on bone; on the navy panel it reads in
   bone with a gold pulse (the 280ms pulse itself is untouched). */
.hm-hero .ds-scroll-cue { color: rgba(245, 241, 232, .78); }
.hm-hero .ds-scroll-cue span { background: rgba(245, 241, 232, .25); }
.hm-hero .ds-scroll-cue span::after { background: var(--ds-gold); }
/* Stat pills and hero chips that sit on subpage heroes. */
.uq-hero .uq-range { color: var(--ds-gold-3); }
.uq-hero .ds-hero-stat,
.uq-hero .bs-chip {
  background: rgba(245, 241, 232, .08);
  border-color: rgba(245, 241, 232, .22);
  color: var(--ds-bone);
}
.uq-hero .btn-ink {
  background: var(--ds-bone) !important;
  color: var(--bs-navy) !important;
  border: 1px solid rgba(245, 241, 232, .38) !important;
}
.uq-hero .btn-ink:hover,
.uq-hero .btn-ink:focus-visible {
  background: #FFFFFF !important;
  color: var(--bs-navy) !important;
}
nav[aria-label="App download"] a,
nav[aria-label="GreekStack page"] a {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Top bar on navy-top pages ---------- */

/* The home hero's navy runs under the bar (its top padding is
   inside the section), so the home page carries bs-navy-top on
   the body: at rest the wordmark and links read in bone until
   the frosted scroll state (bone surface, ink text) arrives.
   Subpage heroes start below the bar over the bone top strip
   and keep the ink dialect. The Book a call pill and the search
   trigger keep their own surfaces and are untouched. */
body.bs-navy-top header#nav:not(.scrolled):not([data-scrolled]) .ds-nav-word { color: var(--ds-bone); }
body.bs-navy-top header#nav:not(.scrolled):not([data-scrolled]) .nlink { color: rgba(245, 241, 232, .85); }
body.bs-navy-top header#nav:not(.scrolled):not([data-scrolled]) .nlink:hover,
body.bs-navy-top header#nav:not(.scrolled):not([data-scrolled]) .nlink:focus-visible,
body.bs-navy-top header#nav:not(.scrolled):not([data-scrolled]) .nlink[aria-current="page"] { color: var(--ds-bone); }
body.bs-navy-top header#nav:not(.scrolled):not([data-scrolled]) .ds-hb { color: var(--ds-bone); }
body.bs-navy-top header#nav:not(.scrolled):not([data-scrolled]) .ds-hb span { background: var(--ds-bone); }
body.bs-navy-top header#nav:not(.scrolled):not([data-scrolled]) .bs-search-trigger {
  background: rgba(245, 241, 232, .16);
  color: var(--ds-bone);
}

/* ---------- Home hero: the record ledger ---------- */

/* Name + rotating taglines stay the whole hero copy (locked law);
   the ledger fills the frame under them with the record, in four
   cells on one hairline scale. Cells rise in on load, staggered,
   on the house tokens; the animation is pure CSS, so the content
   is never held hostage to scripting. */
.bs-ledger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--ds-space-5);
  margin-top: var(--ds-space-7);
  padding-top: var(--ds-space-5);
  border-top: 1px solid rgba(210, 161, 63, .45);
  text-align: left;
}
.bs-ledger-cell {
  border-left: 1px solid rgba(245, 241, 232, .16);
  padding-left: var(--ds-space-5);
  animation: bs-rise var(--duration-slow) var(--ease-smooth-out) backwards;
  animation-delay: calc(140ms + var(--i, 0) * 70ms);
}
.bs-ledger-key {
  font-family: var(--ds-mono);
  font-size: .72rem;
  color: var(--ds-gold-2);
  margin: 0 0 var(--ds-space-2);
}
.bs-ledger-val {
  font-family: var(--ds-serif);
  font-size: 1.06rem;
  line-height: 1.35;
  color: var(--ds-bone);
  margin: 0;
}
.bs-ledger-val small {
  display: block;
  font-family: var(--ds-sans);
  font-size: .8rem;
  color: rgba(245, 241, 232, .66);
  margin-top: var(--ds-space-1);
}
@keyframes bs-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 760px) {
  .bs-ledger { grid-template-columns: 1fr 1fr; }
  .bs-ledger-cell { padding-left: var(--ds-space-4); }
}
/* At mobile widths the design system flattens .ds-hero-copy with
   display:contents and gives the eyebrow order 2; the ledger and
   scene must sort after it or the tagline lands at the hero's
   foot (rendered proof: r2499 390px capture). */
@media (max-width: 900px) {
  .bs-hero-grid--solo > .bs-ledger { order: 3; }
  .bs-hero-grid--solo > .bs-scene { order: 4; }
}

/* ---------- The engraved scene strip ---------- */

/* A bespoke harbor scene (inline SVG in index.html): cable-stayed
   span, marsh banks, hatched water, drawn in navy and gold
   hairlines for this site only. It closes the hero frame the way
   an engraved plate closes a chapter. */
.bs-scene {
  margin-top: var(--ds-space-7);
  padding-top: var(--ds-space-5);
  border-top: 1px solid rgba(210, 161, 63, .45);
  animation: bs-rise var(--duration-slow) var(--ease-smooth-out) backwards;
  animation-delay: 420ms;
}
.bs-scene svg { display: block; width: 100%; height: auto; }
.bs-scene-cap {
  display: flex;
  justify-content: space-between;
  gap: var(--ds-space-4);
  margin-top: var(--ds-space-3);
  font-family: var(--ds-mono);
  font-size: .78rem;
  color: rgba(245, 241, 232, .86);
}

/* ---------- Subpage hero plates ---------- */

/* Every subpage hero's second column is now a plate: a bone card
   with an engraved double-rule gold frame carrying that page's
   own facts or index, so the column is information, not a stock
   photograph. */
.bs-plate {
  background: var(--ds-bone);
  color: var(--ds-ink);
  border: 1px solid rgba(210, 161, 63, .65);
  border-radius: var(--ds-r-md);
  box-shadow: inset 0 0 0 4px var(--ds-bone), inset 0 0 0 5px rgba(210, 161, 63, .4),
    0 28px 56px -28px rgba(3, 6, 14, .55);
  padding: var(--ds-space-6);
}
.bs-plate-t,
.bs-plate p.bs-plate-t {
  font-family: var(--ds-serif);
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 0 0 var(--ds-space-4);
  color: var(--bs-navy);
}
.bs-plate dl { margin: 0; }
.bs-plate dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--ds-space-4);
  padding-block: var(--ds-space-3);
  border-top: 1px solid var(--ds-line-soft);
}
.bs-plate dt {
  font-family: var(--ds-mono);
  font-size: .72rem;
  color: var(--ds-gold-deep);
  flex: none;
}
.bs-plate dd {
  margin: 0;
  font-family: var(--ds-serif);
  font-size: .98rem;
  text-align: right;
  color: var(--ds-ink);
}
.bs-plate dd small {
  display: block;
  font-family: var(--ds-sans);
  font-size: .8rem;
  line-height: 1.45;
  color: rgba(11, 11, 12, .62);
  margin-top: 2px;
}
.bs-plate ul { list-style: none; margin: 0; padding: 0; }
.bs-plate li { border-top: 1px solid var(--ds-line-soft); }
.bs-plate li:first-child { border-top: 0; }
.bs-plate li a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--ds-space-4);
  padding-block: var(--ds-space-3);
  color: var(--ds-ink);
  text-decoration: none;
  transition: color var(--duration-quick) var(--ease-smooth-out);
}
.bs-plate li a:hover, .bs-plate li a:focus-visible { color: var(--ds-ox); }
.bs-plate li a span {
  font-family: var(--ds-mono);
  font-size: .72rem;
  color: var(--ds-gold-deep);
  flex: none;
}
.bs-plate p { font-size: .92rem; line-height: 1.55; color: rgba(11, 11, 12, .78); margin: 0 0 var(--ds-space-3); }
.bs-plate p:last-child { margin-bottom: 0; }

/* The home BFS card's frame carries the engraved bridge instead
   of the retired stock desk photograph: a navy plate at the same
   16/9 geometry as the photo frames beside it. */
.bs-card-scene {
  background:
    repeating-linear-gradient(0deg, rgba(245, 241, 232, .030) 0 1px, transparent 1px 7px),
    linear-gradient(158deg, var(--bs-navy-2) 0%, var(--bs-navy) 48%, var(--bs-navy-3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bs-card-scene svg { width: 100%; height: 100%; display: block; }

/* ---------- Density: bands on the section token ---------- */

.bs-studio-stage { padding-block: clamp(2.75rem, 5vw, 4.25rem); }

/* ---------- Contact hero: the three routes ---------- */

.bs-hero-routes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-3) var(--ds-space-6);
}

/* ---------- About: grouped next steps ---------- */

.bs-next-group { margin-bottom: var(--ds-space-6); }
.bs-next-group:last-child { margin-bottom: 0; }
.bs-next-group > p {
  font-family: var(--ds-mono);
  font-size: .72rem;
  color: var(--ds-gold-deep);
  margin: 0 0 var(--ds-space-3);
}

/* ---------- Ben's own photo, framed (career) ---------- */

.bs-own-photo {
  margin: 0;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-r-md);
  overflow: hidden;
  background: var(--ds-bone);
  box-shadow: 0 24px 48px -28px rgba(11, 11, 12, .35);
}
.bs-own-photo img { width: 100%; height: auto; display: block; }
.bs-own-photo figcaption {
  padding: var(--ds-space-3) var(--ds-space-4);
  font-size: .8rem;
  color: rgba(11, 11, 12, .68);
  border-top: 1px solid var(--ds-line-soft);
}

/* ---------- Micro-interactions on the new pieces ---------- */

.bs-plate, .bs-own-photo, .sf-card {
  transition: transform var(--duration-fast) var(--ease-smooth-out),
    box-shadow var(--duration-fast) var(--ease-smooth-out);
}
.bs-plate:hover, .bs-own-photo:hover {
  transform: translateY(-2px);
}
.uq-hero a:focus-visible,
.ds-hero a:focus-visible,
.bs-plate a:focus-visible {
  outline: 2px solid var(--ds-gold);
  outline-offset: 3px;
}

/* ---------- Top bar link pill & booking radiogroup labels ---------- */

p.flabel { margin-top: 0; }

header#nav .ds-nav-links .nlink {
  border-radius: 999px;
  transition: color var(--duration-quick, 150ms) var(--ease-smooth-out),
    background-color var(--duration-quick, 150ms) var(--ease-smooth-out);
}
header#nav .ds-nav-links .nlink[aria-current="page"] {
  background-color: rgba(178, 132, 46, .08);
}
body.bs-navy-top header#nav:not(.scrolled):not([data-scrolled]) .ds-nav-links .nlink[aria-current="page"] {
  background-color: rgba(245, 241, 232, .10);
}
@media (hover: hover) and (pointer: fine) {
  header#nav .ds-nav-links .nlink:hover {
    background-color: rgba(178, 132, 46, .10);
  }
  body.bs-navy-top header#nav:not(.scrolled):not([data-scrolled]) .ds-nav-links .nlink:hover {
    background-color: rgba(245, 241, 232, .12);
  }
}

/* ============================================================
   r2997 addendum (2026-11-22). Button state parity
   for the wizard families, a booking-close hover that wins its
   cascade, one focus ring across every button family, and
   containment for the over-wide marquee tracks (WO-DC-07).
   Measured basis: the r2997 source audit plus CDP matched-rule
   and mouse-probe drives in the lane record. Additive only:
   no base rule above is edited, and nothing here gates motion.
   ============================================================ */
.cc-choice:hover, .cc-subchip:hover {
  background: #faf6ec;
  box-shadow: inset 0 0 0 1px rgba(20, 20, 19, .30), 0 1px 2px rgba(20, 20, 19, .06);
}
.cc-step-pill:hover {
  border-color: rgba(178, 132, 46, .55);
  background: rgba(212, 175, 55, .12);
}
.cc-mini-btn {
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.cc-mini-btn:hover {
  background: rgba(20, 20, 19, .07);
  color: var(--ink, #141413);
}
.bw-btn:active, .bw-btn-primary:active, .bw-btn-ghost:active {
  transform: translateY(0) scale(.98);
}
.booking-panel .booking-close {
  transition: background-color .2s ease, transform .16s ease;
}
.booking-panel .booking-close:hover {
  background: rgba(20, 20, 19, .14);
}
.booking-panel .booking-close:active {
  transform: scale(.94);
}
.bw-btn:focus-visible, .cc-choice:focus-visible, .cc-subchip:focus-visible,
.cc-step-pill:focus-visible, .cc-mini-btn:focus-visible, .cc-topic-card:focus-visible,
.cert-pill:focus-visible, .booking-close:focus-visible {
  outline: 2px solid var(--ds-gold-2);
  outline-offset: 2px;
}
.cert-row-track, .bs-photo-rail-track {
  contain: layout paint;
}

/* ============================================================
   r3004 addendum (2026-11-22). Focus ring completion, LC-4.
   QA r3001 (F-2) proved the r2997 ring never reached two of
   its four named families; this block finishes the cascade.
   cert-pill: design-system.css sets its ring as
   button.cert-pill:focus-visible, specificity (0,2,1), while
   the r2997 rule named the class only, (0,2,0), and lost.
   The element-qualified selector below ties (0,2,1) and
   wins on sheet order, since layer.css loads last.
   booking-close: design-system.css sets outline none plus
   a blue shadow ring on a :is() group whose strongest
   member is an ID selector, (1,2,0), both parts flagged
   !important. The rule below anchors on the modal ID,
   (1,3,0), also !important, and gives the close button
   the same gold ring as the other families, with the
   blue shadow ring removed for the focus-visible state.
   ============================================================ */
button.cert-pill:focus-visible {
  outline: 2px solid var(--ds-gold-2);
  outline-offset: 2px;
}
#bookingModal .booking-panel .booking-close:focus-visible {
  outline: 2px solid var(--ds-gold-2) !important;
  outline-offset: 2px;
  box-shadow: none !important;
}

/* ============================================================
   r3011 addendum (2026-11-22). Touch-target floors, from the
   r3007 first-hand verification of the Phase BT escalations
   (PE-1, PE-2 REAL on production):
   PE-1: the footer BFS Development credit link (.ft-copy a)
   measured exactly 16px tall (13px font) at 390 and 1440.
   As an inline box its vertical padding cannot grow the
   target, so the link becomes an inline-block with 4px
   padding-block: the 16px line plus 8px of padding computes
   a 24px target. Text, destination and placement untouched;
   color and underline treatment stay with the rule above.
   PE-2: the home certifications marquee track measured
   exactly 43.2px tall at both widths, 0.8px under the 44px
   floor. A 44px min-height on the track is the smallest
   change that reaches the floor; the pills inside are
   unchanged.
   ============================================================ */
.ft-copy a {
  display: inline-block;
  padding-block: 4px;
}
.cert-row-track {
  min-height: 44px;
}
