:root {
  --paper: #f7f3ea;
  --paper-deep: #e9e1d3;
  --ink: #101923;
  --ink-soft: #3f4a53;
  --oxblood: #641c36;
  --oxblood-dark: #451024;
  --duck: #bfd8d0;
  --duck-dark: #51756d;
  --bronze: #a9783e;
  --grey: #626966;
  --line: rgba(16, 25, 35, .2);
  --white-line: rgba(247, 243, 234, .24);
  --page: 86rem;
  --reading: 47rem;
  --s1: clamp(.75rem, 1.2vw, 1rem);
  --s2: clamp(1rem, 1.8vw, 1.5rem);
  --s3: clamp(1.5rem, 3vw, 2.5rem);
  --s4: clamp(2.4rem, 6vw, 5.5rem);
  --s5: clamp(4rem, 10vw, 9rem);
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.6 var(--sans); text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: .08em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { color: var(--paper); background: var(--oxblood); }
:focus-visible { outline: 3px solid #d79b4f; outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.nbh-skip { position: fixed; z-index: 999; left: 1rem; top: 1rem; padding: .75rem 1rem; color: var(--paper); background: var(--ink); transform: translateY(-180%); }
.nbh-skip:focus { transform: translateY(0); }
.nbh-small { color: var(--ink-soft); font-size: .83rem; line-height: 1.55; }
.nbh-kicker { margin-bottom: 1rem; color: var(--oxblood); font-size: .76rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.nbh-display { margin-bottom: 1.3rem; font: 400 clamp(2.5rem, 6vw, 6.6rem)/.92 var(--serif); letter-spacing: -.045em; }
.nbh-display em { color: var(--oxblood); font-weight: 400; }
.nbh-heading { font: 400 clamp(2rem, 4.4vw, 4.8rem)/.98 var(--serif); letter-spacing: -.035em; }
.nbh-lede { max-width: 46rem; color: var(--ink-soft); font-size: clamp(1.05rem, 1.7vw, 1.32rem); line-height: 1.55; }
.nbh-wrap { width: min(var(--page), calc(100% - 2 * clamp(1rem, 4vw, 4rem))); margin-inline: auto; }
.nbh-reading { width: min(var(--reading), calc(100% - 2rem)); margin-inline: auto; }
.nbh-section { padding-block: var(--s5); }
.nbh-section--tight { padding-block: var(--s4); }
.nbh-section--navy { color: var(--paper); background: var(--ink); }
.nbh-section--duck { background: var(--duck); }
.nbh-section--oxblood { color: var(--paper); background: var(--oxblood-dark); }
.nbh-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.7rem; }
.nbh-button, .nbh-button--quiet { min-height: 3rem; display: inline-flex; align-items: center; justify-content: center; padding: .7rem 1rem; border: 1px solid var(--ink); text-decoration: none; font-size: .88rem; font-weight: 700; }
.nbh-button { color: var(--paper); background: var(--ink); }
.nbh-button:hover { background: var(--oxblood); }
.nbh-button--quiet { color: var(--ink); background: transparent; }
.nbh-button--quiet:hover { background: var(--duck); }

/* Header and hall index */
.nbh-header { min-height: 5.3rem; display: grid; grid-template-columns: minmax(17rem, 1fr) auto auto; align-items: center; gap: 1.4rem; padding: .8rem clamp(1rem, 3vw, 3rem); border-bottom: 1px solid var(--line); background: var(--paper); }
.nbh-brand { min-width: 0; display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.nbh-brand img { flex: 0 0 auto; }
.nbh-brand span { min-width: 0; display: grid; }
.nbh-brand b { overflow: hidden; font-size: .83rem; letter-spacing: .11em; text-overflow: ellipsis; white-space: nowrap; }
.nbh-brand small { color: var(--grey); font-size: .67rem; letter-spacing: .08em; }
.nbh-primary { display: flex; align-items: center; gap: 1.1rem; font-size: .8rem; font-weight: 650; }
.nbh-primary a { text-decoration: none; }
.nbh-primary a:hover { color: var(--oxblood); }
.nbh-primary__contact { padding-bottom: .1rem; border-bottom: 1px solid currentColor; }
.nbh-index-button { min-height: 2.9rem; display: inline-flex; align-items: center; gap: .9rem; padding: .65rem .85rem; border: 1px solid var(--ink); color: var(--ink); background: transparent; font-weight: 700; }
.nbh-index-button i { position: relative; width: 1rem; height: 1rem; }
.nbh-index-button i::before, .nbh-index-button i::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: currentColor; transition: transform .2s ease; }
.nbh-index-button i::after { transform: rotate(90deg); }
.nbh-index-button[aria-expanded="true"] { color: var(--paper); background: var(--ink); }
.nbh-index-button[aria-expanded="true"] i::after { transform: rotate(0); }
.nbh-room-index { position: relative; z-index: 30; display: grid; grid-template-columns: minmax(15rem, .55fr) 2fr; gap: 2rem; padding: var(--s3) clamp(1rem, 3vw, 3rem); color: var(--paper); background: var(--ink); border-bottom: 1px solid var(--white-line); }
.nbh-room-index__intro { padding-right: 2rem; border-right: 1px solid var(--white-line); }
.nbh-room-index__intro span { color: var(--duck); font-size: .72rem; letter-spacing: .14em; }
.nbh-room-index__intro p { margin-top: 1rem; color: #c9cfce; }
.nbh-room-index ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--white-line); }
.nbh-room-index li { background: var(--ink); }
.nbh-room-index a { min-height: 8.8rem; display: grid; align-content: space-between; padding: 1rem; text-decoration: none; }
.nbh-room-index a:hover { color: var(--ink); background: var(--duck); }
.nbh-room-index b { color: var(--bronze); font-size: .72rem; }
.nbh-room-index span { font: 400 1.1rem/1.15 var(--serif); }

/* Home hero */
.nbh-hero { position: relative; min-height: min(54rem, calc(100svh - 5.3rem)); overflow: hidden; color: var(--paper); background: var(--ink); isolation: isolate; }
.nbh-hero figure { position: absolute; inset: 0; margin: 0; }
.nbh-hero figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,25,35,.9) 0%, rgba(16,25,35,.58) 32%, rgba(16,25,35,.05) 62%); }
.nbh-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.nbh-hero__label { position: relative; z-index: 2; width: min(45rem, calc(100% - 2rem)); margin-left: clamp(1rem, 6vw, 7rem); padding-top: clamp(5rem, 12vh, 9rem); }
.nbh-hero__label .nbh-kicker { color: var(--duck); }
.nbh-hero h1 { margin-bottom: 1.4rem; font: 400 clamp(3.4rem, 8vw, 8.4rem)/.84 var(--serif); letter-spacing: -.06em; }
.nbh-hero h1 span { display: block; margin-left: clamp(1rem, 6vw, 5rem); color: var(--duck); font-style: italic; }
.nbh-hero__label > p:not(.nbh-kicker):not(.nbh-hero__note) { max-width: 38rem; font-size: clamp(1.05rem, 1.8vw, 1.35rem); }
.nbh-hero .nbh-button { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.nbh-hero .nbh-button:hover { color: var(--paper); background: var(--oxblood); border-color: var(--oxblood); }
.nbh-hero .nbh-button--quiet { color: var(--paper); border-color: rgba(247,243,234,.6); }
.nbh-hero__note { max-width: 38rem; margin-top: 1.6rem; color: #cbd0cf; font-size: .78rem; }
.nbh-hall-strip { display: grid; grid-template-columns: repeat(7, minmax(9rem, 1fr)); margin: 0; padding: 0; overflow-x: auto; list-style: none; color: var(--paper); background: var(--ink); border-top: 1px solid var(--white-line); }
.nbh-hall-strip li + li { border-left: 1px solid var(--white-line); }
.nbh-hall-strip a { min-height: 8rem; display: grid; grid-template-rows: auto 1fr; gap: 1.2rem; padding: 1rem; text-decoration: none; }
.nbh-hall-strip a:hover { color: var(--ink); background: var(--duck); }
.nbh-hall-strip b { color: var(--bronze); font-size: .7rem; letter-spacing: .1em; }
.nbh-hall-strip span { align-self: end; font: 400 1rem/1.1 var(--serif); }

/* Editorial and gallery sections */
.nbh-intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 8vw, 8rem); align-items: start; }
.nbh-curator-note { padding: 1.4rem 0; border-block: 1px solid var(--line); }
.nbh-curator-note span { color: var(--oxblood); font-size: .72rem; letter-spacing: .14em; }
.nbh-curator-note strong { display: block; margin-top: .7rem; font: 400 clamp(1.5rem, 2.8vw, 2.6rem)/1.15 var(--serif); }
.nbh-paired-exhibit { display: grid; grid-template-columns: 1fr 1fr; }
.nbh-paired-exhibit figure { min-height: 36rem; margin: 0; background: var(--ink); }
.nbh-paired-exhibit img { width: 100%; height: 100%; object-fit: cover; }
.nbh-paired-exhibit article { display: grid; align-content: center; padding: var(--s4); background: var(--duck); }
.nbh-paired-exhibit article p { max-width: 38rem; }
.nbh-exhibit-list { border-top: 1px solid var(--line); }
.nbh-exhibit-row { display: grid; grid-template-columns: 5rem minmax(12rem, .8fr) 1.2fr auto; gap: 1.2rem; align-items: center; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.nbh-exhibit-row > b { color: var(--bronze); font-size: .73rem; letter-spacing: .12em; }
.nbh-exhibit-row h3 { margin: 0; font: 400 clamp(1.25rem, 2vw, 1.8rem)/1.1 var(--serif); }
.nbh-exhibit-row p { margin: 0; color: var(--ink-soft); }
.nbh-exhibit-row a { min-height: 2.7rem; display: inline-flex; align-items: center; padding-inline: .8rem; border: 1px solid var(--ink); text-decoration: none; font-size: .78rem; font-weight: 700; }
.nbh-exhibit-row a:hover { color: var(--paper); background: var(--oxblood); border-color: var(--oxblood); }
.nbh-boundary { display: grid; grid-template-columns: minmax(15rem, .6fr) 1.4fr; gap: var(--s4); padding: var(--s4); color: var(--paper); background: var(--oxblood-dark); }
.nbh-boundary h2 { font: 400 clamp(2.5rem, 5vw, 5rem)/.92 var(--serif); }
.nbh-boundary h2 em { display: block; color: var(--duck); font-weight: 400; }
.nbh-boundary a { color: var(--duck); }
.nbh-image-band { position: relative; min-height: 34rem; overflow: hidden; color: var(--paper); background: var(--ink); }
.nbh-image-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nbh-image-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,25,35,.84), rgba(16,25,35,.06)); }
.nbh-image-band__copy { position: relative; z-index: 1; max-width: 38rem; padding: var(--s5) clamp(1rem, 6vw, 7rem); }
.nbh-image-band__copy .nbh-kicker { color: var(--duck); }

/* Page heads and prose */
.nbh-page-head { padding: var(--s5) clamp(1rem, 5vw, 5rem) var(--s4); border-bottom: 1px solid var(--line); background: linear-gradient(120deg, var(--paper) 0 72%, var(--duck) 72%); }
.nbh-page-head__inner { width: min(var(--page), 100%); margin-inline: auto; }
.nbh-page-head h1 { max-width: 62rem; margin-bottom: 1.3rem; font: 400 clamp(3rem, 7vw, 7.4rem)/.88 var(--serif); letter-spacing: -.05em; }
.nbh-page-head p { max-width: 46rem; font-size: clamp(1.05rem, 1.7vw, 1.28rem); }
.nbh-page-head__meta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.nbh-page-head__meta span { padding: .45rem .65rem; border: 1px solid var(--ink); font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; }
.nbh-prose { padding-block: var(--s4); }
.nbh-prose h2 { margin-top: 2.8rem; font: 400 clamp(1.8rem, 3vw, 3rem)/1.05 var(--serif); }
.nbh-prose h3 { margin-top: 2rem; font-size: 1.05rem; }
.nbh-prose blockquote { margin: 2rem 0; padding: 1.3rem 1.6rem; border-left: .35rem solid var(--oxblood); background: var(--duck); font: 400 1.3rem/1.45 var(--serif); }
.nbh-prose table { width: 100%; border-collapse: collapse; }
.nbh-prose th, .nbh-prose td { padding: .8rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.nbh-prose th { background: var(--paper-deep); }
.nbh-note { margin: 1.5rem 0; padding: 1.2rem; border: 1px solid var(--line); border-left: .4rem solid var(--oxblood); background: #fffaf1; }
.nbh-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 2rem 0; border: 1px solid var(--line); background: var(--line); }
.nbh-facts > * { padding: 1rem; background: var(--paper); }
.nbh-facts span { display: block; color: var(--grey); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.nbh-facts strong { display: block; margin-top: .5rem; }
.nbh-lesson-group { display: grid; grid-template-columns: .55fr 1.45fr; gap: 2rem; padding: 2.5rem 0; border-top: 1px solid var(--line); }
.nbh-lesson-group__title b { color: var(--bronze); font-size: .72rem; letter-spacing: .1em; }
.nbh-lesson-group__title h2 { margin-top: .6rem; font: 400 2rem/1.05 var(--serif); }
.nbh-lessons { counter-reset: lesson; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.nbh-lessons article { counter-increment: lesson; position: relative; padding: 1.2rem 1.2rem 1.2rem 4rem; background: var(--paper); }
.nbh-lessons article::before { content: counter(lesson, decimal-leading-zero); position: absolute; left: 1rem; top: 1.2rem; color: var(--oxblood); font-size: .75rem; font-weight: 800; }
.nbh-lessons h3 { margin-bottom: .35rem; font: 400 1.25rem/1.2 var(--serif); }
.nbh-lessons p { margin-bottom: 0; color: var(--ink-soft); }
.nbh-library-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.nbh-library-grid article { min-height: 15rem; display: grid; align-content: space-between; padding: 1.4rem; background: var(--paper); }
.nbh-library-grid article:first-child { grid-column: 1 / -1; min-height: 20rem; background: var(--duck); }
.nbh-library-grid h2, .nbh-library-grid h3 { font: 400 clamp(1.4rem, 2.5vw, 2.5rem)/1.08 var(--serif); }

/* Interactive rooms */
.nbh-room { background: #f1ece2; }
.nbh-room-stage { width: min(76rem, calc(100% - 2rem)); margin: var(--s4) auto; border: 1px solid var(--ink); background: var(--paper); box-shadow: 1rem 1rem 0 rgba(81,117,109,.25); }
.nbh-room-stage__head { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: start; padding: 1.2rem; border-bottom: 1px solid var(--line); }
.nbh-room-stage__head span { color: var(--oxblood); font-size: .72rem; letter-spacing: .12em; }
.nbh-room-stage__head button, .nbh-reset { min-height: 2.75rem; padding: .55rem .8rem; border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.nbh-room-stage__body { padding: clamp(1rem, 4vw, 3rem); }
.nbh-room-output { margin-top: 1.5rem; padding: 1rem; border-left: .35rem solid var(--oxblood); background: var(--duck); }
.nbh-room-output strong { display: block; margin-bottom: .35rem; }
.nbh-claim-wall { padding: clamp(1.5rem, 5vw, 5rem); color: var(--paper); background: var(--ink); }
.nbh-claim-wall__claim { margin-bottom: 2.5rem; font: 400 clamp(2.4rem, 7vw, 7rem)/.87 var(--serif); letter-spacing: -.05em; }
.nbh-claim-wall__claim .loud { color: var(--duck); font-size: 1.24em; }
.nbh-claim-wall__claim .quiet { color: #8f9799; font: 500 .17em/1.3 var(--sans); letter-spacing: .04em; }
.nbh-claim-wall[data-reordered="true"] .nbh-claim-wall__claim { display: grid; gap: .55rem; font: 500 1rem/1.4 var(--sans); letter-spacing: 0; }
.nbh-claim-wall[data-reordered="true"] .nbh-claim-wall__claim > * { color: var(--paper); font-size: 1em; }
.nbh-claim-wall[data-reordered="true"] .nbh-claim-wall__claim .quiet { order: -1; color: var(--duck); }
.nbh-choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.nbh-choice-grid button { min-height: 4rem; padding: .7rem; border: 1px solid var(--paper); color: var(--paper); background: transparent; text-align: left; }
.nbh-choice-grid button:hover, .nbh-choice-grid button[aria-pressed="true"] { color: var(--ink); background: var(--duck); }
.nbh-label-builder { display: grid; grid-template-columns: minmax(15rem, .8fr) 1.2fr; gap: 2rem; }
.nbh-field-list { display: grid; gap: .6rem; }
.nbh-field-list button { min-height: 3.3rem; display: grid; grid-template-columns: 2rem 1fr; align-items: center; gap: .5rem; padding: .6rem; border: 1px solid var(--line); color: var(--ink); background: transparent; text-align: left; }
.nbh-field-list button::before { content: "+"; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border: 1px solid var(--ink); }
.nbh-field-list button[aria-pressed="true"] { background: var(--duck); border-color: var(--ink); }
.nbh-field-list button[aria-pressed="true"]::before { content: "✓"; }
.nbh-object-label { padding: 1.3rem; border: 2px solid var(--ink); background: #fffaf1; }
.nbh-object-label h2 { font: 400 2rem/1.1 var(--serif); }
.nbh-label-line { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.nbh-label-line span { color: var(--grey); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; }
.nbh-distance { display: grid; gap: 1.5rem; }
.nbh-distance input[type="range"] { width: 100%; accent-color: var(--oxblood); }
.nbh-distance__labels { display: flex; justify-content: space-between; gap: .5rem; color: var(--grey); font-size: .73rem; }
.nbh-distance__work { min-height: 22rem; display: grid; place-items: center; padding: 2rem; color: var(--paper); background: var(--ink); }
.nbh-distance__work article { width: min(42rem, 100%); }
.nbh-distance__work h2 { font: 400 clamp(2.2rem, 5vw, 5rem)/.92 var(--serif); }
.nbh-context-line { max-height: 0; margin: 0; overflow: hidden; opacity: 0; transition: max-height .25s ease, opacity .25s ease; }
.nbh-context-line[data-visible="true"] { max-height: 8rem; margin-top: .7rem; opacity: 1; }
.nbh-vitrine { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.nbh-vitrine button { min-height: 12rem; display: grid; align-content: space-between; padding: 1.1rem; border: 0; color: var(--ink); background: var(--paper); text-align: left; }
.nbh-vitrine button:nth-child(2) { background: #e8ddd4; }
.nbh-vitrine button:nth-child(3) { color: var(--paper); background: var(--ink); }
.nbh-vitrine button:hover, .nbh-vitrine button[aria-pressed="true"] { box-shadow: inset 0 0 0 4px var(--oxblood); }
.nbh-vitrine b { color: var(--bronze); font-size: .7rem; letter-spacing: .1em; }
.nbh-check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.nbh-check-grid label { min-height: 5rem; display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .7rem; padding: 1rem; border: 1px solid var(--line); background: #fffaf1; cursor: pointer; }
.nbh-check-grid input { width: 1.25rem; height: 1.25rem; accent-color: var(--oxblood); }
.nbh-periods { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.nbh-periods button { min-height: 4rem; padding: .7rem; border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.nbh-periods button[aria-pressed="true"] { color: var(--paper); background: var(--oxblood); }
.nbh-curator-controls { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.nbh-curator-controls label { display: grid; gap: .4rem; font-weight: 700; }
.nbh-curator-controls select { min-height: 3rem; padding: .55rem; border: 1px solid var(--ink); color: var(--ink); background: #fffaf1; }
.nbh-curator-card { margin-top: 1.5rem; padding: 1.4rem; border: 2px solid var(--ink); background: #fffaf1; }
.nbh-curator-card p { white-space: pre-line; }
.nbh-copy-status { min-height: 1.5em; color: var(--oxblood); font-size: .82rem; }

/* Lead, legal and footer */
.nbh-request { display: grid; grid-template-columns: .35fr .8fr 1fr; gap: clamp(1rem, 4vw, 4rem); padding: var(--s4) clamp(1rem, 5vw, 5rem); color: var(--paper); background: var(--ink); border-top: 1px solid var(--white-line); }
.nbh-request__label { display: grid; align-content: start; gap: .4rem; }
.nbh-request__label span { color: var(--bronze); font-size: .7rem; letter-spacing: .13em; }
.nbh-request__label b { font: 400 1.3rem/1.2 var(--serif); }
.nbh-request__copy h2 { font: 400 clamp(2rem, 3.5vw, 3.8rem)/1 var(--serif); }
.nbh-request .nbh-small { color: #bfc5c4; }
.nbh-lead { padding: 1.2rem; border: 1px solid var(--white-line); background: rgba(255,255,255,.04); }
.nbh-lead label { display: block; margin-bottom: .55rem; font-weight: 750; }
.nbh-lead__row { display: grid; grid-template-columns: 1fr auto; }
.nbh-lead input[type="email"] { min-width: 0; min-height: 3.2rem; padding: .7rem; border: 1px solid var(--paper); color: var(--ink); background: var(--paper); }
.nbh-lead button { min-height: 3.2rem; padding: .7rem 1rem; border: 1px solid var(--duck); color: var(--ink); background: var(--duck); font-weight: 750; }
.nbh-lead button:disabled, .nbh-lead input:disabled { opacity: .65; cursor: not-allowed; }
.nbh-form-state { margin: .8rem 0 0; color: #d6dcda; font-size: .83rem; }
.nbh-form-state[data-kind="success"] { color: #b9eadb; }
.nbh-form-state[data-kind="error"] { color: #ffb9c8; }
.nbh-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.nbh-footer { color: var(--paper); background: var(--ink); border-top: 1px solid var(--white-line); }
.nbh-footer__statement { display: grid; grid-template-columns: .5fr 1.5fr; gap: 2rem; padding: var(--s3) clamp(1rem, 4vw, 4rem); border-bottom: 1px solid var(--white-line); }
.nbh-footer__statement p { color: var(--bronze); font-size: .7rem; letter-spacing: .13em; }
.nbh-footer__statement strong { max-width: 55rem; font: 400 clamp(1.8rem, 3.5vw, 3.8rem)/1 var(--serif); }
.nbh-footer__operator { display: grid; grid-template-columns: .7fr 1fr 1fr auto; gap: 1.3rem; align-items: start; padding: var(--s3) clamp(1rem, 4vw, 4rem); border-bottom: 1px solid var(--white-line); }
.nbh-footer__operator h2 { font-size: .82rem; letter-spacing: .1em; }
.nbh-footer__operator p { color: #bdc4c3; font-size: .82rem; }
.nbh-footer__operator a { color: var(--duck); font-size: .78rem; }
.nbh-footer__nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--white-line); border-bottom: 1px solid var(--white-line); }
.nbh-footer__nav a { min-height: 3.6rem; display: flex; align-items: center; padding: .8rem; background: var(--ink); text-decoration: none; font-size: .76rem; }
.nbh-footer__nav a:hover { color: var(--ink); background: var(--duck); }
.nbh-footer__end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1rem clamp(1rem, 4vw, 4rem); color: #aeb5b4; font-size: .7rem; }
.nbh-footer__end button { padding: 0; border: 0; color: var(--duck); background: transparent; text-decoration: underline; }
.nbh-storage { position: fixed; z-index: 80; right: 1rem; bottom: 1rem; left: 1rem; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; max-width: 72rem; margin-inline: auto; padding: 1rem; color: var(--paper); background: var(--oxblood-dark); border: 1px solid rgba(247,243,234,.55); box-shadow: 0 1rem 4rem rgba(16,25,35,.35); }
.nbh-storage p { margin-bottom: 0; color: #e3d9dc; font-size: .83rem; }
.nbh-storage__actions { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }
.nbh-storage button, .nbh-storage a { min-height: 2.75rem; display: inline-flex; align-items: center; padding: .55rem .7rem; border: 1px solid var(--paper); color: var(--paper); background: transparent; text-decoration: none; font-size: .76rem; }
.nbh-storage button:first-child { color: var(--ink); background: var(--paper); }
.nbh-error { min-height: 64vh; display: grid; place-items: center; padding: 2rem; text-align: center; }
.nbh-error strong { display: block; color: var(--duck-dark); font: 400 clamp(6rem, 20vw, 16rem)/.8 var(--serif); }

/* Shared secondary-page language */
.nbh-shell { width: min(var(--page), calc(100% - 2 * clamp(1rem, 4vw, 4rem))); margin-inline: auto; }
.nbh-subhero { position: relative; overflow: hidden; padding-block: var(--s5) var(--s4); border-bottom: 1px solid var(--line); background: var(--paper); }
.nbh-subhero::after { content: ""; position: absolute; right: -4rem; bottom: -8rem; width: clamp(15rem, 28vw, 30rem); height: clamp(15rem, 28vw, 30rem); border: clamp(2rem, 5vw, 5rem) solid var(--duck); border-radius: 50%; opacity: .65; pointer-events: none; }
.nbh-subhero--program::after, .nbh-subhero--ads::after { border-radius: 0; border-color: var(--oxblood); transform: rotate(18deg); opacity: .16; }
.nbh-subhero--library::after, .nbh-subhero--editorial::after { border-radius: 50% 0 50% 0; border-color: var(--bronze); opacity: .22; }
.nbh-subhero--method::after { border-radius: 50%; border-color: var(--oxblood); opacity: .2; transform: translate(12%, 18%); }
.nbh-subhero--about::after, .nbh-subhero--contact::after { border-radius: 0; border-color: var(--duck); transform: rotate(45deg); opacity: .35; }
.nbh-subhero--risk { color: var(--paper); background: var(--oxblood-dark); }
.nbh-subhero--risk::after { border-color: var(--duck); opacity: .16; }
.nbh-subhero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2rem, 8vw, 8rem); align-items: end; }
.nbh-subhero h1 { max-width: 65rem; margin-bottom: 0; font: 400 clamp(3.2rem, 7.5vw, 8rem)/.86 var(--serif); letter-spacing: -.055em; }
.nbh-intro { margin-bottom: 0; font-size: clamp(1.05rem, 1.75vw, 1.35rem); line-height: 1.5; }
.nbh-section-head { display: grid; grid-template-columns: .45fr 1.1fr .7fr; gap: 2rem; align-items: start; margin-bottom: var(--s3); }
.nbh-section-head h2 { margin-bottom: 0; font: 400 clamp(2rem, 4vw, 4.4rem)/.98 var(--serif); }
.nbh-section-head > p:last-child { color: var(--ink-soft); }
.nbh-section--ink { color: var(--paper); background: var(--ink); }
.nbh-section--ink .nbh-kicker { color: var(--duck); }
.nbh-section--paper { background: #fffaf1; border-block: 1px solid var(--line); }
.nbh-reading-pair { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 8vw, 8rem); align-items: start; }
.nbh-reading-pair h2 { font: 400 clamp(2rem, 4vw, 4.4rem)/.98 var(--serif); }
.nbh-text-link { display: inline-flex; align-items: center; gap: .45rem; margin-top: .8rem; color: var(--oxblood); font-weight: 750; }
.nbh-link-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.nbh-button--light { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.nbh-button--light:hover { color: var(--paper); background: var(--oxblood); border-color: var(--oxblood); }
.nbh-button--ghost, .nbh-button--ghost-light { background: transparent; }
.nbh-button--ghost-light { color: var(--paper); border-color: rgba(247,243,234,.6); }

.nbh-course-rooms { border-top: 1px solid var(--line); }
.nbh-course-rooms .nbh-room { display: grid; grid-template-columns: minmax(6rem, .25fr) 1.75fr; gap: clamp(1rem, 4vw, 4rem); padding: var(--s3) 0; background: transparent; border-bottom: 1px solid var(--line); }
.nbh-room__number { color: var(--oxblood); font: 400 clamp(4rem, 9vw, 9rem)/.8 var(--serif); }
.nbh-course-rooms h3 { max-width: 48rem; font: 400 clamp(1.8rem, 3.2vw, 3rem)/1.05 var(--serif); }
.nbh-lesson-list { margin: 1.5rem 0 0; padding-left: 3.2rem; list-style: decimal-leading-zero; }
.nbh-lesson-list li { padding: 1rem 0 .95rem .2rem; border-top: 1px solid var(--line); }
.nbh-lesson-list li::marker { color: var(--bronze); font-size: .72rem; font-weight: 800; }

.nbh-library-stack { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.nbh-resource { min-height: 27rem; display: grid; align-content: start; padding: clamp(1.3rem, 3vw, 2.5rem); background: var(--paper); }
.nbh-resource:nth-child(1) { grid-column: 1 / -1; min-height: 24rem; background: var(--duck); }
.nbh-resource h2 { max-width: 42rem; font: 400 clamp(1.8rem, 3vw, 3.3rem)/1.02 var(--serif); }
.nbh-resource ul { padding-left: 1.2rem; }
.nbh-resource .nbh-text-link { margin-top: auto; justify-self: start; }

.nbh-method-line { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.nbh-method-line article { min-height: 20rem; display: grid; align-content: start; padding: 1.3rem; background: var(--paper); }
.nbh-method-line span { color: var(--bronze); font-size: .72rem; letter-spacing: .1em; }
.nbh-method-line h2 { margin-top: auto; font: 400 2rem/1 var(--serif); }
.nbh-definition-stack { margin: 0; border-top: 1px solid var(--line); }
.nbh-definition-stack > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.nbh-definition-stack dt { color: var(--oxblood); font-weight: 800; }
.nbh-definition-stack dd { margin: 0; }
.nbh-before-after { display: grid; gap: .8rem; }
.nbh-before-after blockquote { margin: 0; padding: 1.2rem; border: 1px solid var(--line); font: 400 1.25rem/1.5 var(--serif); }
.nbh-before-after blockquote:last-of-type { background: var(--duck); }
.nbh-before-after span { display: block; margin-bottom: .7rem; color: var(--oxblood); font: 800 .68rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }

.nbh-boundaries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.nbh-boundaries p { min-height: 9rem; margin: 0; padding: 1.2rem; background: var(--paper); }
.nbh-boundaries p::before { content: "×"; display: block; margin-bottom: 1rem; color: var(--oxblood); font-size: 1.3rem; }
.nbh-company-record { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.nbh-company-record dl { margin: 0; border-top: 1px solid var(--line); }
.nbh-company-record dl > div { display: grid; grid-template-columns: minmax(9rem, .65fr) 1.35fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.nbh-company-record dt { color: var(--grey); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; }
.nbh-company-record dd { margin: 0; font-weight: 700; }
.nbh-company-record__note { padding: 1.3rem; color: var(--paper); background: var(--ink); }
.nbh-company-record__note h2 { font: 400 2rem/1.05 var(--serif); }
.nbh-company-record__note .nbh-button { color: var(--ink); background: var(--duck); border-color: var(--duck); }

.nbh-legal { display: grid; grid-template-columns: minmax(11rem, .35fr) 1.65fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.nbh-legal__index { position: sticky; top: 1rem; border-top: 1px solid var(--ink); }
.nbh-legal__index a { display: block; padding: .75rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: .82rem; }
.nbh-legal__body { max-width: 52rem; }
.nbh-legal__body section { padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.nbh-legal__body h2 { margin-top: 2.2rem; font: 400 clamp(1.7rem, 3vw, 2.7rem)/1.05 var(--serif); }
.nbh-faq-list { max-width: 64rem; }
.nbh-faq-list details { border-top: 1px solid var(--line); }
.nbh-faq-list details:last-child { border-bottom: 1px solid var(--line); }
.nbh-faq-list summary { padding: 1.2rem 3rem 1.2rem 0; cursor: pointer; font: 400 clamp(1.2rem, 2vw, 1.65rem)/1.2 var(--serif); }
.nbh-faq-list details > div { max-width: var(--reading); padding-bottom: 1.1rem; color: var(--ink-soft); }
.nbh-faq-list summary::marker { color: var(--oxblood); }
.nbh-check-list, .nbh-cross-list { margin: 0; padding: 0; list-style: none; }
.nbh-check-list li, .nbh-cross-list li { position: relative; padding: .9rem 0 .9rem 2.2rem; border-top: 1px solid var(--line); }
.nbh-check-list li::before, .nbh-cross-list li::before { position: absolute; left: 0; color: var(--duck-dark); font-weight: 900; }
.nbh-check-list li::before { content: "✓"; }
.nbh-cross-list li::before { content: "×"; color: var(--oxblood); }
.nbh-glossary dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0; border: 1px solid var(--line); background: var(--line); }
.nbh-glossary dl > div { min-height: 10rem; padding: 1.2rem; background: var(--paper); }
.nbh-glossary dt { margin-bottom: .6rem; color: var(--oxblood); font: 400 1.35rem/1.15 var(--serif); }
.nbh-glossary dd { margin: 0; color: var(--ink-soft); }

.nbh-risk-grid, .nbh-editorial-rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.nbh-risk-grid article, .nbh-editorial-rules article { min-height: 17rem; padding: 1.3rem; background: var(--paper); }
.nbh-risk-grid article:nth-child(3n), .nbh-editorial-rules article:nth-child(3n) { background: var(--duck); }
.nbh-risk-grid span { color: var(--bronze); font-size: .72rem; }
.nbh-risk-grid h2, .nbh-editorial-rules h2 { font: 400 clamp(1.5rem, 2.5vw, 2.4rem)/1.05 var(--serif); }
.nbh-ad-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.nbh-ad-rules > article { padding: clamp(1.3rem, 3vw, 2.5rem); background: var(--paper); }
.nbh-ad-rules > article:first-child { background: var(--duck); }
.nbh-ad-rules h2 { font: 400 clamp(1.8rem, 3vw, 3rem)/1.05 var(--serif); }
.nbh-transparency-table { border: 1px solid var(--line); }
.nbh-transparency-table > div { display: grid; grid-template-columns: 1fr 1fr; }
.nbh-transparency-table > div + div { border-top: 1px solid var(--line); }
.nbh-transparency-table p, .nbh-transparency-table span { margin: 0; padding: 1rem; }
.nbh-transparency-table p + p, .nbh-transparency-table span + span { border-left: 1px solid var(--line); }
.nbh-transparency-table__head { color: var(--paper); background: var(--ink); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.nbh-site-map { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.nbh-site-map section { padding: 1.3rem; background: var(--paper); }
.nbh-site-map section:first-child { background: var(--duck); }
.nbh-site-map h2 { font: 400 2rem/1.05 var(--serif); }
.nbh-site-map ul { margin: 0; padding-left: 1.1rem; }
.nbh-status-page { min-height: 67vh; display: grid; place-items: center; padding: var(--s4) 0; background: var(--duck); }
.nbh-status-page--missing { background: var(--paper-deep); }
.nbh-status-page__card { max-width: 58rem; padding: clamp(1.5rem, 5vw, 5rem); border: 1px solid var(--ink); background: var(--paper); box-shadow: 1rem 1rem 0 rgba(100,28,54,.18); }
.nbh-status-page__card h1 { font: 400 clamp(2.5rem, 5vw, 5.3rem)/.92 var(--serif); }

@media (max-width: 980px) {
  .nbh-header { grid-template-columns: 1fr auto; }
  .nbh-primary { grid-column: 1 / -1; order: 3; overflow-x: auto; padding-top: .65rem; border-top: 1px solid var(--line); }
  .nbh-room-index { grid-template-columns: 1fr; }
  .nbh-room-index__intro { padding-right: 0; border-right: 0; }
  .nbh-room-index ol { grid-template-columns: repeat(2, 1fr); }
  .nbh-request { grid-template-columns: 1fr 1fr; }
  .nbh-request__label { grid-column: 1 / -1; }
  .nbh-footer__operator { grid-template-columns: 1fr 1fr; }
  .nbh-footer__nav { grid-template-columns: repeat(3, 1fr); }
  .nbh-section-head { grid-template-columns: 1fr 1.3fr; }
  .nbh-section-head > p:last-child { grid-column: 2; }
  .nbh-method-line { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nbh-brand small { display: none; }
  .nbh-index-button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .nbh-index-button { width: 3rem; justify-content: center; }
  .nbh-room-index ol { grid-template-columns: 1fr; }
  .nbh-room-index a { min-height: 4.6rem; grid-template-columns: 2.5rem 1fr; align-items: center; }
  .nbh-hero { min-height: 48rem; }
  .nbh-hero figure::after { background: linear-gradient(180deg, rgba(16,25,35,.3) 0%, rgba(16,25,35,.92) 66%); }
  .nbh-hero img { object-position: 64% center; }
  .nbh-hero__label { position: absolute; bottom: 0; margin: 0; padding: 2rem 1rem; }
  .nbh-hero h1 { font-size: clamp(3.3rem, 18vw, 5rem); }
  .nbh-hero h1 span { margin-left: 0; }
  .nbh-intro-grid, .nbh-paired-exhibit, .nbh-boundary, .nbh-lesson-group, .nbh-label-builder { grid-template-columns: 1fr; }
  .nbh-paired-exhibit figure { min-height: 24rem; }
  .nbh-exhibit-row { grid-template-columns: 3rem 1fr; }
  .nbh-exhibit-row p { grid-column: 2; }
  .nbh-exhibit-row a { grid-column: 2; justify-self: start; }
  .nbh-page-head { background: linear-gradient(180deg, var(--paper) 0 82%, var(--duck) 82%); }
  .nbh-facts, .nbh-library-grid, .nbh-vitrine, .nbh-check-grid, .nbh-periods, .nbh-curator-controls { grid-template-columns: 1fr; }
  .nbh-library-grid article:first-child { grid-column: auto; }
  .nbh-choice-grid { grid-template-columns: repeat(2, 1fr); }
  .nbh-request { grid-template-columns: 1fr; }
  .nbh-request__label { grid-column: auto; }
  .nbh-lead__row { grid-template-columns: 1fr; gap: .5rem; }
  .nbh-footer__statement, .nbh-footer__operator { grid-template-columns: 1fr; }
  .nbh-footer__nav { grid-template-columns: repeat(2, 1fr); }
  .nbh-storage { grid-template-columns: 1fr; }
  .nbh-subhero__grid, .nbh-section-head, .nbh-reading-pair, .nbh-company-record, .nbh-legal { grid-template-columns: 1fr; }
  .nbh-section-head > p:last-child { grid-column: auto; }
  .nbh-legal__index { position: static; }
  .nbh-course-rooms .nbh-room { grid-template-columns: 4rem 1fr; }
  .nbh-library-stack, .nbh-boundaries, .nbh-glossary dl, .nbh-risk-grid, .nbh-editorial-rules, .nbh-ad-rules, .nbh-site-map { grid-template-columns: 1fr; }
  .nbh-resource:nth-child(1) { grid-column: auto; }
  .nbh-transparency-table > div { grid-template-columns: 1fr; }
  .nbh-transparency-table p + p, .nbh-transparency-table span + span { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 390px) {
  .nbh-header { gap: .7rem; }
  .nbh-brand b { max-width: 12rem; font-size: .72rem; }
  .nbh-primary { gap: .85rem; }
  .nbh-choice-grid { grid-template-columns: 1fr; }
  .nbh-label-line { grid-template-columns: 1fr; gap: .2rem; }
  .nbh-footer__nav { grid-template-columns: 1fr; }
  .nbh-method-line { grid-template-columns: 1fr; }
  .nbh-course-rooms .nbh-room { grid-template-columns: 1fr; }
  .nbh-room__number { font-size: 4rem; }
  .nbh-company-record dl > div { grid-template-columns: 1fr; gap: .25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .nbh-header, .nbh-room-index, .nbh-footer, .nbh-storage, .nbh-actions, .nbh-request, .nbh-reset { display: none !important; }
  body { color: #000; background: #fff; }
  .nbh-room-stage { width: 100%; box-shadow: none; }
  a { color: #000; }
}
