/* Stremmel nav system — see design/nav-system. Grayscale, Questrial, no radius, no shadows. */
#brx-header { position: sticky; top: 0; z-index: 1000; background: #fff; }
#brx-header .brxe-section, #brx-header .brxe-container { padding: 0 !important; width: 100% !important; max-width: 100% !important; }

.snav { --sg: clamp(24px, 4vw, 80px); position: relative; background: #fff; border-bottom: 1px solid rgba(0,0,0,0.13); font-family: 'Questrial', 'Helvetica Neue', Helvetica, Arial, sans-serif; }
.snav-bar { width: auto; max-width: none; margin: 0 var(--sg); height: 100px; display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 4vw, 72px); transition: height .2s ease; }
.snav.is-compact .snav-bar { height: 64px; }
.snav-logo { display: flex; align-items: center; min-height: 44px; flex: 0 0 auto; }
.snav-logo img { width: clamp(232px, 27vw, 386px); height: auto; display: block; transition: width .2s ease; }
.snav.is-compact .snav-logo img { width: clamp(210px, 22vw, 300px); }

.snav-desktop { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 50px); flex: 0 1 auto; }
.snav-link { font-size: 15px; line-height: 21px; font-weight: 400; letter-spacing: 2.5px; text-transform: uppercase; color: #A3A3A3; background: none; border: 0; padding: 0 0 4px; display: flex; align-items: center; gap: 8px; cursor: pointer; text-decoration: none; font-family: inherit; }
.snav-link:hover, .snav-link[aria-expanded="true"] { color: #555; }
.snav-burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; color: #444; cursor: pointer; margin-right: -10px; }

/* Desktop panels */
.snav-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid rgba(0,0,0,0.13); z-index: 5; }
.snav-panel[hidden] { display: none; }
.snav-panel-inner { width: auto; max-width: 1640px; margin: 0 var(--sg); }
@media (min-width: 1800px) { .snav-panel-inner { margin: 0 auto; } }
.snav-panel-exh { padding: 40px 0 44px; display: flex; gap: 80px; }
.snav-col-now { display: flex; flex-direction: column; gap: 22px; flex: 0 0 auto; }
.snav-col-years { display: flex; flex-direction: column; gap: 22px; flex: 1 1 auto; border-left: 1px solid rgba(0,0,0,0.13); padding-left: 60px; }
.snav-label { font-size: 12px; line-height: 17px; letter-spacing: 2px; text-transform: uppercase; color: #A3A3A3; }
.snav-cards { display: flex; gap: 30px; }
.snav-card { display: flex; flex-direction: column; gap: 10px; width: 260px; text-decoration: none; }
.snav-card-img { width: 260px; height: 195px; object-fit: cover; display: block; transition: opacity .15s; }
.snav-card:hover .snav-card-img { opacity: .85; }
.snav-card-title { font-size: 14px; line-height: 20px; font-weight: 400; color: #444; }
.snav-card-dates { font-size: 12px; line-height: 17px; color: #676767; margin-top: -4px; }
.snav-years { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px 24px; }
.snav-plink { font-size: 14px; line-height: 20px; font-weight: 400; color: #444; padding: 6px 0; text-decoration: none; }
.snav-plink:hover { color: #0A0A0A; text-decoration: underline; text-underline-offset: 3px; }
.snav-all { font-size: 12px; line-height: 17px; letter-spacing: 2px; text-transform: uppercase; color: #555; margin-top: 8px; text-decoration: none; }
.snav-all:hover { color: #0A0A0A; }
.snav-panel-art { padding: 34px 0 44px; display: flex; flex-direction: column; gap: 26px; }
.snav-art-top { display: flex; align-items: center; justify-content: space-between; }
.snav-letters { display: flex; gap: 6px; }
.snav-letters .snav-plink, .snav-letter-off { font-size: 12px; line-height: 17px; letter-spacing: 1px; width: 22px; text-align: center; padding: 0; }
.snav-letter-off { color: #CCC; }
.snav-names { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: repeat(12, auto); gap: 0 40px; }
.snav-name { font-size: 14px; line-height: 20px; font-weight: 400; color: #444; padding: 5px 0; text-decoration: none; }
.snav-name:hover { color: #0A0A0A; }

/* Drawer (mobile) */
.snav-drawer { position: fixed; inset: 0; background: #fff; z-index: 2000; display: flex; flex-direction: column; }
.snav-drawer[hidden] { display: none; }
.snav-drawer-bar { height: 64px; padding: 0 12px 0 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(0,0,0,0.13); flex: 0 0 auto; }
.snav-drawer-bar img { width: 232px; height: auto; display: block; }
.snav-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: none; border: 0; color: #444; cursor: pointer; }
.snav-drawer-scroll { flex: 1 1 auto; overflow-y: auto; display: flex; flex-direction: column; -webkit-overflow-scrolling: touch; }
.snav-mrow { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 24px; border: 0; border-bottom: 1px solid rgba(0,0,0,0.13); font-size: 15px; line-height: 21px; letter-spacing: 2.5px; text-transform: uppercase; color: #444; background: none; width: 100%; text-align: left; text-decoration: none; font-family: inherit; cursor: pointer; }
.snav-mrow:hover { background: #FCFCFC; }
.snav-mico { color: #A3A3A3; display: flex; }
.snav-macc[aria-expanded="false"] .snav-ico-minus, .snav-macc[aria-expanded="true"] .snav-ico-plus { display: none; }
.snav-msub { background: #FCFCFC; border-bottom: 1px solid rgba(0,0,0,0.13); padding-bottom: 18px; display: flex; flex-direction: column; }
.snav-msub[hidden] { display: none; }
.snav-mlabel { padding: 14px 24px 6px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #A3A3A3; }
.snav-mshow { display: flex; gap: 14px; align-items: center; padding: 10px 24px; text-decoration: none; }
.snav-mshow:hover { background: #F7F7F7; }
.snav-mshow-img { width: 56px; height: 56px; object-fit: cover; display: block; flex: 0 0 auto; }
.snav-mshow-title { display: block; font-size: 14px; line-height: 20px; font-weight: 400; color: #444; }
.snav-mshow-dates { display: block; font-size: 12px; line-height: 17px; color: #676767; }
.snav-myears { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 0 24px; }
.snav-myears a { font-size: 14px; line-height: 20px; font-weight: 400; color: #444; min-height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(0,0,0,0.13); text-decoration: none; background: #fff; }
.snav-mall { margin: 14px 24px 0; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #555; min-height: 44px; display: flex; align-items: center; text-decoration: none; }
.snav-mletters { display: flex; overflow-x: auto; padding: 6px 12px 0; }
.snav-mletters a, .snav-mletters span { font-size: 12px; letter-spacing: 1px; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; text-decoration: none; color: #444; }
.snav-mletters span { color: #CCC; }
.snav-mletter { padding: 14px 24px 4px; font-size: 12px; letter-spacing: 2px; color: #A3A3A3; scroll-margin-top: 8px; }
.snav-mname { display: flex; align-items: center; min-height: 48px; padding: 0 24px; font-size: 14px; line-height: 20px; font-weight: 400; color: #444; text-decoration: none; }
.snav-mname:hover { background: #F7F7F7; }
.snav-mfoot { padding: 28px 24px 32px; display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.snav-maddr { font-size: 12px; line-height: 20px; color: #0A0A0A; }
.snav-mphone { font-size: 12px; line-height: 20px; color: #0A0A0A; min-height: 44px; display: flex; align-items: center; text-decoration: none; }
.snav-msocial { display: flex; gap: 8px; margin-left: -12px; }
.snav-msocial a { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: #444; }
body.snav-drawer-open { overflow: hidden; }

/* Breakpoints */
@media (max-width: 767px) {
  .snav-bar { height: 64px; margin-left: 24px; margin-right: 12px; }
  .snav.is-compact .snav-bar { height: 64px; }
  .snav-logo img, .snav.is-compact .snav-logo img { width: 232px; height: auto; }
  .snav-desktop, .snav-panel { display: none !important; }
  .snav-burger { display: flex; }
}
@media (min-width: 1600px) {
  .snav-desktop { gap: 60px; }
  .snav-card, .snav-card-img { width: 300px; }
  .snav-card-img { height: 225px; }
  .snav-names { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(8, auto); }
  .snav-years { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  /* gap and logo width are clamped fluidly above; only the panel spacing needs
     a breakpoint here. Re-declaring them fixed is what produced a 0px gap
     between the wordmark and the links across this whole band. */
  .snav-panel-exh { gap: 40px; }
  .snav-col-years { padding-left: 30px; }
  .snav-cards { gap: 16px; }
  .snav-card, .snav-card-img { width: 180px; }
  .snav-card-img { height: 135px; }
  .snav-names { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(16, auto); }
}


.snav-card-tag { display: block; margin-top: 10px; font-size: 11px; line-height: 16px; letter-spacing: 2px; text-transform: uppercase; color: #A3A3A3; }
.snav-mshow-tag { display: block; font-size: 10px; line-height: 15px; letter-spacing: 2px; text-transform: uppercase; color: #A3A3A3; }

/* ---- Search: slides out of the nav bar; the drawer keeps its own field ---- */
.snav-search { position: relative; display: flex; align-items: center; flex: 0 0 auto; }
.snav-search-toggle { width: 44px; height: 44px; margin-right: -10px; padding: 0; display: flex; align-items: center; justify-content: center;
  background: none; border: 0; color: #A3A3A3; cursor: pointer; position: relative; z-index: 2; }
.snav-search-toggle:hover { color: #555; }
.snav.is-searching .snav-search-toggle { color: #555; }
.snav-ico-close { display: none; }
.snav.is-searching .snav-ico-search { display: none; }
.snav.is-searching .snav-ico-close { display: flex; }

/* the field grows leftwards out of the icon */
.snav-search-input { position: absolute; right: 34px; width: 0; opacity: 0; padding: 0; height: 36px; border: 0;
  border-bottom: 1px solid transparent; background: #fff; font-family: inherit; font-size: 16px; letter-spacing: 0.5px;
  color: #333; transition: width .28s ease, opacity .18s ease, border-color .28s ease; pointer-events: none; }
.snav-search-input::placeholder { color: #CCC; }
.snav.is-searching .snav-search-input { width: 340px; opacity: 1; border-bottom-color: rgba(0,0,0,0.25); pointer-events: auto; }

/* the nav words step aside while searching */
.snav-desktop > .snav-link { transition: opacity .18s ease; }
.snav.is-searching .snav-desktop > .snav-link { opacity: 0; pointer-events: none; }

/* results: a quiet list under the field, no wider than it needs to be */
.snav-search-drop { position: absolute; top: 100%; right: var(--sg); width: 420px; background: #fff;
  border: 1px solid rgba(0,0,0,0.13); border-top: 0; max-height: 70vh; overflow-y: auto; z-index: 6; }
.snav-search-drop[hidden] { display: none; }
.snav-search-status { padding: 12px 18px 8px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #A3A3A3; }
.snav-search-results { display: flex; flex-direction: column; }
.snav-res { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 11px 18px;
  border-top: 1px solid rgba(0,0,0,0.13); text-decoration: none; }
.snav-res:hover { background: #FCFCFC; }
.snav-res:hover .snav-res-name { color: #0A0A0A; }
.snav-res-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.snav-res-name { font-size: 15px; line-height: 21px; color: #444; }
.snav-res-meta { font-size: 12px; line-height: 17px; color: #676767; }
.snav-res-kind { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #A3A3A3; flex: 0 0 auto; }
.snav-res-empty { margin: 0; padding: 4px 18px 16px; font-size: 14px; line-height: 22px; color: #676767; }

/* drawer field (mobile) */
.snav-msearch { display: none; align-items: center; gap: 10px; padding: 0 24px; background: #F1F1F1;
  border-bottom: 1px solid rgba(0,0,0,0.13); flex: 0 0 auto; }
.snav-search-icon { color: #A3A3A3; display: flex; flex: 0 0 auto; }
.snav-msearch input { flex: 1 1 auto; min-width: 0; height: 56px; border: 0; background: none; font-family: inherit;
  font-size: 16px; color: #0A0A0A; }
.snav-msearch input::placeholder { color: #A3A3A3; }

@media (max-width: 1099px) { .snav.is-searching .snav-search-input { width: 250px; } }
@media (max-width: 767px) {
  .snav-search { display: none; }
  .snav-msearch { display: flex; }
  .snav-search-drop { display: none; }
  .snav-res { padding: 0 24px; min-height: 56px; align-items: center; border-top: 0; border-bottom: 1px solid rgba(0,0,0,0.13); }
  .snav-res-empty { padding: 16px 24px 8px; }
  .snav-search-status { padding: 12px 24px 4px; }
}

/* Below the fluid range the links no longer fit beside the wordmark at all, so
   hand over to the drawer a little earlier than the old 767px cutoff. */
@media (max-width: 899px) {
  .snav-desktop, .snav-panel { display: none !important; }
  .snav-burger { display: flex; }
  .snav-search { display: none; }
  .snav-msearch { display: flex; }
}
