/* Compiled from styles/header.scss */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; color: var(--ink); }
.masthead { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; height: 104px; padding-inline: var(--gutter); background: var(--bg); border-bottom: 1px solid var(--line); transition: height 280ms cubic-bezier(0.2, 0.6, 0.2, 1), background-color 280ms cubic-bezier(0.2, 0.6, 0.2, 1), border-color 280ms cubic-bezier(0.2, 0.6, 0.2, 1), color 280ms cubic-bezier(0.2, 0.6, 0.2, 1); }
.site-header.is-scrolled .masthead { height: 72px; border-bottom-color: var(--line); }
.masthead { border-bottom-color: transparent; }
.masthead__left .menu-btn .icon-btn__label, .masthead__right .icon-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.masthead .icon-btn { font-size: 18px; letter-spacing: 0.01em; gap: 12px; }
.masthead .icon-btn svg { width: 26px; height: 26px; }
.masthead .count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; font-size: 10px; background: var(--bg); color: var(--ink); border-color: var(--line); }
.masthead__left .count { display: none; }
.masthead__right { gap: 14px; }
.masthead__left { gap: 20px; }
.has-hero .site-header:not(.is-scrolled) .masthead { background: transparent; border-bottom-color: transparent; color: var(--media-ink); }
.masthead__left, .masthead__right { display: flex; align-items: center; gap: 2px; min-width: 0; }
.masthead__left { margin-left: -10px; }
.masthead__right { justify-content: flex-end; margin-right: -10px; }
.brand { display: block; line-height: 0; }
.brand:hover { opacity: 0.8; }
.brand__img { width: 127px; height: 48px; transition: width 280ms cubic-bezier(0.2, 0.6, 0.2, 1), height 280ms cubic-bezier(0.2, 0.6, 0.2, 1); }
.brand__img--light { display: none; }
.site-header.is-scrolled .brand__img { width: 96px; height: 36px; }
.has-hero .site-header:not(.is-scrolled) .brand__img--dark { display: none; }
.has-hero .site-header:not(.is-scrolled) .brand__img--light { display: block; }

.menu-bars { position: relative; display: block; width: 28px; height: 18px; }
.menu-bars span { position: absolute; left: 0; width: 100%; height: 1.4px; background: currentColor; transition: transform 280ms cubic-bezier(0.2, 0.6, 0.2, 1), opacity 280ms cubic-bezier(0.2, 0.6, 0.2, 1), top 280ms cubic-bezier(0.2, 0.6, 0.2, 1); }
.menu-bars span:nth-child(1) { top: 0; }
.menu-bars span:nth-child(2) { top: 8.3px; }
.menu-bars span:nth-child(3) { top: 16.6px; }
[aria-expanded="true"] > .menu-bars span:nth-child(1), .menu-bars--x span:nth-child(1) { top: 8.3px; transform: rotate(45deg); }
[aria-expanded="true"] > .menu-bars span:nth-child(2), .menu-bars--x span:nth-child(2) { opacity: 0; }
[aria-expanded="true"] > .menu-bars span:nth-child(3), .menu-bars--x span:nth-child(3) { top: 8.3px; transform: rotate(-45deg); }
#menu-drawer { width: min(100vw, 680px); box-shadow: none; }
.site-header .backdrop { background: rgba(40, 40, 40, 0.6); }

.drawer__head { display: flex; align-items: center; gap: 20px; min-height: 104px; padding: 0 24px 0 var(--gutter); }
.nav-feature { display: grid; gap: 16px; justify-items: start; margin-top: 48px; text-decoration: none; }
.ratio-5x4 { aspect-ratio: 5 / 4; }
.nav-panels { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.nav-panel { padding: 8px 64px 48px calc(var(--gutter) + 10px); animation: panel-in 280ms cubic-bezier(0.2, 0.6, 0.2, 1) both; }
@keyframes panel-in { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.nav-list { display: grid; }
.nav-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 60px; padding: 8px 0; font-family: "Jost", "Futura", "Century Gothic", "Helvetica Neue", sans-serif; font-size: 21px; line-height: 1.3; text-align: left; text-decoration: none; }
.nav-link svg { width: 16px; height: 16px; flex: none; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--plum); }
.nav-list--sub .nav-link { font-family: "Jost", "Futura", "Century Gothic", "Helvetica Neue", sans-serif; font-size: 20px; min-height: 60px; }
.nav-list--small { margin-top: 28px; }
.nav-list--small .nav-link { font-family: "Jost", "Futura", "Century Gothic", "Helvetica Neue", sans-serif; font-size: 15px; min-height: 44px; border-bottom: 0; justify-content: flex-start; }
.nav-back { display: inline-flex; align-items: center; gap: 20px; min-height: 52px; font-size: 21px; font-weight: 500; }
.nav-back svg { width: 14px; height: 14px; }
.nav-panel__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
.drawer__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 64px 12px calc(var(--gutter) + 10px); border-top: 1px solid var(--line); }

.search-dialog { position: fixed; inset: 0; z-index: 130; overflow-y: auto; background: var(--bg); color: var(--ink); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 280ms cubic-bezier(0.2, 0.6, 0.2, 1), transform 280ms cubic-bezier(0.2, 0.6, 0.2, 1), visibility 0s linear 280ms; }
.search-dialog.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 280ms cubic-bezier(0.2, 0.6, 0.2, 1), transform 280ms cubic-bezier(0.2, 0.6, 0.2, 1), visibility 0s; }
.search-dialog__inner { padding-block: 12px 96px; }
.search-dialog__head { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.search-form { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px 16px; margin-top: 32px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.search-form:focus-within { border-bottom-color: var(--plum); box-shadow: 0 1px 0 var(--plum); }
.search-form__input { width: 100%; min-width: 0; padding: 8px 0; border: 0; background: transparent; font-family: "Jost", "Futura", "Century Gothic", "Helvetica Neue", sans-serif; font-size: clamp(28px, 4vw, 52px); line-height: 1.2; }
.search-form__input:focus-visible { outline: none; }
.search-form__input::placeholder { color: var(--stone); opacity: 0.7; }
.search-form__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-recent { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.search-status { margin-top: 24px; font-size: 15px; color: var(--stone); }
.search-results { display: grid; gap: 40px; margin-top: 28px; }

@media (max-width: 1279px) {
  .masthead, .site-header.is-scrolled .masthead { height: 64px; }
  .brand__img, .site-header.is-scrolled .brand__img { width: 85px; height: 32px; }
  .masthead .icon-btn svg { width: 22px; height: 22px; }
  .masthead__right, .masthead__left { gap: 0; }
  .drawer__head { min-height: 64px; }
  .nav-panel, .drawer__foot { padding-left: 24px; padding-right: 24px; }
  .masthead .icon-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .masthead .count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; font-size: 10px; background: var(--bg); color: var(--ink); border-color: var(--line); }
  .hide-compact { display: none; }
}
@media (max-width: 767px) {
  .brand__img, .site-header.is-scrolled .brand__img { width: 74px; height: 28px; }
  .search-form { grid-template-columns: minmax(0, 1fr) auto; }
  .search-form .btn { grid-column: 1 / -1; }
}

/* SARD navigation additions */
.masthead__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; }
.masthead__link:hover { color: inherit; opacity: 0.68; }
.nav-feature__frame { display: block; width: min(100%, 300px); aspect-ratio: 4 / 5; background: var(--bg); }
.nav-feature__img { width: 100%; height: 100%; object-fit: contain; }
.nav-list__label { margin: 28px 0 4px; }
@media (max-width: 1279px) { .masthead__link { display: none; } }
