/* Header and footer */
header, footer { --space:15px; --side:clamp(16px,4.4vw,70px); --orange:#ff891d; max-width:1600px; margin-inline:auto; padding: var(--space) var(--side); background: #192128; color: white; }
header { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space); }
.brand { display:inline-flex; align-items:center; gap:6px; width:fit-content; color:white; font-weight:bold; text-decoration:none; font-size: 22px; letter-spacing: -.04em; white-space: nowrap; }
.brandlogo { vertical-align: middle; }
header nav a[aria-current], .copyline a { color: var(--orange); }
header nav, footer nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 24px; }
:is(header, footer) nav a { text-decoration: none; }
header nav a { font-weight: bold; }
:is(header, footer) nav a:hover { text-decoration: underline; }
.menu-btn { display: none; cursor: pointer; background: transparent; color: white; border: 0; padding: 6px 12px; font-size: 24px; }
footer { text-align: center; }
footer .brand { margin-bottom:15px; }
.footer-row { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-top:15px; text-align:left; }
.footer-row > a { white-space:nowrap; }
.copyline { margin: 0; }


@media (max-width: 900px) {
  header { display: flex; justify-content: space-between; }
  .menu-btn { display: block; }
  header nav { display: none; position: absolute; z-index: 20; inset: 100% 0 auto; background: #192128; align-items: stretch; flex-direction: column; padding: var(--space) var(--side); }
  header nav.open { display: flex; }
}
