/*
 * Longridge House Navigation v0.7.5
 */

:root {
    --lh-nav-paper: #f5f1ec;
    --lh-nav-paper-deep: #e9e0d7;
    --lh-nav-copper: #c6846c;
    --lh-nav-copper-dark: #a96852;
    --lh-nav-ink: #2b2b2b;
    --lh-nav-muted: #6f6964;
    --lh-nav-line: rgba(43,43,43,.12);
    --lh-nav-height: 92px;
    --lh-nav-ease: cubic-bezier(.22,1,.36,1);
}

body.lh-navigation-test-active .top-header,
body.lh-navigation-test-active .site-menu {
    display: none !important;
}

body.lh-navigation-test-active {
    --header-h: 0px;
}

body.lh-navigation-test-active .page-content {
    padding-top: 0 !important;
}

body.lh-navigation-lock {
    overflow: hidden;
}

.lh-navigation,
.lh-navigation * {
    box-sizing: border-box;
}

.lh-navigation {
    position: relative;
    z-index: 1200;
    width: 100%;
    color: var(--lh-nav-ink);
    font-family: 'museo-sans', system-ui, sans-serif;
}

.lh-navigation a {
    color: inherit;
    text-decoration: none !important;
    border: 0 !important;
}

.lh-navigation button {
    color: inherit;
    font: inherit;
}

.lh-navigation__bar {
    position: relative;
    z-index: 5;
    min-height: var(--lh-nav-height);
    display: grid;
    grid-template-columns: minmax(230px, 1fr) auto minmax(40px, 1fr);
    align-items: center;
    gap: 30px;
    padding: 13px clamp(25px, 3vw, 54px);
    background: rgba(245,241,236,.98);
    border-bottom: 1px solid var(--lh-nav-line);
    transition: min-height .35s var(--lh-nav-ease), box-shadow .35s ease;
}

.lh-navigation.is-scrolled .lh-navigation__bar,
.lh-navigation.is-panel-open .lh-navigation__bar {
    min-height: 76px;
    box-shadow: 0 8px 28px rgba(43,43,43,.08);
}

.lh-navigation__brand {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    color: var(--lh-nav-copper);
}

.lh-navigation__brand-full,
.lh-navigation__brand-compact {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.lh-navigation__brand-compact {
    display: none;
}

.lh-navigation__logo-image {
    width: auto;
    max-width: 230px;
    max-height: 60px;
    object-fit: contain;
}

.lh-navigation__logo-image--mark {
    max-width: 38px;
    max-height: 48px;
}

.lh-navigation__fallback-mark {
    width: 32px;
    flex: 0 0 32px;
    display: inline-flex;
}

.lh-navigation__fallback-mark svg {
    width: 100%;
    height: auto;
}

.lh-navigation__fallback-mark path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lh-navigation__fallback-wordmark {
    display: flex;
    flex-direction: column;
    font-family: 'Marcellus', Georgia, serif;
    font-size: 20px;
    line-height: .88;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.lh-navigation__primary {
    justify-self: center;
}

.lh-navigation__primary ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 2vw, 36px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.lh-navigation__primary li {
    margin: 0;
    padding: 0;
}

.lh-navigation__primary-control {
    display: block;
    border: 0 !important;
    padding: 13px 0;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .12em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color .25s ease;
}

.lh-navigation__primary-control:hover,
.lh-navigation__primary-control:focus-visible,
.lh-navigation__primary-control[aria-expanded="true"] {
    color: var(--lh-nav-copper-dark);
}

.lh-navigation__toggle {
    justify-self: end;
    display: none;
    width: 48px;
    height: 48px;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.lh-navigation__toggle-lines {
    width: 26px;
    height: 20px;
    margin: auto;
    display: grid;
    align-content: space-between;
}

.lh-navigation__toggle-lines i {
    width: 100%;
    height: 1px;
    display: block;
    background: currentColor;
    transform-origin: center;
    transition: transform .4s var(--lh-nav-ease), opacity .2s ease;
}

.lh-navigation__toggle[aria-expanded="true"] .lh-navigation__toggle-lines i:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.lh-navigation__toggle[aria-expanded="true"] .lh-navigation__toggle-lines i:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.lh-navigation__toggle[aria-expanded="true"] .lh-navigation__toggle-lines i:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* Desktop panel stage */
.lh-navigation__panel-stage {
    position: absolute;
    z-index: 3;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background: rgba(245,241,236,.995);
    border-bottom: 1px solid transparent;
    box-shadow: 0 24px 55px rgba(43,43,43,0);
    opacity: 0;
    pointer-events: none;
    transition:
        height .48s var(--lh-nav-ease),
        opacity .25s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.lh-navigation__panel-stage.is-open {
    opacity: 1;
    pointer-events: auto;
    border-bottom-color: var(--lh-nav-line);
    box-shadow: 0 24px 55px rgba(43,43,43,.13);
}

.lh-navigation-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px clamp(25px, 3vw, 54px) 28px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(9px);
    pointer-events: none;
    transition: opacity .24s ease, transform .42s var(--lh-nav-ease), visibility 0s .42s;
}

.lh-navigation-panel.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: .08s, .08s, 0s;
}

.lh-navigation-panel.is-leaving {
    opacity: 0;
    visibility: visible;
    transform: translateY(-6px);
    transition-delay: 0s;
}

.lh-navigation-panel__inner {
    width: min(1380px,100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(240px,310px) 1fr;
    gap: clamp(30px,4vw,68px);
}

.lh-navigation-panel--no-feature .lh-navigation-panel__inner {
    grid-template-columns: 1fr;
}

.lh-navigation-feature {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--lh-nav-line) !important;
    box-shadow: 0 10px 25px rgba(43,43,43,.06);
    transition: box-shadow .3s ease, transform .35s var(--lh-nav-ease);
}

.lh-navigation-feature:hover {
    box-shadow: 0 16px 36px rgba(43,43,43,.12);
    transform: translateY(-2px);
}

.lh-navigation-feature__image {
    min-height: 190px;
    display: block;
    background-color: var(--lh-nav-paper-deep);
    background-position: center;
    background-size: cover;
}

.lh-navigation-feature.has-no-image .lh-navigation-feature__image,
.lh-mobile-feature.has-no-image .lh-mobile-feature__image {
    background:
        radial-gradient(circle at 25% 30%, rgba(198,132,108,.48), transparent 28%),
        linear-gradient(145deg,#d5b39f,#8e7568 52%,#3f3a37);
}

.lh-navigation-feature__copy {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 20px;
}

.lh-navigation-feature__copy strong {
    font-family: 'Marcellus', Georgia, serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: .03em;
}

.lh-navigation-feature__copy > span {
    color: var(--lh-nav-muted);
    font-size: 13px;
    line-height: 1.55;
}

.lh-navigation-feature__copy em {
    margin-top: 3px;
    color: var(--lh-nav-copper-dark);
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.lh-navigation-panel__content {
    min-width: 0;
}

.lh-navigation-panel__heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 30px;
    padding: 8px 0 17px;
    border-bottom: 1px solid var(--lh-nav-line);
}

.lh-navigation-panel__heading h2 {
    margin: 0;
    font-family: 'Marcellus', Georgia, serif !important;
    font-size: clamp(26px,2.2vw,38px);
    font-weight: 400;
    line-height: 1;
    text-transform: none;
}

.lh-navigation-panel__heading p {
    max-width: 520px;
    margin: 0;
    color: var(--lh-nav-muted);
    font-size: 13px;
    line-height: 1.5;
    text-align: right;
}

.lh-navigation-panel__grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
}

.lh-navigation-tile {
    min-height: 112px;
    display: grid;
    grid-template-columns: 30px 1fr auto;
    align-items: start;
    gap: 15px;
    padding: 22px 18px;
    border-right: 1px solid var(--lh-nav-line) !important;
    border-bottom: 1px solid var(--lh-nav-line) !important;
    opacity: 0;
    transform: translateY(10px);
    transition:
        color .25s ease,
        background-color .25s ease,
        transform .45s var(--lh-nav-ease),
        opacity .3s ease;
}

.lh-navigation-panel.is-active .lh-navigation-tile {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(.08s + (var(--lh-item-index) * .035s));
}

.lh-navigation-tile:nth-child(3n) {
    border-right: 0 !important;
}

.lh-navigation-tile:hover,
.lh-navigation-tile:focus-visible {
    background: rgba(255,255,255,.65);
    color: var(--lh-nav-copper-dark);
}

.lh-navigation-tile__icon {
    color: var(--lh-nav-copper);
}

.lh-navigation-tile__icon img,
.lh-navigation-tile__icon svg {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.lh-navigation-tile__icon path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lh-navigation-tile strong,
.lh-navigation-tile small {
    display: block;
}

.lh-navigation-tile strong {
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    line-height: 1.2;
    text-transform: uppercase;
}

.lh-navigation-tile small {
    color: var(--lh-nav-muted);
    font-size: 12px;
    line-height: 1.45;
}

.lh-navigation-tile > i {
    color: var(--lh-nav-copper);
    font-style: normal;
}

/* Compact/mobile layout is activated by JavaScript using the configured breakpoint. */
.lh-mobile-navigation {
    display: none;
}

.lh-navigation.is-compact {
    --lh-nav-height: 70px;
}

.lh-navigation.is-compact .lh-navigation__bar {
    grid-template-columns: 1fr auto;
    padding: 8px 17px;
}

.lh-navigation.is-compact .lh-navigation__primary,
.lh-navigation.is-compact .lh-navigation__panel-stage {
    display: none;
}

.lh-navigation.is-compact .lh-navigation__toggle {
    display: block;
}

.lh-navigation.is-compact .lh-navigation__brand-full {
    display: none;
}

.lh-navigation.is-compact .lh-navigation__brand-compact {
    display: inline-flex;
}

.lh-navigation.is-compact .lh-mobile-navigation {
    position: fixed;
    z-index: 4;
    inset: 0;
    display: block;
    background: #242424;
    color: var(--lh-nav-paper);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .3s ease, transform .45s var(--lh-nav-ease), visibility 0s .45s;
}

/* aria-hidden is the source of truth: a closed overlay and its contents must
 * never intercept taps, clicks or keyboard focus during the closing animation. */
.lh-navigation.is-compact .lh-mobile-navigation[aria-hidden="true"],
.lh-navigation.is-compact .lh-mobile-navigation[aria-hidden="true"] * {
    pointer-events: none !important;
}

.lh-mobile-view[aria-hidden="true"],
.lh-mobile-view[aria-hidden="true"] * {
    pointer-events: none !important;
}

.lh-navigation.is-compact.is-mobile-open .lh-mobile-navigation {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}

.lh-navigation.is-compact.is-mobile-open .lh-navigation__bar {
    position: fixed;
    z-index: 8;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    border-bottom-color: rgba(245,241,236,.14);
    box-shadow: none;
    color: var(--lh-nav-paper);
}

.lh-navigation.is-compact.is-mobile-open .lh-navigation__brand {
    opacity: 0;
    pointer-events: none;
}

.lh-mobile-navigation__viewport {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.lh-mobile-view {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: calc(var(--lh-nav-height) + 20px) 24px max(30px,env(safe-area-inset-bottom));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(18%);
    transition: transform .5s var(--lh-nav-ease), opacity .3s ease, visibility 0s .5s;
}

.lh-mobile-view.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition-delay: 0s;
}

.lh-mobile-view.is-leaving-left {
    opacity: 0;
    transform: translateX(-18%);
}

.lh-navigation__brand,
.lh-mobile-view__brand {
    color: var(--lh-nav-copper);
}

.lh-mobile-view__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px 0 26px;
    color: var(--lh-nav-copper);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .35s ease .1s, transform .5s var(--lh-nav-ease) .1s;
}

.lh-navigation.is-mobile-open .lh-mobile-view--root.is-active .lh-mobile-view__brand {
    opacity: 1;
    transform: translateY(0);
}

.lh-mobile-view__brand .lh-navigation__logo-image {
    max-width: 210px;
    max-height: 70px;
}

.lh-mobile-view__brand .lh-navigation__fallback-mark {
    width: 31px;
    flex-basis: 31px;
}

.lh-mobile-view__brand .lh-navigation__fallback-wordmark {
    font-size: 19px;
}

.lh-mobile-root-nav {
    width: min(100%,460px);
    margin: auto;
}

.lh-mobile-root-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lh-mobile-root-nav li {
    overflow: hidden;
    opacity: 0;
    transform: translateY(17px);
    transition: opacity .35s ease, transform .55s var(--lh-nav-ease);
}

.lh-navigation.is-mobile-open .lh-mobile-view--root.is-active li {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(.14s + (var(--lh-item-index) * .042s));
}

.lh-mobile-root-nav a,
.lh-mobile-root-nav button {
    width: 100%;
    min-height: 47px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0 !important;
    padding: 6px 2px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-family: 'Marcellus', Georgia, serif;
    font-size: clamp(23px,7vw,32px);
    font-weight: 400;
    letter-spacing: .025em;
    line-height: 1.05;
    text-align: left;
}

.lh-mobile-root-nav i {
    color: var(--lh-nav-copper);
    font-family: 'museo-sans', sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 300;
}

.lh-mobile-navigation__socials {
    width: min(100%,460px);
    margin: 22px auto 0;
    padding-top: 18px;
    display: flex;
    justify-content: center;
    gap: 24px;
    border-top: 1px solid rgba(245,241,236,.15);
}

.lh-mobile-navigation__socials a {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--lh-nav-copper);
}

.lh-mobile-navigation__socials svg {
    width: 21px;
    height: 21px;
    overflow: visible;
}

.lh-mobile-navigation__socials path,
.lh-mobile-navigation__socials rect,
.lh-mobile-navigation__socials circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lh-mobile-view__back {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 0;
    padding: 7px 0;
    background: transparent;
    color: var(--lh-nav-copper);
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.lh-mobile-view__header {
    margin: 18px 0 18px;
}

.lh-mobile-view__header h2 {
    margin: 0 0 9px;
    color: inherit;
    font-family: 'Marcellus', Georgia, serif !important;
    font-size: clamp(34px,10vw,48px);
    font-weight: 400;
    line-height: 1;
    text-transform: none;
}

.lh-mobile-view__header p {
    max-width: 440px;
    margin: 0;
    color: rgba(245,241,236,.66);
    font-size: 13px;
    line-height: 1.5;
}

.lh-mobile-view__scroll {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 2px 42px;
    scrollbar-width: thin;
}

.lh-mobile-feature {
    position: relative;
    min-height: clamp(210px,48vw,270px);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    margin-bottom: 8px;
    background: #393633;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .35s ease .08s, transform .55s var(--lh-nav-ease) .08s;
}

.lh-mobile-view--section.is-active .lh-mobile-feature {
    opacity: 1;
    transform: translateY(0);
}

.lh-mobile-feature__image,
.lh-mobile-feature__shade {
    position: absolute;
    inset: 0;
}

.lh-mobile-feature__image {
    background-position: center;
    background-size: cover;
    transform: scale(1.035);
    transition: transform 1.1s var(--lh-nav-ease);
}

.lh-mobile-view--section.is-active .lh-mobile-feature__image {
    transform: scale(1);
}

.lh-mobile-feature__shade {
    background: linear-gradient(to top,rgba(20,20,20,.94),rgba(20,20,20,.08) 72%);
}

.lh-mobile-feature__copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
}

.lh-mobile-feature__copy strong {
    font-family: 'Marcellus', Georgia, serif;
    font-size: 25px;
    font-weight: 400;
}

.lh-mobile-feature__copy > span {
    color: rgba(245,241,236,.76);
    font-size: 12px;
    line-height: 1.5;
}

.lh-mobile-feature__copy em {
    color: #e0a58d;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.lh-mobile-tiles {
    border-top: 1px solid rgba(245,241,236,.15);
}

.lh-mobile-tile {
    min-height: 82px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid rgba(245,241,236,.15) !important;
    padding: 15px 3px;
    opacity: 0;
    transform: translateY(13px);
    transition: background-color .25s ease, opacity .35s ease, transform .5s var(--lh-nav-ease);
}

.lh-mobile-view--section.is-active .lh-mobile-tile {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(.1s + (var(--lh-item-index) * .04s));
}

.lh-mobile-tile strong,
.lh-mobile-tile small {
    display: block;
}

.lh-mobile-tile strong {
    margin-bottom: 5px;
    font-family: 'Marcellus', Georgia, serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.15;
}

.lh-mobile-tile small {
    color: rgba(245,241,236,.59);
    font-size: 11px;
    line-height: 1.35;
}

.lh-mobile-tile i {
    color: var(--lh-nav-copper);
    font-style: normal;
}

.lh-navigation-notice {
    padding: 18px;
    background: #fff7d6;
    border: 1px solid #e7d385;
    color: #3b3523;
}

@media (max-width: 520px) {
    .lh-navigation.is-compact .lh-navigation__bar {
        padding-inline: 13px;
    }

    .lh-mobile-view {
        padding-inline: 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lh-navigation *,
    .lh-navigation *::before,
    .lh-navigation *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
    }
}

/* v0.3: linked top-level labels, optional panels and photographic child cards */
.lh-navigation__svg {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    overflow: visible;
}

.lh-navigation__brand-full .lh-navigation__svg { max-width: 224px; max-height: 58px; }
.lh-navigation__brand-compact .lh-navigation__svg { max-width: 42px; max-height: 54px; }
.lh-mobile-view__brand .lh-navigation__svg { width: min(250px, 64vw); max-height: 88px; margin: 0 auto; }

/* Existing Longridge SVG files contain their own colours. Override them here so the
   same assets can adapt to the cream and charcoal navigation treatments. */
.lh-navigation__brand svg *,
.lh-mobile-view__brand svg * {
    fill: currentColor !important;
    stroke: currentColor;
}

.lh-navigation__primary-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lh-navigation__primary-link {
    display: block;
    padding: 13px 0;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .12em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color .25s ease;
}

.lh-navigation__disclosure {
    width: 22px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border: 0;
    padding: 0 0 4px;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    transition: color .25s ease, transform .3s var(--lh-nav-ease);
}

.lh-navigation__primary-item:hover .lh-navigation__primary-link,
.lh-navigation__primary-item:focus-within .lh-navigation__primary-link,
.lh-navigation__disclosure[aria-expanded="true"] {
    color: var(--lh-nav-copper-dark);
}

.lh-navigation__disclosure[aria-expanded="true"] { transform: rotate(180deg); }

.lh-navigation-tile {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.lh-navigation-tile.is-text-only {
    grid-template-columns: minmax(0, 1fr) auto;
}

.lh-navigation-tile__thumbnail {
    width: 74px;
    aspect-ratio: 1 / 1;
    display: block;
    overflow: hidden;
    flex: 0 0 74px;
    background: var(--lh-nav-paper-deep);
}

.lh-navigation-tile__thumbnail img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .55s var(--lh-nav-ease);
}

.lh-navigation-tile:hover .lh-navigation-tile__thumbnail img { transform: scale(1.055); }

.lh-navigation-panel__landing-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 14px 0;
    font-size: 13px;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: var(--lh-nav-copper-dark) !important;
}

.lh-navigation-panel--promotional .lh-navigation-panel__content {
    align-self: center;
}

.lh-navigation.is-compact .lh-navigation__brand-full { display: none; }
.lh-navigation.is-compact .lh-navigation__brand-compact { display: inline-flex; }
.lh-navigation.is-compact .lh-navigation__primary { display: none; }
.lh-navigation.is-compact .lh-navigation__toggle { display: block; }

@media (max-width: 1180px) {
    .lh-navigation__bar { grid-template-columns: minmax(190px, .8fr) auto minmax(32px, .2fr); gap: 18px; }
    .lh-navigation__primary ul { gap: 18px; }
    .lh-navigation__primary-link { font-size: 12px; letter-spacing: .09em; }
    .lh-navigation-tile__thumbnail { width: 62px; flex-basis: 62px; }
}

/* v0.4: cleaner top-level navigation and equal photographic submenu cards */
.lh-navigation__primary-item { gap: 0; }
.lh-navigation__disclosure { display: none !important; }

.lh-navigation__brand-full .lh-navigation__svg {
    width: clamp(245px, 18vw, 330px);
    max-width: 330px;
    max-height: 74px;
}

.lh-navigation__brand-full {
    color: var(--lh-nav-copper);
}

.lh-navigation__brand-full svg [fill]:not([fill="none"]),
.lh-navigation__brand-full svg path:not([fill="none"]),
.lh-navigation__brand-full svg polygon:not([fill="none"]),
.lh-navigation__brand-full svg rect:not([fill="none"]) {
    fill: currentColor !important;
}

.lh-navigation__brand-full svg [stroke]:not([stroke="none"]) {
    stroke: currentColor !important;
}

.lh-navigation__bar {
    grid-template-columns: minmax(285px, 1.15fr) auto minmax(24px, .35fr);
}

.lh-navigation-panel__inner--cards {
    display: block;
    max-width: 1400px;
    margin: 0 auto;
    padding: 34px clamp(26px, 4vw, 62px) 42px;
}

.lh-navigation-panel__heading--stacked {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 25px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--lh-nav-line);
}

.lh-navigation-panel__heading--stacked h2 {
    margin: 0 0 8px;
}

.lh-navigation-panel__heading--stacked p {
    max-width: 660px;
    text-align: left;
}

.lh-navigation-panel__section-link,
.lh-mobile-view__landing {
    flex: 0 0 auto;
    color: var(--lh-nav-copper-dark) !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.lh-navigation-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.lh-navigation-card {
    min-width: 0;
    overflow: hidden;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(43,43,43,.08) !important;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .32s ease, transform .5s var(--lh-nav-ease), box-shadow .28s ease;
}

.lh-navigation-panel.is-active .lh-navigation-card {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(.06s + (var(--lh-item-index) * .04s));
}

.lh-navigation-card:hover,
.lh-navigation-card:focus-visible {
    box-shadow: 0 12px 28px rgba(43,43,43,.12);
    transform: translateY(-2px);
}

.lh-navigation-card__image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #c8b2a4, #7f756e);
}

.lh-navigation-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .6s var(--lh-nav-ease);
}

.lh-navigation-card:hover .lh-navigation-card__image img { transform: scale(1.045); }

.lh-navigation-card__copy {
    min-height: 92px;
    display: block;
    padding: 18px 18px 20px;
}

.lh-navigation-card__copy strong,
.lh-navigation-card__copy small {
    display: block;
}

.lh-navigation-card__copy strong {
    margin-bottom: 7px;
    font-family: 'Marcellus', Georgia, serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: none;
}

.lh-navigation-card__copy small {
    color: var(--lh-nav-muted);
    font-size: 12px;
    line-height: 1.45;
}

.lh-navigation-panel.is-promotional .lh-navigation-panel__heading--stacked {
    margin-bottom: 0;
    border-bottom: 0;
}

.lh-mobile-root-nav a,
.lh-mobile-root-nav button,
.lh-mobile-view__header h2,
.lh-mobile-card__copy strong {
    text-transform: none !important;
}

.lh-mobile-view__landing {
    display: inline-flex;
    margin-top: 14px;
}

.lh-mobile-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding-bottom: 30px;
}

.lh-mobile-card {
    overflow: hidden;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12) !important;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .35s ease, transform .48s var(--lh-nav-ease);
}

.lh-mobile-view--section.is-active .lh-mobile-card {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(.12s + (var(--lh-item-index) * .05s));
}

.lh-mobile-card__image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(198,132,108,.55), rgba(255,255,255,.08));
}

.lh-mobile-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.lh-mobile-card__copy {
    min-height: 86px;
    display: block;
    padding: 14px;
}

.lh-mobile-card__copy strong,
.lh-mobile-card__copy small { display: block; }
.lh-mobile-card__copy strong { margin-bottom: 5px; font-family: 'Marcellus', Georgia, serif; font-size: 17px; font-weight: 400; }
.lh-mobile-card__copy small { color: rgba(255,255,255,.68); font-size: 11px; line-height: 1.4; }

@media (max-width: 1240px) {
    .lh-navigation-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lh-navigation__brand-full .lh-navigation__svg { width: clamp(220px, 17vw, 285px); }
    .lh-navigation__bar { grid-template-columns: minmax(240px, 1fr) auto minmax(20px, .2fr); }
}

@media (max-width: 720px) {
    .lh-mobile-card-grid { grid-template-columns: 1fr; }
    .lh-mobile-card { display: grid; grid-template-columns: 116px minmax(0, 1fr); }
    .lh-mobile-card__image { aspect-ratio: auto; min-height: 106px; }
    .lh-mobile-card__copy { min-height: 106px; }
}

/* Longridge House Navigation v0.5 refinements */
.lh-navigation__brand,
.lh-navigation__primary-item {
    animation: lhNavReveal .62s var(--lh-nav-ease) both;
}

.lh-navigation__primary-item {
    animation-delay: calc(.12s + (var(--lh-nav-index) * .055s));
}

.lh-navigation__brand {
    animation-delay: .04s;
}

@keyframes lhNavReveal {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.lh-navigation-panel__heading--stacked {
    align-items: flex-start;
}

.lh-navigation-panel__heading--stacked p {
    max-width: 720px;
}

.lh-navigation-card-grid--single {
    grid-template-columns: minmax(280px, 2fr) repeat(2, minmax(0, 1fr));
}

.lh-navigation-card--single {
    grid-column: 1;
}

.lh-navigation-panel.is-promotional .lh-navigation-panel__heading--stacked {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--lh-nav-line);
}

.lh-navigation.is-compact .lh-navigation__brand-compact .lh-navigation__svg {
    width: auto;
    max-width: 70px;
    max-height: 54px;
}

.lh-navigation.is-compact .lh-mobile-navigation {
    background: var(--lh-nav-copper);
    color: var(--lh-nav-paper);
}

.lh-navigation.is-compact.is-mobile-open .lh-navigation__bar {
    border-bottom-color: rgba(245,241,236,.2);
}

.lh-mobile-view__brand {
    color: var(--lh-nav-paper);
    margin-top: 10px;
}

.lh-mobile-view__brand .lh-navigation__svg {
    width: clamp(220px, 62vw, 290px);
    max-width: none;
    max-height: 92px;
}

.lh-mobile-view__brand svg [fill]:not([fill="none"]),
.lh-mobile-view__brand svg path:not([fill="none"]),
.lh-mobile-view__brand svg polygon:not([fill="none"]),
.lh-mobile-view__brand svg rect:not([fill="none"]) {
    fill: currentColor !important;
}

.lh-mobile-view__brand svg [stroke]:not([stroke="none"]) {
    stroke: currentColor !important;
}

.lh-mobile-root-nav__arrow {
    color: rgba(245,241,236,.86) !important;
    font-size: 24px !important;
    transition: transform .3s var(--lh-nav-ease);
}

.lh-mobile-root-nav button:hover .lh-mobile-root-nav__arrow,
.lh-mobile-root-nav button:focus-visible .lh-mobile-root-nav__arrow {
    transform: translateX(4px);
}

.lh-mobile-navigation__socials {
    border-top-color: rgba(245,241,236,.24);
}

.lh-mobile-navigation__socials a,
.lh-mobile-view__back {
    color: var(--lh-nav-paper);
}

.lh-mobile-view__header p {
    color: rgba(245,241,236,.82);
}

.lh-mobile-card {
    background: rgba(245,241,236,.98);
    border-color: rgba(43,43,43,.08) !important;
    color: var(--lh-nav-ink) !important;
}

.lh-mobile-card__copy small {
    color: var(--lh-nav-muted);
}

@media (prefers-reduced-motion: reduce) {
    .lh-navigation__brand,
    .lh-navigation__primary-item {
        animation: none;
    }
}

/* Longridge House Navigation v0.6 refinements */

/* Slower, fade-only initial reveal. */
.lh-navigation__brand,
.lh-navigation__primary-item {
    animation-name: lhNavRevealV06;
    animation-duration: .93s;
    animation-timing-function: var(--lh-nav-ease);
    animation-fill-mode: both;
}

.lh-navigation__brand { animation-delay: .06s; }
.lh-navigation__primary-item {
    animation-delay: calc(.18s + (var(--lh-nav-index) * .0825s));
}

@keyframes lhNavRevealV06 {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Panel intro and explicit close control. */
.lh-navigation-panel__heading--stacked {
    position: relative;
    padding-right: 54px;
    opacity: 0;
    transition: opacity .36s ease;
}

.lh-navigation-panel.is-active .lh-navigation-panel__heading--stacked {
    opacity: 1;
    transition-delay: .08s;
}

.lh-navigation-panel__intro-link,
.lh-navigation-panel__intro-copy {
    display: block;
    width: fit-content;
    max-width: 760px;
}

.lh-navigation-panel__intro-link {
    transition: color .25s ease;
}

.lh-navigation-panel__intro-link:hover,
.lh-navigation-panel__intro-link:focus-visible {
    color: var(--lh-nav-copper-dark);
}

.lh-navigation-panel__close {
    position: absolute;
    top: 0;
    right: 0;
    width: 42px;
    height: 42px;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    opacity: .66;
    transition: opacity .2s ease, transform .3s var(--lh-nav-ease);
}

.lh-navigation-panel__close:hover,
.lh-navigation-panel__close:focus-visible {
    opacity: 1;
    transform: rotate(5deg);
}

.lh-navigation-panel__close span,
.lh-navigation-panel__close span::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 1px;
    content: '';
    background: currentColor;
}

.lh-navigation-panel__close span { transform: translate(-50%, -50%) rotate(45deg); }
.lh-navigation-panel__close span::after { transform: translate(-50%, -50%) rotate(90deg); }

/* Every card uses the same grid footprint and dimensions. */
.lh-navigation-card-grid--single {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lh-navigation-card--single {
    grid-column: auto;
}

.lh-navigation-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transform: translateX(-12px);
}

.lh-navigation-panel.is-active .lh-navigation-card {
    transform: translateX(0);
    transition-delay: calc(.16s + (var(--lh-item-index) * .085s));
}

.lh-navigation-card__copy {
    flex: 1 1 auto;
}

/* Mobile root arrows sit directly beside their labels. */
.lh-mobile-root-nav a,
.lh-mobile-root-nav button {
    width: fit-content;
    max-width: 100%;
    justify-content: flex-start;
    gap: 10px;
}

.lh-mobile-root-nav__arrow {
    flex: 0 0 auto;
    margin-left: 1px;
}

/* Only the centred menu logo remains visible while open, and it is coral. */
.lh-navigation.is-compact.is-mobile-open .lh-navigation__brand {
    visibility: hidden;
}



/* Mobile cards share the desktop image-led structure. */
@media (max-width: 720px) {
    .lh-mobile-card {
        display: flex;
        flex-direction: column;
    }

    .lh-mobile-card__image {
        width: 100%;
        min-height: 0;
        aspect-ratio: 3 / 2;
    }

    .lh-mobile-card__copy {
        min-height: 98px;
        padding: 17px 18px 19px;
    }
}

@media (max-width: 1240px) and (min-width: 721px) {
    .lh-navigation-card-grid--single {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .lh-navigation-panel__heading--stacked,
    .lh-navigation-card {
        transition: none !important;
    }
}

/* Longridge House Navigation v0.7.1 final refinements */

/*
 * The mobile navigation is moved directly under <body> by JavaScript. This
 * prevents transformed or overflow-clipped theme wrappers from trapping a
 * position: fixed header. A placeholder remains in the original location.
 */
.lh-navigation__mobile-placeholder {
    display: block;
    width: 100%;
}

.lh-navigation.is-compact.is-fixed-mobile {
    position: fixed;
    z-index: 1200;
    top: 0;
    left: 0;
    width: 100%;
}

.lh-navigation.is-compact.is-fixed-mobile .lh-navigation__bar {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
}

/* Respect the WordPress admin toolbar while previewing the site logged in. */
body.admin-bar .lh-navigation.is-compact.is-fixed-mobile {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .lh-navigation.is-compact.is-fixed-mobile {
        top: 46px;
    }
}

/* Force the compact mobile mark to use the Longridge coral. */
.lh-navigation.is-compact
.lh-navigation__brand-compact
.lh-navigation__svg--mobile
.cls-1 {
    fill: var(--lh-nav-copper) !important;
    stroke: none !important;
}



/* Longridge House Navigation v0.7.5 interaction-state refinements */

/* The mobile root labels are intentionally unmarked. Links and submenu
 * triggers share the same visual treatment. */
.lh-mobile-root-nav__arrow {
    display: none !important;
}

/* The original text-only wordmark is reserved for tablet-sized compact
 * headers. Phones retain the cleaner medallion-and-menu layout. */
.lh-navigation__tablet-wordmark {
    display: none;
    visibility: hidden;
    pointer-events: none;
    color: #c6846c;
    line-height: 0;
}

.lh-navigation__tablet-wordmark-svg {
    display: block;
    width: 100%;
    height: auto;
}

.lh-navigation__tablet-wordmark-svg [fill]:not([fill="none"]),
.lh-navigation__tablet-wordmark-svg path:not([fill="none"]),
.lh-navigation__tablet-wordmark-svg polygon:not([fill="none"]),
.lh-navigation__tablet-wordmark-svg rect:not([fill="none"]) {
    fill: currentColor !important;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .lh-navigation.is-compact {
        --lh-nav-height: 82px;
    }

    .lh-navigation.is-compact .lh-navigation__bar {
        grid-template-columns: minmax(84px, 1fr) minmax(180px, 224px) minmax(84px, 1fr);
        gap: 20px;
        min-height: var(--lh-nav-height);
        padding: 10px 24px;
    }

    .lh-navigation.is-compact .lh-navigation__brand {
        justify-self: start;
    }

    .lh-navigation.is-compact .lh-navigation__brand-compact .lh-navigation__svg {
        max-width: 82px;
        max-height: 64px;
    }

    .lh-navigation.is-compact:not(.is-mobile-open) .lh-navigation__tablet-wordmark {
        display: block;
        visibility: visible;
        pointer-events: auto;
        justify-self: center;
        width: clamp(180px, 25vw, 224px);
    }

    .lh-navigation.is-compact .lh-navigation__toggle {
        width: 56px;
        height: 56px;
    }

    .lh-navigation.is-compact .lh-navigation__toggle-lines {
        width: 31px;
        height: 24px;
    }

    .lh-navigation.is-compact .lh-navigation__toggle[aria-expanded="true"] .lh-navigation__toggle-lines i:nth-child(1) {
        transform: translateY(11.5px) rotate(45deg);
    }

    .lh-navigation.is-compact .lh-navigation__toggle[aria-expanded="true"] .lh-navigation__toggle-lines i:nth-child(3) {
        transform: translateY(-11.5px) rotate(-45deg);
    }

    .lh-navigation.is-compact.is-mobile-open .lh-navigation__tablet-wordmark {
        display: none !important;
        visibility: hidden;
        pointer-events: none;
        transition: none !important;
    }
}


/* Floating action buttons */
.lh-navigation-actions {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1210;
    display: flex;
    justify-content: center;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    pointer-events: none;
}

.lh-navigation-actions__inner {
    display: flex;
    gap: 12px;
    padding: 10px;
    background: rgba(247, 243, 236, .52);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 28px rgba(43, 43, 43, .10);
    pointer-events: auto;
}

.lh-navigation-actions__button {
    display: inline-flex;
    min-width: 160px;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border: 0;
    border-radius: 0;
    background: rgba(198, 132, 108, .78);
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .25s ease;
}

.lh-navigation-actions__button:visited {
    color: #fff !important;
}

@media (hover: hover) and (pointer: fine) {
    .lh-navigation-actions__button:hover {
        background: rgba(198, 132, 108, .96);
        color: #fff !important;
    }
}

.lh-navigation-actions__button:focus-visible {
    background: rgba(198, 132, 108, .96);
    color: #fff !important;
}

.lh-navigation-actions__button:active {
    background: rgb(198, 132, 108);
    color: #fff !important;
}

.lh-navigation-actions__button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
}

@media (max-width: 720px) {
    .lh-navigation-actions {
        padding: 0 0 env(safe-area-inset-bottom);
    }

    .lh-navigation-actions__inner {
        width: 100%;
        gap: 8px;
        padding: 8px;
        box-shadow: 0 -5px 22px rgba(43, 43, 43, .14);
    }

    .lh-navigation-actions__button {
        flex: 1 1 50%;
        min-width: 0;
        min-height: 56px;
        padding: 13px 10px;
        font-size: 12px;
    }
}
