/* Heritage layout: info bar, header (laid over the cover photo on the home page), footer and the director quote.
   Loaded by the HeritageHeader shape after the shared block styles. Colours come from the tokens; the text on photographs is fixed white over a dark scrim. */

/* Info bar + header sit together; on the home page they float over the hero photo. */
.her-top { position: relative; z-index: 20; }
/* top stays auto: the header keeps its place in the flow (below the consent banner while it is shown) but no longer takes height. */
.her-top--overlay { position: absolute; inset-inline: 0; }
.her-top :focus-visible, .her-footer :focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }

.infobar { background: var(--band-dark-bg); color: var(--band-dark-fg); font-size: var(--text-sm); }
.infobar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-1) var(--space-4); padding-block: var(--space-1); }
.infobar__status { margin: 0; display: flex; align-items: center; gap: var(--space-2); }
.infobar__dot { flex: none; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #7fcf8c; }
.infobar__dot--closed { background: #f2a07b; }
.infobar__tools { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-2); }
.infobar__sep { width: 1px; height: 1rem; background: currentColor; opacity: 0.4; }
.infobar a, .infobar a:visited { display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: var(--space-2); color: var(--band-dark-fg); text-decoration: none; }
.infobar a:hover { text-decoration: underline; }
.infobar .lang-nav ul { gap: var(--space-1); }
.infobar .lang-nav__current { border-bottom-color: var(--tone-3-solid); color: var(--tone-3-solid); }
.infobar .a11y-btn { background: transparent; color: inherit; border-color: currentColor; }
.infobar .a11y-btn[aria-pressed="true"] { background: var(--band-dark-fg); color: var(--band-dark-bg); }

.her-header { background: var(--color-header-bg); border-bottom: 0; color: #ffffff; }
.her-top:not(.her-top--overlay) .her-header { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.her-top--overlay .her-header { background: transparent; }
.her-header__inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--space-3); padding-block: var(--space-4); }
.her-brand, .her-brand:visited { display: flex; flex-direction: column; line-height: 1; color: #ffffff; text-decoration: none; }
.her-brand__name { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.125rem); letter-spacing: 0.02em; }
.her-brand__tagline { margin-top: 0.4rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--tone-3-solid); }
.her-header .nav-toggle { background: transparent; color: #ffffff; border: 1px solid #ffffff; }
.her-nav .menu__link, .her-nav .menu__link:visited { color: #ffffff; font-weight: 600; text-decoration: none; }
.her-nav .menu__link:hover { color: var(--tone-3-solid); text-decoration: underline; }
.her-nav.is-open { padding: var(--space-2) var(--space-3); background: var(--band-dark-bg); }
.her-header__tools { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.her-header .search-pop__toggle { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, 0.6); }
.her-book, .her-book:visited { padding: 0.75rem 1.4rem; border-radius: var(--btn-radius); background: var(--tone-3-solid); color: var(--tone-3-on); font-weight: 700; letter-spacing: 0.04em; text-decoration: none; white-space: nowrap; }
.her-book:hover { text-decoration: underline; }
@media (min-width: 60rem) {
  .her-header__inner { grid-template-columns: auto 1fr auto; }
  .her-header__tools { grid-column: auto; flex-wrap: nowrap; }
  .her-nav { justify-self: center; }
  .her-nav .menu__sub { background: var(--band-dark-bg); border-color: rgba(255, 255, 255, 0.2); }
}
html.hc .infobar, html.hc .her-header { border-bottom: 2px solid var(--color-border); }

/* Director quote: a centred editorial pull quote. */
.main--bleed .landing > .flow > .block--quote { max-width: 61rem; padding-block: var(--space-7); text-align: center; }
.block--quote .quote { padding: 0; border: 0; background: none; font-family: var(--font-heading); font-style: italic; font-weight: 500; font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1.2; }
.block--quote .quote::before { content: "\201C" / ""; display: block; font-size: 4rem; line-height: 0.6; color: var(--color-accent); }
.block--quote .quote__by { margin-top: var(--space-3); font-size: var(--text-sm); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

/* Footer */
.her-footer { background: var(--color-footer-bg); color: var(--color-footer-text); border-top: 0; }
.her-footer__inner { display: flex; flex-direction: column; gap: var(--space-6); padding-block: var(--space-7) var(--space-5); }
.her-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); gap: var(--space-5); }
.her-footer :where(p) { margin: 0; }
.her-footer__org { display: flex; flex-direction: column; gap: var(--space-2); font-size: var(--text-sm); line-height: 1.6; }
.her-footer__name { font-family: var(--font-heading); font-weight: 700; font-size: 1.9rem; color: #ffffff; }
.her-footer__head { margin-bottom: var(--space-2); font-weight: 700; color: #ffffff; }
.her-footer .menu { display: flex; flex-direction: column; gap: 0; }
.her-footer .menu__link, .her-footer .menu__link:visited, .her-footer a, .her-footer a:visited { color: var(--color-footer-text); }
.her-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); padding-top: var(--space-4); border-top: 1px solid rgba(231, 220, 203, 0.25); font-size: var(--text-sm); }
html.hc .her-footer { border-top: 2px solid var(--color-border); }
