/* Sitewide Harbor touches (2026-11-27): a header that shrinks once the reader scrolls,
   and the dark hero and closing panels set in from the edges with rounded corners. */

/* 1. the header shrinks: the bar gets shorter and the wordmark tucks away, leaving the mark */
html.wv-field .nav .nav-inner { transition: padding 0.3s ease; }
html.wv-field .nav .logo-word { display: inline-block; max-width: 7em; overflow: hidden; white-space: nowrap; vertical-align: bottom; transition: max-width 0.35s ease, opacity 0.25s ease; }
@media (min-width: 861px) {
  html.wv-field .nav.is-scrolled .nav-inner { padding-top: 0.42rem; padding-bottom: 0.42rem; }
  html.wv-field .nav.is-scrolled .logo-word { max-width: 0; opacity: 0; }
}

/* 2. inset rounded panels: the home hero, and the closing band with the footer as one block */
html.wv-field main > .wv:has(> .hero-wrap) { margin: 0 12px; border-radius: 0 0 20px 20px; overflow: clip; }
html.wv-field main > .finale { margin: 0 12px; border-radius: 20px 20px 0 0; overflow: clip; }
html.wv-field .footer { margin: 0 12px 12px; border-radius: 0 0 20px 20px; border-top: 0; }
@media (max-width: 700px) {
  html.wv-field main > .wv:has(> .hero-wrap), html.wv-field main > .finale { margin-left: 6px; margin-right: 6px; }
  html.wv-field .footer { margin: 0 6px 6px; }
  html.wv-field main > .wv:has(> .hero-wrap) { border-radius: 0 0 14px 14px; } html.wv-field main > .finale { border-radius: 14px 14px 0 0; } html.wv-field .footer { border-radius: 0 0 14px 14px; }
}
@media (prefers-reduced-motion: reduce) { html.wv-field .nav .nav-inner, html.wv-field .nav .logo-word { transition: none; } }
@media print { html.wv-field main > .wv:has(> .hero-wrap), html.wv-field main > .finale, html.wv-field .footer { margin: 0; border-radius: 0; } }
