.rld-header, .rld-directory {
    --nav-ink: #342f2b;
    --nav-muted: #645b55;
    --nav-line: #d8d2c9;
    --nav-paper: #fbf9f6;
    --nav-edge: max(5.2%, calc((100% - 1900px) / 2));
    color: var(--nav-ink);
    font: 500 16px/1.45 "Barlow", Arial, sans-serif;
}
.rld-header { background: var(--nav-paper); border-bottom: 1px solid var(--nav-line); position: sticky; top: 0; z-index: 1000; }
.rld-header--away:not(.rld-header--expanded):not(:has(details[open], :focus-visible)) { transform: translateY(-101%); }
@media (prefers-reduced-motion: no-preference) {
    .rld-header { transition: transform 180ms ease-out; }
    .rld-header--home { transition: transform 180ms ease-out, background-color 140ms linear, border-bottom-color 140ms linear; }
    .rld-header--home.rld-header--away { transition-delay: 0s, 180ms, 180ms; }
}
.rld-header a, .rld-directory a { color: inherit; text-decoration: none; }
.rld-header button, .rld-header summary, .rld-directory button { font: inherit; color: inherit; }
.rld-header a:hover, .rld-directory a:hover, .rld-header summary:hover { text-decoration: underline; text-underline-offset: .25em; }
.rld-header :is(a, button, summary, input):focus-visible, .rld-directory :is(a, button, input):focus-visible { outline: 2px solid #98451f; outline-offset: 3px; }
.rld-header__inner { --link-gap: clamp(20px, 2vw, 34px); align-items: center; display: flex; gap: var(--link-gap); margin-inline: var(--nav-edge); min-height: 78px; position: relative; }
.rld-header__brand { display: inline-flex; flex: none; margin-inline-end: clamp(10px, 1.6vw, 24px); }
.rld-header__brand img { display: block; width: clamp(90px, 7.8vw, 118px); height: auto; }
.rld-header__links { align-items: center; display: flex; gap: var(--link-gap); min-width: 0; }
.rld-header__links > a, .rld-header__disclosure > summary, .rld-header__contact, .rld-header__toggle { align-items: center; display: inline-flex; gap: 6px; min-height: 44px; }
.rld-header a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
.rld-header__disclosure { position: relative; }
.rld-header__disclosure > summary { cursor: pointer; list-style: none; }
.rld-header__disclosure > summary::-webkit-details-marker { display: none; }
.rld-header__disclosure > summary i { font-size: 10px; }
.rld-header__disclosure[open] > summary i { transform: rotate(180deg); }
.rld-header__panel { background: var(--nav-paper); border: 1px solid var(--nav-line); box-shadow: 0 6px 20px #332b2212; padding: 18px 22px; position: absolute; top: 100%; width: max-content; z-index: 1; }
.rld-catalogue-search { display: flex; width: min(245px, 100%); margin: 0; border-bottom: 1px solid #aca59c; color: #413d37; font: 500 16px/1.4 Barlow, Arial, sans-serif; }
.rld-catalogue-search:focus-within { border-color: #774931; }
.rld-catalogue-search input { flex: 1; min-width: 0; background: transparent; color: inherit; border: 0; padding: 7px 4px; font: inherit; }
.rld-catalogue-search button, .rld-header__account button, .rld-header__toggle { border: 0; background: none; }
.rld-catalogue-search button { padding: 0; width: 44px; min-height: 44px; display: grid; place-items: center; color: inherit; }
.rld-catalogue-search :focus-visible { outline: 2px solid #774931; outline-offset: 2px; }
.rld-header__account .rld-header__panel a, .rld-header__account button { display: block; padding: 7px 0; }
.rld-header__toggle[hidden] { display: none; }
.rld-header--home {
    --nav-hero-base: #e5dcd5;
    background-color: color-mix(in srgb, var(--nav-paper) var(--nav-paper-mix, 0%), var(--nav-hero-base));
    border-bottom-color: color-mix(in srgb, var(--nav-line) var(--nav-paper-mix, 0%), transparent);
}
.rld-header--home.rld-header--expanded { background-color: var(--nav-paper); border-bottom-color: var(--nav-line); }
@media (min-width: 768px) {
    .rld-header--home { position: fixed; inset: 0 0 auto; --nav-hero-base: transparent; }
}
html:has(.rld-header--home) { scroll-padding-top: 80px; scroll-behavior: auto; }
@media (max-width: 767px) {
    html:has(.rld-header--home) { scroll-padding-top: 66px; }
    .rld-header__inner { min-height: 64px; flex-wrap: wrap; justify-content: space-between; gap: 0; }
    .rld-header--compact .rld-header__inner { justify-content: flex-start; column-gap: 16px; }
    .rld-header__brand { margin-inline-end: 0; }
    .rld-header__brand img { width: 79px; }
    .rld-header__toggle { padding: 0 3px; gap: 7px; margin-left: auto; }
    .rld-header__toggle i { font-size: 21px; }
    .rld-header__links { flex: 0 0 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--nav-paper); padding: 8px 0 16px; }
    .rld-header--compact .rld-header__links { display: none; }
    .rld-header--expanded .rld-header__links { display: flex; position: absolute; top: 100%; inset-inline: calc(-5.2vw); padding-inline: 5.2vw; max-height: calc(100dvh - 65px); overflow-y: auto; border-bottom: 1px solid var(--nav-line); }
    .rld-header__disclosure > summary { display: flex; justify-content: space-between; }
    .rld-header__links > a, .rld-header__disclosure { border-bottom: 1px solid var(--nav-line); }
    .rld-header__disclosure .rld-header__panel { width: 100%; position: static; padding: 5px 0 12px 8px; border: 0; box-shadow: none; }
    .rld-header:not(.rld-header--compact) .rld-header__links { order: 1; }
}
.rld-directory { padding: clamp(24px, 3vw, 48px) var(--nav-edge) clamp(42px, 6vw, 88px); background: var(--nav-paper); }
.rld-directory__crumb { display: flex; gap: 10px; font-size: 14px; color: var(--nav-muted); margin-bottom: clamp(26px, 4vw, 60px); }
.rld-directory__heading { align-items: center; justify-content: space-between; gap: 24px; display: flex; margin-bottom: 28px; }
.rld-directory h1 { font-family: var(--display-font); font-weight: 600; color: var(--nav-ink); }
.rld-directory h1 { font-size: clamp(38px, 5vw, 66px); line-height: 1.07; letter-spacing: -.025em; margin: 0; }
.rld-directory .front-grid > li { scroll-margin-top: 92px; }
.rld-directory__subcategories { margin: 10px 0 0; padding: 0; list-style: none; text-align: center; }
.rld-directory__subcategories a { display: inline-block; padding: 4px 2px; font-size: 15px; line-height: 1.35; color: var(--nav-muted); }
@media (max-width: 580px) {
    .rld-directory__heading { align-items: stretch; flex-direction: column; gap: 15px; }
    .rld-catalogue-search { width: 100%; }
    .rld-directory__subcategories a { padding-block: 6px; }
}
