/* Building Elsewhere v2.0 — sibling of Yaad.
   Shared family: warm bone paper, deep green ink, Bricolage Grotesque display,
   Figtree body, Space Mono labels, rounded cards, and the gold dated seal —
   the same trust mark that means "a human checked this" on both sites.
   Where Yaad runs hot (bonnet orange), Building Elsewhere runs grounded (deep green).
   Still no popups, no scores, no rankings anywhere. */

:root {
  --ink:        #17231b;
  --ink-soft:   #33453a;
  --bone:       #f7f1e3;
  --bone-2:     #efe7d3;
  --paper:      #fffdf7;
  --accent:     #256b47;   /* the green: primary here, supporting on Yaad */
  --accent-dk:  #1a5236;
  --seal:       #e6a417;   /* curry gold — the shared verified seal */
  --seal-dk:    #b97f08;
  --line:       #ded3ba;
  --muted:      #6f6653;

  --shadow-sm: 0 1px 2px rgba(23,35,27,.08), 0 2px 6px rgba(23,35,27,.05);
  --shadow-md: 0 6px 20px rgba(23,35,27,.10);
  --radius:    14px;
  --radius-sm: 9px;

  --display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-data: "Space Mono", "SFMono-Regular", ui-monospace, monospace;

  --wrap: 1140px;
  --measure: 46rem;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bone);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dk); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 .4em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

.be-wrap { width: min(var(--wrap), 92vw); margin-inline: auto; }
.be-skip { position: absolute; left: -9999px; }
.be-skip:focus { left: 1rem; top: 1rem; background: var(--ink); color: var(--bone); padding: .5rem 1rem; z-index: 10; border-radius: var(--radius-sm); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* Kicker — the mono label that opens every section */
.be-kicker {
  font-family: var(--font-data); font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--seal-dk); margin: 0 0 .5rem;
}
.be-kicker-tight { margin-top: 1.5rem; }

/* Buttons */
.be-btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-body); font-weight: 700; font-size: .95rem;
  background: var(--accent); color: var(--paper) !important;
  padding: .72em 1.35em; border-radius: 999px; border: 2px solid var(--accent);
  cursor: pointer; text-decoration: none !important;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.be-btn:hover { background: var(--accent-dk); border-color: var(--accent-dk); }
.be-btn-ghost { background: transparent; color: var(--ink) !important; border-color: var(--ink); }
.be-btn-ghost:hover { background: var(--ink); color: var(--bone) !important; }
.be-btn-header { font-size: .88rem; padding: .55em 1.1em; }

/* The seal — gold, dated, slightly stamped. Shared with Yaad. */
.be-stamp {
  display: inline-block;
  font-family: var(--font-data); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--seal-dk); background: var(--paper);
  border: 2px solid var(--seal); border-radius: 6px;
  padding: .3em .65em; transform: rotate(-2deg);
}
.be-stamp time { color: inherit; }

/* ---------- Header ---------- */
.be-header { background: var(--bone); border-bottom: 1px solid var(--line); position: relative; z-index: 6; }
.be-header-inner { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; padding-block: 1.05rem; }
.be-brand { display: flex; align-items: baseline; gap: .7rem; margin-right: auto; }
.be-wordmark { font-family: var(--display); font-weight: 800; font-size: 1.45rem; color: var(--ink); letter-spacing: -0.02em; }
.be-wordmark:hover { text-decoration: none; }
.be-dot { color: var(--accent); }
.be-tagline { font-family: var(--font-data); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.be-nav { display: flex; align-items: center; gap: 1.25rem; }
.be-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; padding: 0; font-weight: 600; font-size: .98rem; }
.be-menu a { color: var(--ink); }
.be-menu a:hover { color: var(--accent-dk); text-decoration: none; border-bottom: 2px solid var(--seal); }
@media (max-width: 640px) { .be-tagline { display: none; } }

/* ---------- Hero ---------- */
.be-hero-band { background: var(--bone); }
.be-hero { padding-block: clamp(3rem, 8vw, 5.5rem) 3rem; max-width: 52rem; }
.be-hero h1 { margin-bottom: .35em; }
.be-hero h1 em { font-style: normal; color: var(--accent); }
.be-hero-sub { font-size: clamp(1.05rem, 2.4vw, 1.28rem); color: var(--ink-soft); max-width: 42rem; line-height: 1.55; }

.be-hero-search {
  display: flex; align-items: center; gap: .4rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: .45rem .45rem .45rem 1.4rem; max-width: 34rem; margin-top: 1.75rem;
  box-shadow: var(--shadow-md);
}
.be-hero-search input {
  flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--ink);
}
.be-hero-search input:focus { outline: none; }
.be-hero-search input::placeholder { color: var(--muted); }

.be-stats { display: flex; flex-wrap: wrap; gap: 2.5rem; margin: 2.5rem 0 0; }
.be-stats dt { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 4vw, 2.3rem); letter-spacing: -0.01em; }
.be-stats dd { margin: .1rem 0 0; font-family: var(--font-data); font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }

/* ---------- Sections ---------- */
.be-doorways, .be-latest-listings, .be-latest-posts, .be-videos { margin-top: 3.5rem; }
.be-section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.be-section-head h2, .be-doorways h2, .be-latest-posts h2, .be-videos h2 { margin-bottom: .2em; }

/* Pills — navigation, with counts. Never a ranking. */
.be-pills { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.be-pills a {
  display: inline-block; font-weight: 600; font-size: .95rem;
  background: var(--paper); color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: 999px; padding: .5rem 1.05rem;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.be-pills a:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); text-decoration: none; }
.be-pills a:hover .be-count { color: var(--bone-2); }
.be-count { color: var(--muted); font-weight: 400; }
.be-pills-soft a { border-color: var(--line); background: var(--bone-2); }
.be-pills-soft a:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- Cards ---------- */
.be-card-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .be-card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .be-card-grid { grid-template-columns: 1fr 1fr 1fr; } }

.be-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.be-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.be-card-media { position: relative; aspect-ratio: 3 / 2; background: var(--bone-2); overflow: hidden; display: block; }
.be-card-media img { width: 100%; height: 100%; object-fit: cover; }
.be-noimg {
  display: flex; height: 100%; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 4rem; color: var(--line);
}
.be-card-seal { position: absolute; top: .75rem; right: .75rem; box-shadow: var(--shadow-sm); }
.be-card-body { padding: 1.05rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.be-card-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; }
.be-tag {
  font-family: var(--font-data); font-size: .64rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  background: var(--bone-2); color: var(--ink-soft); border-radius: 999px; padding: .28rem .6rem;
}
.be-card-title { font-size: 1.22rem; margin: 0; }
.be-card-title a { color: var(--ink); }
.be-card-title a:hover { color: var(--accent-dk); text-decoration: none; }
.be-card-loc { font-size: .92rem; color: var(--muted); margin: 0; }
.be-card-excerpt { font-size: .95rem; margin: 0; color: var(--ink-soft); }
.be-card-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: auto 0 0;
  padding-top: .7rem; border-top: 1px dashed var(--line); font-size: .88rem;
}
.be-card-cost { color: var(--ink-soft); }
.be-card-cost strong { color: var(--ink); }
.be-view { margin-left: auto; font-weight: 700; color: var(--accent-dk); }

/* ---------- Trust band (dark) ---------- */
.be-trust { background: var(--ink); color: var(--bone); margin-top: 4rem; padding-block: 3.5rem 4rem; }
.be-trust .be-kicker { color: var(--seal); }
.be-trust h2 { color: var(--paper); }
.be-trust-grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 760px) { .be-trust-grid { grid-template-columns: 1fr 1fr 1fr; } }
.be-trust-card {
  background: rgba(255, 253, 247, .04); border: 1px solid rgba(255, 253, 247, .12);
  border-radius: var(--radius); padding: 1.5rem 1.5rem 1.6rem;
}
.be-trust-num { font-family: var(--font-data); font-weight: 700; color: var(--seal); font-size: .85rem; }
.be-trust-card h3 { color: var(--paper); margin: .5rem 0 .4rem; }
.be-trust-card p { margin: 0; color: var(--bone-2); font-size: .97rem; line-height: 1.6; }

/* ---------- Journal lines ---------- */
.be-post-line { display: grid; gap: .1rem; padding-block: 1rem; border-top: 1px solid var(--line); }
.be-latest-posts .be-post-line:first-of-type { border-top: 0; padding-top: .25rem; }
.be-post-line time { font-family: var(--font-data); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.be-post-line h2, .be-post-line h3 { margin: 0; font-size: 1.25rem; }
.be-post-line a { color: var(--ink); }
.be-post-line a:hover { color: var(--accent-dk); text-decoration: none; }

/* ---------- Listing page ---------- */
.be-listing-header { padding-top: 2.75rem; max-width: var(--measure); }
.be-eyebrow a { color: var(--seal-dk); }
.be-listing-intro { font-size: 1.13rem; color: var(--ink-soft); max-width: var(--measure); }
.be-doorway-line { font-family: var(--font-data); font-size: .8rem; color: var(--muted); }
.be-doorway-line a { color: var(--accent-dk); }

.be-jumpnav {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bone) 94%, transparent);
  backdrop-filter: blur(6px);
  display: flex; gap: .5rem;
  border-block: 1px solid var(--line);
  padding: .6rem 0; margin-top: 1.75rem;
}
.be-jumpnav a {
  font-family: var(--font-data); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink); border: 1.5px solid transparent; border-radius: 999px; padding: .4rem .95rem;
}
.be-jumpnav a:hover { border-color: var(--ink); text-decoration: none; }

.be-block { padding-block: 2.25rem 1.5rem; border-bottom: 1px solid var(--line); max-width: var(--measure); }
.be-block-head { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-bottom: .5rem; }
.be-block-head h2 { margin: 0; }
.be-verified { margin: 0; display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.be-verified .be-sources { font-family: var(--font-data); font-size: .74rem; }
.be-verified .be-sources a { color: var(--muted); }

.be-group {
  font-family: var(--font-data); font-size: .74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em; color: var(--seal-dk);
  margin: 2.1rem 0 .5rem;
}

/* Data tables: label + value, mono values, fits 375px with room to spare */
.be-data { width: 100%; border-collapse: collapse; font-size: .97rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.be-data th, .be-data td { padding: .6rem .9rem; border-top: 1px solid var(--line); vertical-align: top; text-align: left; }
.be-data tr:first-child th, .be-data tr:first-child td { border-top: 0; }
.be-data th { font-weight: 500; color: var(--ink-soft); padding-right: 1rem; width: 55%; }
.be-data td { font-family: var(--font-data); font-size: .88rem; font-variant-numeric: tabular-nums; }
.be-data tr:nth-child(even) { background: color-mix(in srgb, var(--bone-2) 45%, var(--paper)); }

/* The ledger — what a month actually costs */
.be-ledger { margin-top: 2.25rem; }
.be-ledger-rows {
  margin: .5rem 0 0; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.be-ledger-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 1rem 1.25rem; border-top: 1px dashed var(--line);
}
.be-ledger-row:first-child { border-top: 0; }
.be-ledger-row dt { font-weight: 600; color: var(--ink-soft); }
.be-ledger-row dd {
  margin: 0; font-family: var(--display); font-weight: 800;
  font-size: clamp(1.3rem, 4.2vw, 1.7rem); letter-spacing: -0.01em; text-align: right;
}
.be-ledger-row:nth-child(2) { background: color-mix(in srgb, var(--accent) 7%, var(--paper)); }
.be-ledger-row:nth-child(2) dd { color: var(--accent-dk); }
.be-usd { font-family: var(--font-data); color: var(--muted); font-weight: 400; font-size: .82em; white-space: nowrap; }
.be-ledger-row dd .be-usd { display: block; font-size: .5em; margin-top: .15rem; }

/* Residency routes */
.be-routes { margin: 0; display: grid; gap: .9rem; }
.be-route { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.15rem; }
.be-route dt { font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.be-route-cost { font-family: var(--font-data); font-weight: 400; font-size: .74rem; color: var(--seal-dk); margin-left: .5rem; text-transform: uppercase; letter-spacing: .05em; }
.be-route dd { margin: .35rem 0 0; }
.be-route-notes { color: var(--muted); font-size: .93rem; }

/* Fit */
.be-fit-heading { font-size: 1.25rem; margin-top: 2rem; }
.be-fit-prose { max-width: var(--measure); color: var(--ink-soft); }
.be-accounts { display: grid; gap: 1.1rem; margin-top: .75rem; }
.be-account {
  margin: 0; background: var(--paper); border: 1px solid var(--line);
  border-left: 4px solid var(--seal); border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
}
.be-account-text p { margin: 0 0 .5rem; }
.be-account footer { font-family: var(--font-data); font-size: .78rem; color: var(--muted); }
.be-account cite { font-style: normal; font-weight: 700; color: var(--ink); }

.be-listing-handbook {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; margin-top: 2.5rem; max-width: var(--measure); box-shadow: var(--shadow-sm);
}
.be-listing-handbook h2 { margin: 0 0 .4rem; font-size: 1.2rem; }
.be-listing-handbook p { margin: 0; }

/* ---------- Articles / pages ---------- */
.be-article { max-width: var(--measure); padding-top: 2.75rem; }
.be-article-header time { font-family: var(--font-data); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.be-prose > * + * { margin-top: 1em; }
.be-prose img { margin-block: 1.5em; border-radius: var(--radius); }
.be-archive-header { padding-block: 2.75rem 1.5rem; }
.be-archive-desc { color: var(--ink-soft); max-width: var(--measure); }

/* ---------- Handbook ---------- */
.be-handbook { padding-top: 2.75rem; }
.be-handbook-layout { display: grid; gap: 2rem; }
@media (min-width: 720px) { .be-handbook-layout { grid-template-columns: 1fr 1.6fr; align-items: start; } }
.be-handbook-cover { border: 1px solid var(--line); border-radius: var(--radius); }
.be-handbook-contents { padding-left: 1.2rem; }
.be-button {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--accent); color: var(--paper); font-weight: 700;
  padding: .85rem 1.6rem; border-radius: 999px; text-decoration: none !important;
}
.be-button:hover { background: var(--accent-dk); }
.be-disclosure, .be-published { font-family: var(--font-data); font-size: .74rem; color: var(--muted); }

/* ---------- Newsletter: inline, static, never an overlay ---------- */
.be-newsletter {
  background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--seal);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 2rem 1.75rem; margin-block: 3.5rem 1rem; max-width: var(--measure);
}
.be-newsletter h2 { margin: 0 0 .3rem; font-size: 1.5rem; }
.be-newsletter-sub { margin: 0 0 1.1rem; color: var(--ink-soft); }
.be-newsletter-privacy { margin: .8rem 0 0; font-family: var(--font-data); font-size: .72rem; color: var(--muted); }
.be-newsletter-form input[type="email"], .be-newsletter-form input[type="text"] {
  font: inherit; padding: .65rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--bone); width: 100%; max-width: 24rem;
}
.be-newsletter-form button, .be-newsletter-form input[type="submit"] {
  font-family: var(--font-body); font-weight: 700; background: var(--accent); color: var(--paper);
  border: 0; border-radius: 999px; padding: .7rem 1.4rem; cursor: pointer; margin-top: .5rem;
}
.be-newsletter-form button:hover, .be-newsletter-form input[type="submit"]:hover { background: var(--accent-dk); }

/* ---------- Videos: facade embeds ---------- */
.be-video-grid { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 640px) { .be-video-grid.be-video-count-2, .be-video-grid.be-video-count-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.be-yt { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 0; cursor: pointer; background: var(--ink); aspect-ratio: 16 / 9; overflow: hidden; }
.be-yt img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.be-yt:hover img { opacity: 1; }
.be-yt-play { position: absolute; inset: 0; margin: auto; width: 3.5rem; height: 3.5rem; background: var(--bone); clip-path: polygon(28% 20%, 82% 50%, 28% 80%); }
.be-yt iframe, .be-yt-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.be-videos-more { font-weight: 700; margin-top: 1rem; }

/* ---------- Comments ---------- */
.be-comments { max-width: var(--measure); margin-top: 3rem; }
.be-comments-title { font-size: 1.5rem; }
.be-comment-list { list-style: none; margin: 0; padding: 0; }
.be-comment-list .children { list-style: none; padding-left: 1.25rem; border-left: 2px solid var(--line); }
.be-comment { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin-bottom: .9rem; }
.be-comment-head { display: flex; flex-wrap: wrap; gap: .25rem .75rem; align-items: baseline; font-size: .9rem; }
.be-comment-author { font-family: var(--display); font-weight: 700; font-size: 1.02rem; }
.be-comment-byline { font-family: var(--font-data); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-dk); }
.be-comment-head time { font-family: var(--font-data); font-size: .72rem; color: var(--muted); }
.be-comment-held { font-size: .85rem; color: var(--muted); font-style: italic; }
.be-comment-reply { font-size: .88rem; font-weight: 700; }
.be-comment-prompts { margin-top: 2.5rem; }
.be-comment-prompts h2 { font-size: 1.5rem; }
.be-comment-prompts ul { padding-left: 1.2rem; }
.be-comment-policy { font-size: .88rem; color: var(--muted); }
.comment-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .25rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"],
.comment-form textarea, .be-comment-context input, .be-comment-context select {
  font: inherit; width: 100%; max-width: 28rem; padding: .6rem .9rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper);
}
.comment-form textarea { max-width: 100%; border-radius: var(--radius-sm); }
.be-comment-context { border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin-block: 1rem; background: var(--bone-2); }
.be-comment-context legend { font-family: var(--font-data); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; padding-inline: .4rem; color: var(--muted); }
.form-submit input[type="submit"] {
  font-family: var(--font-body); font-weight: 700; background: var(--accent); color: var(--paper);
  border: 0; border-radius: 999px; padding: .8rem 1.6rem; cursor: pointer;
}
.form-submit input[type="submit"]:hover { background: var(--accent-dk); }

/* ---------- Search ---------- */
.be-search { display: flex; gap: .4rem; max-width: 30rem; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .35rem .35rem 1.1rem; }
.be-search input { flex: 1; min-width: 0; font: inherit; border: 0; background: transparent; }
.be-search input:focus { outline: none; }
.be-search button { font-family: var(--font-body); font-weight: 700; background: var(--ink); color: var(--bone); border: 0; border-radius: 999px; padding: .55rem 1.1rem; cursor: pointer; }

/* ---------- Pagination ---------- */
.pagination, .navigation { margin-block: 2.25rem; }
.page-numbers { font-family: var(--font-data); font-size: .85rem; padding: .5rem .85rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--paper); }
.page-numbers.current { background: var(--ink); color: var(--bone); border-color: var(--ink); }

/* ---------- On-page newsletter: form beside "Inside every issue" ---------- */
.be-newsletter { max-width: none; }
.be-nl-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 760px) { .be-nl-grid { grid-template-columns: 1.3fr 1fr; } }
.be-footer-head, .be-nl-inside > p:first-child {
  font-family: var(--font-data); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; color: var(--seal-dk); margin: 0 0 .9rem;
}
.be-nl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.be-nl-list li { padding-left: 1.4rem; position: relative; line-height: 1.5; color: var(--ink-soft); }
.be-nl-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--seal-dk); font-weight: 700; }
.be-nl-inside {
  background: var(--bone-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 1.4rem 1.5rem 1.5rem;
}

/* ---------- Footer: brand line, two blocks side by side, legal line ---------- */
.be-footer { background: var(--ink); color: var(--bone); padding: 3rem 0 2rem; margin-top: 4rem; }
.be-footer a { color: color-mix(in srgb, var(--bone) 82%, transparent); }
.be-footer a:hover { color: var(--seal); text-decoration: none; }
.be-footer-brandrow { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.5rem; margin-bottom: 2.25rem; }
.be-wordmark-footer { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--paper) !important; }
.be-footer-tag { font-family: var(--display); font-style: italic; color: var(--seal); margin: 0; }
.be-footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 760px) { .be-footer-grid { grid-template-columns: 1.4fr 1fr; } }
.be-footer-grid-single { grid-template-columns: 1fr !important; }
.be-footer h4 {
  font-family: var(--font-data); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--seal); margin: 0 0 .9rem;
}
.be-footer-links ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; font-size: .95rem; }
.be-footer-social { flex-direction: row !important; flex-wrap: wrap; gap: 1rem !important; margin-top: 1.25rem !important; }
.be-footer-news { max-width: 30rem; }
.be-footer-news .be-newsletter-form input[type="email"],
.be-footer-news .be-newsletter-form input[type="text"] {
  font: inherit; width: 100%; max-width: none; padding: .6rem .9rem;
  border: 1px solid rgba(255, 253, 247, .2); border-radius: var(--radius-sm);
  background: var(--bone); color: var(--ink); margin-bottom: .55rem;
}
.be-footer-news .be-newsletter-form label { font-size: .85rem; color: var(--bone-2); }
.be-footer-news .be-newsletter-form button,
.be-footer-news .be-newsletter-form input[type="submit"] {
  font-family: var(--font-body); font-weight: 700; background: var(--accent); color: var(--paper);
  border: 0; border-radius: 999px; padding: .65rem 1.3rem; cursor: pointer;
}
.be-footer-news .be-newsletter-form button:hover,
.be-footer-news .be-newsletter-form input[type="submit"]:hover { background: var(--accent-dk); }
.be-footer-news .be-newsletter-privacy { font-family: var(--font-data); font-size: .68rem; color: color-mix(in srgb, var(--bone) 60%, transparent); margin: .6rem 0 0; }
.be-footer-bottom {
  border-top: 1px solid #2c4133; margin-top: 2.25rem; padding-top: 1.4rem;
  font-family: var(--font-data); font-size: .74rem;
  color: color-mix(in srgb, var(--bone) 60%, transparent);
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
}
.be-legal { display: inline-flex; gap: 1.25rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .be-card:hover { transform: none; }
}
