/*
Theme Name: Bible Historiale
Theme URI: https://www.biblehistoriale.fr/
Author: Projet Bible Historiale
Description: Prototype éditorial contemporain pour Bible Historiale.
Version: 0.2.1
Requires at least: 5.9
Requires PHP: 7.4
Text Domain: bible-historiale
*/

@font-face {
  font-family: "Source Serif 4";
  src: url("assets/fonts/source-serif-4-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bh-blue-950: #0c2338;
  --bh-blue-900: #123653;
  --bh-blue-700: #235d7c;
  --bh-ivory: #fbf8f1;
  --bh-paper: #f3eee4;
  --bh-ink: #202b33;
  --bh-muted: #62707a;
  --bh-red: #a64336;
  --bh-red-dark: #7d2e27;
  --bh-line: #d9d3c8;
  --bh-white: #fffefa;
  --bh-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --bh-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bh-shadow: 0 20px 55px rgb(12 35 56 / 12%);
  --bh-radius: 0.35rem;
  --bh-wide: min(100% - 2rem, 78rem);
  --bh-reading: 72ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bh-ivory);
  color: var(--bh-ink);
  font-family: var(--bh-sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--bh-blue-700); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--bh-red-dark); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #e0a53a; outline-offset: 4px; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus { width: auto; height: auto; clip: auto; padding: .75rem 1rem; margin: .5rem; background: white; z-index: 10000; }
.bh-wrap { width: var(--bh-wide); margin-inline: auto; }
.bh-kicker { margin: 0 0 .75rem; color: var(--bh-red); font-size: .76rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.bh-display, h1, h2, h3 { font-family: var(--bh-serif); font-weight: 560; line-height: 1.08; text-wrap: balance; }
.bh-display { margin: 0; font-size: clamp(3rem, 8vw, 6.8rem); letter-spacing: -.045em; }
.bh-section-title { margin: 0; font-size: clamp(2rem, 4vw, 3.65rem); color: var(--bh-blue-950); }
.bh-section-intro { max-width: 65ch; color: var(--bh-muted); font-size: 1.05rem; }
.bh-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .75rem 1.1rem;
  border: 1px solid var(--bh-blue-950); border-radius: 999px; background: var(--bh-blue-950);
  color: white; font-size: .9rem; font-weight: 700; text-decoration: none;
}
.bh-button:hover { background: var(--bh-red-dark); border-color: var(--bh-red-dark); color: white; }
.bh-button--light { background: transparent; color: var(--bh-blue-950); }
.bh-button--light:hover { color: white; }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid rgb(12 35 56 / 12%); background: rgb(251 248 241 / 96%); }
.site-header__inner { min-height: 5.25rem; display: flex; align-items: center; gap: 2rem; }
.site-brand { display: flex; align-items: center; gap: .8rem; color: var(--bh-blue-950); text-decoration: none; }
.site-brand__mark { width: 2.15rem; height: 2.15rem; display: grid; place-items: center; border: 1px solid var(--bh-red); border-radius: 50%; color: var(--bh-red); font: 600 1.25rem/1 var(--bh-serif); }
.site-brand__name { font: 620 1.28rem/1 var(--bh-serif); }
.site-brand__meta { display: block; margin-top: .22rem; color: var(--bh-muted); font: 650 .65rem/1 var(--bh-sans); letter-spacing: .1em; text-transform: uppercase; }
.menu-toggle { display: none; margin-left: auto; border: 1px solid var(--bh-line); border-radius: 999px; background: transparent; padding: .65rem .9rem; color: var(--bh-blue-950); font-weight: 700; }
.main-navigation { margin-left: auto; }
.main-navigation ul { list-style: none; margin: 0; padding: 0; }
.main-navigation > ul, .main-navigation .menu { display: flex; align-items: center; gap: 1.35rem; }
.main-navigation li { position: relative; }
.main-navigation a { color: var(--bh-blue-950); font-size: .84rem; font-weight: 700; text-decoration: none; }
.main-navigation a:hover { color: var(--bh-red); }
.main-navigation .sub-menu { display: none; position: absolute; z-index: 30; top: calc(100% + .8rem); left: -.9rem; min-width: 15rem; padding: .7rem; border: 1px solid var(--bh-line); border-radius: var(--bh-radius); background: var(--bh-white); box-shadow: var(--bh-shadow); }
.main-navigation .sub-menu::before { content: ""; position: absolute; right: 0; bottom: 100%; left: 0; height: .8rem; background: transparent; }
.main-navigation .sub-menu a { display: block; padding: .55rem .65rem; }
.main-navigation li:hover > .sub-menu, .main-navigation li:focus-within > .sub-menu { display: block; }

.bh-hero { padding: clamp(3rem, 7vw, 6rem) 0; background: linear-gradient(118deg, var(--bh-ivory) 0 58%, var(--bh-paper) 58%); }
.bh-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(20rem, .72fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.bh-hero__lead { max-width: 56ch; margin: 1.4rem 0 1.8rem; font-family: var(--bh-serif); font-size: clamp(1.2rem, 2vw, 1.55rem); color: #40505d; }
.bh-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.bh-manuscript { margin: 0; }
.bh-manuscript__frame { position: relative; padding: .75rem; background: white; box-shadow: var(--bh-shadow); transform: rotate(1.2deg); }
.bh-manuscript__frame img { width: 100%; aspect-ratio: 1 / .96; object-fit: cover; object-position: center 42%; }
.bh-manuscript figcaption { margin-top: 1rem; color: var(--bh-muted); font-size: .76rem; line-height: 1.45; }

.bh-doors { padding: clamp(4rem, 8vw, 7rem) 0; }
.bh-doors__intro { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 2.25rem; }
.bh-door-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.bh-door { min-height: 25rem; display: flex; flex-direction: column; padding: clamp(1.5rem, 3vw, 2.25rem); border-top: 4px solid var(--bh-red); background: var(--bh-white); box-shadow: 0 10px 34px rgb(12 35 56 / 8%); }
.bh-door:nth-child(2) { border-color: var(--bh-blue-700); }
.bh-door:nth-child(3) { border-color: #b5853d; }
.bh-door__number { color: var(--bh-muted); font-size: .7rem; font-weight: 750; letter-spacing: .13em; }
.bh-door h3 { margin: .9rem 0 1rem; color: var(--bh-blue-950); font-size: clamp(2.1rem, 4vw, 3rem); }
.bh-door p { color: var(--bh-muted); }
.bh-door ul { margin: auto 0 0; padding: 1.5rem 0 0; list-style: none; border-top: 1px solid var(--bh-line); }
.bh-door li + li { margin-top: .5rem; }
.bh-door a { color: var(--bh-ink); font-weight: 650; text-decoration: none; }
.bh-door a::after { content: " →"; color: var(--bh-red); }

.bh-feature { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--bh-blue-950); color: white; }
.bh-feature__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.bh-feature__image { min-height: 34rem; object-fit: cover; width: 100%; }
.bh-feature .bh-section-title { color: white; }
.bh-feature p { color: #d8e0e6; }
.bh-caption { padding-top: .85rem; color: #acbac4 !important; font-size: .75rem; }
.bh-fact { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 18%); }
.bh-fact strong { font-family: var(--bh-serif); font-size: 1.5rem; color: white; }

.bh-project { padding: clamp(4rem, 8vw, 7rem) 0; }
.bh-project__grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 8vw, 7rem); }
.bh-project__text { font-family: var(--bh-serif); font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.45; }
.bh-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.bh-pillar { padding: 1rem; border-left: 1px solid var(--bh-red); }
.bh-pillar strong { display: block; color: var(--bh-blue-950); }
.bh-pillar span { color: var(--bh-muted); font-size: .83rem; }

.bh-news { padding: clamp(4rem, 8vw, 6rem) 0; border-top: 1px solid var(--bh-line); }
.bh-news__head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.bh-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.bh-card { padding: 1.4rem; border: 1px solid var(--bh-line); background: var(--bh-white); }
.bh-card time { color: var(--bh-muted); font-size: .75rem; }
.bh-card h3 { margin: .7rem 0; font-size: 1.5rem; }
.bh-card a { color: var(--bh-blue-950); text-decoration: none; }
.bh-partners { padding: 2.2rem 0; background: var(--bh-paper); }
.bh-partners__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.bh-partners__list { display: flex; flex-wrap: wrap; gap: .6rem; }
.bh-partners__list span { padding: .5rem .8rem; border: 1px solid var(--bh-line); border-radius: 999px; background: var(--bh-ivory); font-size: .78rem; }

.bh-page-head { padding: 4rem 0 2.5rem; border-bottom: 1px solid var(--bh-line); }
.bh-page-head h1 { max-width: 18ch; margin: 0; color: var(--bh-blue-950); font-size: clamp(2.7rem, 6vw, 5rem); letter-spacing: -.035em; }
.bh-page-head__intro { max-width: 65ch; margin-top: 1rem; color: var(--bh-muted); font-family: var(--bh-serif); font-size: 1.25rem; }
.bh-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.5rem; color: var(--bh-muted); font-size: .76rem; }

.bh-reading-layout { width: var(--bh-wide); margin: 0 auto; display: grid; grid-template-columns: 16rem minmax(0, var(--bh-reading)); gap: clamp(2rem, 6vw, 5.5rem); align-items: start; padding: 3rem 0 6rem; }
.bh-toc { position: sticky; top: 1.5rem; max-height: calc(100vh - 3rem); overflow: auto; padding-right: 1rem; }
.bh-toc__title { margin: 0 0 1rem; color: var(--bh-blue-950); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.bh-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.bh-toc li { counter-increment: toc; border-top: 1px solid var(--bh-line); }
.bh-toc__level-3 { padding-left: 1rem; }
.bh-toc__extra { display: none; }
.bh-toc.is-expanded .bh-toc__extra { display: block; }
.bh-toc-more { margin-top: 1rem; padding: .5rem 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--bh-blue-700); font-size: .74rem; font-weight: 750; cursor: pointer; }
.bh-toc a { display: grid; grid-template-columns: 2rem 1fr; gap: .4rem; padding: .65rem 0; color: var(--bh-muted); font-size: .74rem; line-height: 1.35; text-decoration: none; }
.bh-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--bh-red); font-variant-numeric: tabular-nums; }
.bh-toc a:hover, .bh-toc a[aria-current="location"] { color: var(--bh-blue-950); }
.bh-toc-toggle { display: none; }
.bh-reading { min-width: 0; font-family: var(--bh-serif); font-size: clamp(1.08rem, 1.5vw, 1.22rem); line-height: 1.78; }
.bh-reading > :first-child { margin-top: 0; }
.bh-reading h1, .bh-reading h2, .bh-reading h3 { scroll-margin-top: 2rem; color: var(--bh-blue-950); }
.bh-reading h1 { margin: 3.5rem 0 1.2rem; font-size: 2.5rem; }
.bh-reading h2 { margin: 4.5rem 0 1.3rem; padding-top: 1.2rem; border-top: 1px solid var(--bh-line); font-size: clamp(2rem, 4vw, 2.8rem); }
.bh-reading h3 { margin-top: 3rem; font-size: 1.7rem; }
.bh-reading p { margin: 0 0 1.35em; }
.bh-reading p[style*="font-size"] { font-size: inherit !important; }
.bh-reading blockquote { margin: 2rem 0; padding: 1rem 1.5rem; border-left: 3px solid var(--bh-red); background: var(--bh-paper); }
.bh-reading figure { max-width: 100%; margin: 2.5rem 0; }
.bh-reading figcaption { color: var(--bh-muted); font: .78rem/1.5 var(--bh-sans); }
.bh-reading table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: .96rem; }
.bh-reading td, .bh-reading th { padding: .6rem; border-bottom: 1px solid var(--bh-line); vertical-align: top; }
.bh-job-synopsis { margin: 3rem 0; }
.bh-job-synopsis__intro { margin-bottom: 1.5rem; }
.bh-job-synopsis__intro h2 { margin-top: 0; }
.bh-job-synopsis__labels { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; margin-bottom: .6rem; color: var(--bh-muted); font: 700 .72rem/1.4 var(--bh-sans); letter-spacing: .09em; }
.bh-job-synopsis__rows { border-top: 1px solid var(--bh-line); }
.bh-job-synopsis__row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--bh-line); }
.bh-job-synopsis__row > div { min-width: 0; }
.bh-job-synopsis__latin { color: var(--bh-blue-950); }
.bh-job-synopsis__latin small { display: block; margin-bottom: .65rem; color: var(--bh-red); font: 700 .7rem/1.4 var(--bh-sans); letter-spacing: .06em; text-transform: uppercase; }
.bh-job-synopsis__latin p,.bh-job-synopsis__french p { margin: 0 0 .75rem; }
.bh-job-synopsis__french { padding-left: 1.25rem; border-left: 3px solid var(--bh-red); }
.bh-job-synopsis__lacuna { color: var(--bh-muted); font-style: italic; }
.page-id-378 .bh-reading table td:first-child,
.page-id-378 .bh-reading table th:first-child {
  width: 1%;
  min-width: 4.75rem;
  white-space: nowrap;
  color: var(--bh-muted);
  font-family: var(--bh-sans);
  font-size: .8rem;
  font-variant-numeric: tabular-nums;
}
.bh-back-top { position: sticky; bottom: 1rem; display: flex; justify-content: flex-end; margin-top: 3rem; }
.bh-back-top a { padding: .55rem .8rem; border-radius: 999px; background: var(--bh-blue-950); color: white; font: 700 .75rem/1 var(--bh-sans); text-decoration: none; }

.bh-tool { padding-bottom: 5rem; }
.bh-tool__intro { max-width: 70ch; }
.bh-tool__actions { margin: 1.5rem 0 2rem; }
.bh-tool__frame { padding: .65rem; border: 1px solid var(--bh-line); background: white; box-shadow: var(--bh-shadow); }
.bh-tool__frame iframe { display: block; width: 100%; min-height: 48rem; border: 0; }
.bh-tool .bhs-scientific-embed > p { display: none; }
.bh-tool__fallback { padding: 2rem; color: var(--bh-muted); text-align: center; }
.bh-tool__workspace { padding-top: 2rem; }
.bh-tool__note { margin: 0 0 .75rem; color: var(--bh-muted); font-size: .78rem; }

.bh-default { width: min(100% - 2rem, var(--bh-reading)); margin: 0 auto; padding: 3rem 0 6rem; font-family: var(--bh-serif); font-size: 1.12rem; }
.bh-default img, .bh-default iframe { max-width: 100%; }
.bh-default iframe { width: 100%; }
.bh-default--wide { width: var(--bh-wide); }
.bh-standard--notice .bh-default > p:first-child { color: #40505d; font-size: 1.3rem; line-height: 1.55; }
.bh-standard--notice .bh-default h2 { margin: 3rem 0 1rem; color: var(--bh-blue-950); font-size: 2rem; }
.bh-standard--notice .bh-default figure { margin: 2.5rem 0; }
.bh-standard--notice .bh-default figcaption { color: var(--bh-muted); font: .78rem/1.5 var(--bh-sans); }
.bh-resource__content > p { padding-left: 1.2rem; border-left: 2px solid var(--bh-line); }
.bh-resource--lexicon .bh-resource__content h2 { width: 3rem; height: 3rem; display: grid; place-items: center; padding: 0; border: 1px solid var(--bh-red); border-radius: 50%; color: var(--bh-red-dark); font-size: 1.55rem; }
.bh-resource--lexicon .bh-resource__content p { padding: 1.25rem; border: 1px solid var(--bh-line); border-left: 3px solid var(--bh-red); background: var(--bh-white); }
.bh-corpus-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.bh-corpus-list li { padding: .45rem .75rem; border: 1px solid var(--bh-line); border-radius: 999px; background: var(--bh-white); color: var(--bh-blue-900); font-size: .75rem; font-weight: 700; }
.bh-search-panel { padding: clamp(1rem, 3vw, 2.5rem); border-top: 4px solid var(--bh-red); background: var(--bh-white); box-shadow: var(--bh-shadow); }
.bh-search-panel input, .bh-search-panel select, .bh-search-panel textarea, .bh-default input, .bh-default select, .bh-default textarea { max-width: 100%; padding: .7rem; border: 1px solid #a9afb4; border-radius: .2rem; background: white; color: var(--bh-ink); }
.bh-search-panel button, .bh-search-panel input[type="submit"], .bh-default button, .bh-default input[type="submit"] { min-height: 2.75rem; padding: .65rem 1rem; border: 0; border-radius: 999px; background: var(--bh-blue-950); color: white; font-weight: 750; cursor: pointer; }
.bh-video-embed iframe { width: 100%; aspect-ratio: 16 / 9; min-height: 0; border: 0; }
.bh-downloads a[href$=".xml"], .bh-downloads a[href*="xml"] { display: inline-flex; margin: .25rem .35rem .25rem 0; padding: .7rem 1rem; border: 1px solid var(--bh-blue-700); border-radius: 999px; text-decoration: none; }
.bh-sequence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--bh-line); font-family: var(--bh-sans); }
.bh-sequence a { padding: 1rem; border: 1px solid var(--bh-line); background: var(--bh-white); text-decoration: none; }
.bh-sequence a:last-child { text-align: right; }
.bh-sequence span, .bh-sequence strong { display: block; }
.bh-sequence span { color: var(--bh-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.bh-sequence strong { margin-top: .35rem; color: var(--bh-blue-950); }
.bh-pagination { margin-top: 2rem; }
.bh-pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; }
.bh-pagination a, .bh-pagination span { min-width: 2.5rem; padding: .55rem .75rem; border: 1px solid var(--bh-line); text-align: center; text-decoration: none; }
.bh-entry-media { margin: -1rem 0 2rem; }
.bh-entry-meta { color: var(--bh-muted); font: .78rem/1.5 var(--bh-sans); }
.bh-empty { padding: 4rem 0 6rem; }
.bh-empty form { display: flex; gap: .5rem; max-width: 36rem; }
.bh-empty input[type="search"] { min-width: 0; flex: 1; padding: .7rem; }
.bh-empty input[type="submit"] { padding: .7rem 1rem; border: 0; background: var(--bh-blue-950); color: white; }

.site-footer { padding: 4rem 0 2rem; background: var(--bh-blue-950); color: #d7e0e6; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; }
.site-footer h2, .site-footer h3 { color: white; }
.site-footer h2 { margin: 0; font-size: 2.2rem; }
.site-footer h3 { margin: 0 0 1rem; font: 750 .72rem/1 var(--bh-sans); letter-spacing: .12em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: .45rem; }
.site-footer a { color: #d7e0e6; text-decoration: none; }
.site-footer a:hover { color: white; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 15%); color: #9dafbc; font-size: .72rem; }

@media (max-width: 62rem) {
  .menu-toggle { display: inline-flex; }
  .main-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 1rem; border-bottom: 1px solid var(--bh-line); background: var(--bh-ivory); }
  .main-navigation.is-open { display: block; }
  .main-navigation > ul, .main-navigation .menu { align-items: stretch; flex-direction: column; gap: 0; }
  .main-navigation a { display: block; padding: .65rem 0; }
  .main-navigation .sub-menu { display: block; position: static; min-width: 0; padding: 0 0 0 1rem; border: 0; background: transparent; box-shadow: none; }
  .bh-hero__grid, .bh-feature__grid, .bh-project__grid { grid-template-columns: 1fr; }
  .bh-hero { background: var(--bh-ivory); }
  .bh-hero__visual { max-width: 35rem; }
  .bh-door-grid, .bh-card-grid { grid-template-columns: 1fr 1fr; }
  .bh-door:last-child { grid-column: 1 / -1; }
  .bh-reading-layout { grid-template-columns: 1fr; }
  .bh-toc { position: static; max-height: none; padding: 0; border: 1px solid var(--bh-line); background: var(--bh-white); }
  .bh-toc-toggle { width: 100%; display: flex; justify-content: space-between; border: 0; background: transparent; padding: 1rem; color: var(--bh-blue-950); font-weight: 750; }
  .bh-toc__inner { display: none; max-height: 22rem; overflow: auto; padding: 0 1rem 1rem; }
  .bh-toc.is-open .bh-toc__inner { display: block; }
  .bh-toc__title { display: none; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 40rem) {
  :root { --bh-wide: min(100% - 1.25rem, 78rem); }
  .site-header__inner { min-height: 4.5rem; }
  .site-brand__meta { display: none; }
  .bh-hero { padding-top: 2.5rem; }
  .bh-hero__grid { grid-template-columns: 1fr; gap: 2rem; }
  .bh-display { font-size: clamp(3.1rem, 16vw, 4.6rem); }
  .bh-manuscript__frame { transform: none; }
  .bh-doors__intro, .bh-news__head, .bh-partners__inner { align-items: start; flex-direction: column; }
  .bh-door-grid, .bh-card-grid, .bh-pillars { grid-template-columns: 1fr; }
  .bh-door:last-child { grid-column: auto; }
  .bh-door { min-height: 22rem; }
  .bh-feature__image { min-height: 24rem; }
  .bh-reading-layout { padding-top: 1.5rem; }
  .bh-reading { font-size: 1.06rem; }
  .bh-reading h2 { overflow-wrap: anywhere; }
  .bh-reading table { width: 100%; }
  .bh-job-synopsis__labels { display: none; }
  .bh-job-synopsis__row { grid-template-columns: 1fr; gap: 1rem; }
  .bh-job-synopsis__row > div::before { content: attr(data-column); display: block; margin-bottom: .5rem; color: var(--bh-muted); font: 700 .68rem/1.4 var(--bh-sans); letter-spacing: .08em; text-transform: uppercase; }
  .bh-job-synopsis__french { padding: 1rem 0 0; border-top: 1px dashed var(--bh-line); border-left: 0; }
  .bh-sequence { grid-template-columns: 1fr; }
  .bh-sequence a:last-child { text-align: left; }
  .bh-page-head { padding-top: 2.75rem; }
  .bh-page-head h1 { overflow-wrap: anywhere; }
  .bh-default, .bh-reading-layout { width: min(100% - 1.25rem, var(--bh-reading)); }
  .bh-resource__content > p { padding-left: .75rem; }
  .bh-tool__frame { margin-inline: 0; padding: .2rem; overflow: hidden; }
  .bh-tool__frame iframe { min-width: 0; min-height: 38rem; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; }
}

@media (max-width: 22rem) {
  :root { --bh-wide: min(100% - 1rem, 78rem); }
  .site-brand__name { font-size: 1.08rem; }
  .menu-toggle { padding: .55rem .7rem; }
  .bh-display { font-size: 2.7rem; }
  .bh-button { width: 100%; }
  .bh-meta { display: grid; gap: .45rem; }
  .bh-page-head h1 { font-size: 2.3rem; }
}

@media (min-width: 62.01rem) {
  .site-header__inner { padding-right: 8.5rem; }
}

@media (max-width: 62rem) {
  #gt_float_wrapper {
    position: absolute !important;
    top: 4.65rem !important;
    right: .625rem !important;
  }
  .site-header__inner {
    min-height: 8.25rem;
    align-items: flex-start;
    padding-top: 1.05rem;
  }
  .menu-toggle { margin-top: .1rem; }
}

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