body.search-open { overflow: hidden; }
.search-overlay {
  margin: 0; padding: 0; border: 0; width: 100%; max-width: none;
  height: 100dvh; max-height: none; overflow: auto; overscroll-behavior: contain;
  background: transparent; color: var(--text); scrollbar-gutter: stable;
}
.search-overlay::backdrop {
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  -webkit-backdrop-filter: blur(28px) saturate(.6); backdrop-filter: blur(28px) saturate(.6);
}
.search-shell { width: min(1180px, 100%); margin: 0 auto; padding: 36px 48px 64px; }
.search-overlay[open] .search-shell { animation: search-arrive .35s cubic-bezier(.2,.8,.2,1) both; }
.search-overlay[open]::backdrop { animation: search-backdrop .25s ease both; }
.search-overlay-head { display: grid; grid-template-columns: 1fr 96px 1fr; align-items: center; gap: 24px; margin-bottom: 56px; }
.search-overlay-head h2 { font-size: 12px; line-height: 18px; font-weight: 400; text-transform: uppercase; }
.search-overlay-head .globe { width: 96px; height: 48px; }
.search-overlay-close { display: inline-flex; align-items: center; justify-self: end; gap: 20px; min-height: 44px; font-size: 13px; }
.search-overlay-close svg { width: 22px; height: 22px; transition: transform .3s; }
.search-overlay-close:hover svg { transform: rotate(90deg); }
.search-overlay-form { border-bottom: 1px solid var(--text); display: flex; gap: 24px; align-items: center; padding-bottom: 18px; }
.search-overlay-form:focus-within { border-bottom-color: var(--accent); }
.search-overlay-form input { flex: 1; min-width: 0; width: 100%; border: 0; border-radius: 0; background: none; padding: 0; outline: none; box-shadow: none; font-size: clamp(36px, 5.8vw, 80px); line-height: 1.2; letter-spacing: -.045em; }
.search-overlay-form input::placeholder { color: var(--secondary); opacity: .65; }
.search-overlay-clear { width: 44px; height: 44px; flex: none; display: grid; place-items: center; }
.search-overlay-clear svg { width: 22px; height: 22px; }
.search-overlay-meta { display: flex; justify-content: space-between; gap: 24px; margin-block: 18px 32px; font-size: 12px; line-height: 18px; color: var(--secondary); }
.search-overlay-meta [role=status] { color: var(--text); }
.search-suggestions { margin: 0; padding: 0; list-style: none; }
.search-suggestion { display: grid; grid-template-columns: 28px 100px minmax(0,1fr) 26px; align-items: start; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.suggestion-number { font-size: 11px; line-height: 18px; color: var(--secondary); font-variant-numeric: tabular-nums; padding-top: 4px; }
.search-suggestion img { width: 100px; height: 90px; object-fit: cover; background: var(--surface); }
.suggestion-copy { min-width: 0; grid-column: 3; }
.suggestion-meta { display: block; font-size: 11px; line-height: 16px; color: var(--secondary); margin-bottom: 9px; }
.suggestion-copy h3 { font-size: clamp(25px, 2.5vw, 36px); line-height: 1.08; font-weight: 400; letter-spacing: -.025em; }
.suggestion-copy p { font-size: 15px; line-height: 1.45; max-width: 760px; margin-top: 12px; color: var(--secondary); }
.search-suggestion mark { color: inherit; background: none; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .13em; }
.suggestion-arrow { align-self: center; font-size: 25px; transition: transform .3s; }
.search-suggestion:hover, .search-suggestion:focus-visible { text-decoration: none; border-color: var(--accent); }
.search-suggestion:focus-visible .suggestion-copy h3, .search-suggestion:hover .suggestion-copy h3 { color: var(--accent-text, var(--accent)); }
.search-suggestion:hover .suggestion-arrow, .search-suggestion:focus-visible .suggestion-arrow { transform: translateX(5px); color: var(--accent-text, var(--accent)); }
.search-overlay button:focus-visible { text-decoration: none; box-shadow: inset 0 -1px 0 var(--accent); color: var(--accent-text, var(--accent)); }
.search-overlay-empty { padding-block: 48px 80px; max-width: 650px; }
.search-overlay-empty h3 { font-size: 36px; line-height: 1.15; margin-bottom: 18px; letter-spacing: -.025em; }
.search-overlay-empty p { font-size: 18px; line-height: 1.5; color: var(--secondary); }
.search-overlay-retry, .search-overlay-more { font-size: 14px; min-height: 48px; margin-top: 20px; }
.search-overlay-foot { margin-top: 40px; font-size: 11px; line-height: 18px; color: var(--secondary); }
/* The menu hands off to the same search layer; it never changes the page. */
a.navigator-search { color: var(--secondary); font-size: 32px; line-height: 1.25; justify-content: space-between; min-height: 78px; }
a.navigator-search:hover, a.navigator-search:focus-visible { color: var(--text); text-decoration: none; border-color: var(--accent); }
a.navigator-search > span:last-child { color: var(--text); font-size: 36px; }
@keyframes search-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes search-backdrop { from { opacity: 0; } to { opacity: 1; } }
@media(max-width:760px) {
  .search-shell { padding: 20px 24px 40px; }
  .search-overlay-head { grid-template-columns: 1fr 68px 1fr; margin-bottom: 36px; gap: 16px; }
  .search-overlay-head h2 { font-size: 10px; max-width: 100px; }
  .search-overlay-head .globe { width: 68px; height: 36px; }
  .search-overlay-close { font-size: 0; gap: 0; width: 44px; justify-content: end; }
  .search-overlay-form { gap: 12px; padding-bottom: 14px; }
  .search-overlay-form input { font-size: 36px; }
  .search-overlay-meta { margin-bottom: 14px; font-size: 11px; }
  .search-keyboard-hint { display: none; }
  .search-suggestion { grid-template-columns: 64px minmax(0,1fr) 16px; gap: 14px; padding-block: 20px; }
  .suggestion-number { display: none; }
  .search-suggestion img { width: 64px; height: 70px; }
  .suggestion-copy { grid-column: 2; }
  .suggestion-copy h3 { font-size: 22px; line-height: 1.14; }
  .suggestion-meta { font-size: 10px; line-height: 14px; margin-bottom: 7px; }
  .suggestion-copy p { font-size: 12px; line-height: 1.45; margin-top: 10px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  .suggestion-arrow { font-size: 19px; }
  .search-overlay-empty h3 { font-size: 30px; }
  .search-overlay-empty p { font-size: 16px; }
  a.navigator-search { font-size: 24px; min-height: 68px; }
}
@media(max-width:360px) { .search-shell { padding-inline: 20px; }.search-overlay-form input { font-size: 31px; }.search-suggestion { gap: 10px; grid-template-columns: 50px minmax(0,1fr) 16px; }.search-suggestion img { width: 50px; height: 62px; }.suggestion-copy h3 { font-size: 20px; } }
@media(prefers-reduced-motion:reduce) { .search-overlay[open] .search-shell, .search-overlay[open]::backdrop { animation: none; }.search-overlay * { transition: none !important; } }
@media print { .search-overlay { display: none !important; } }
