/* Alfresco visual refresh — editorial, photography-led, and deliberately restrained. */

:root {
    --editorial-rule: rgba(var(--color-navy-rgb), 0.18);
    --editorial-cream-deep: #f1e7d4;
    --editorial-paper: #fbf7ee;
    --editorial-accent-text: var(--color-secondary-dark);
    --content-measure: 38rem;
    --section-block-space: clamp(4.25rem, 8vw, 6.5rem);
    --section-block-space-mobile: 3.5rem;
    --control-height: 46px;
    --editorial-radius: 3px;
}

/* These interactive, anchor-linked sections must paint immediately when visited. */
#best-sellers,
.gallery-section {
    content-visibility: visible;
    contain-intrinsic-size: auto;
}

/* Keep shared page rendering predictable regardless of legacy stylesheet order. */
body {
    background: var(--background-light);
}

.about-section,
.locations-section,
.contact-section {
    padding-block: var(--section-block-space);
}

.section-intro {
    max-width: var(--content-measure);
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.section-intro .section-eyebrow,
.section-intro .section-title,
.section-intro .section-subtitle {
    margin-inline: auto;
}

.section-intro .section-subtitle {
    margin-bottom: 0;
}

.section-title::after {
    width: 2.25rem;
    height: 1px;
}

/* One control language across pages; page-specific colour roles remain intact. */
.btn {
    min-height: var(--control-height);
    padding: 0.72rem 1.35rem;
    border-radius: var(--editorial-radius);
    font-family: var(--font-family-primary);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.015em;
    box-shadow: none;
}

.btn-primary,
.btn-cta {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible,
.btn-cta:hover,
.btn-cta:focus-visible {
    background-color: var(--color-secondary-dark);
    border-color: var(--color-secondary-dark);
    color: #fff;
}

.btn-secondary {
    background-color: var(--color-cream);
    border-color: rgba(var(--color-navy-rgb), 0.24);
    color: var(--color-primary);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-cream);
}

.btn:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--color-secondary-dark);
    outline-offset: 3px;
}

input,
textarea,
select {
    border-radius: var(--editorial-radius);
}

@media (max-width: 767px) {
    .about-section,
    .locations-section,
    .contact-section {
        padding-block: var(--section-block-space-mobile);
    }

    .section-intro {
        margin-bottom: 2.25rem;
    }

    .btn {
        min-height: 46px;
        padding-inline: 1.15rem;
    }
}

/* Home hero: protect the editorial copy at narrow widths. */
.hero--home .hero-content,
.hero--home .hero-lede {
    min-width: 0;
    max-width: min(100%, 42rem);
}

.hero--home .hero-lede {
    overflow-wrap: anywhere;
}

/* A visible, image-independent mobile menu affordance. */
@media (max-width: 992px) {
    .hamburger-menu-toggle {
        background: transparent;
        border: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .hamburger-menu-toggle:active,
    body.menu-open .hamburger-menu-toggle {
        background: transparent;
    }
}

@media (max-width: 480px) {
    .hero--home .hero-content {
        width: calc(100vw - 2rem);
        max-width: calc(100vw - 2rem);
    }

    .hero--home .hero-lede {
        width: 100%;
        max-width: 22rem;
        padding-inline: 0.15rem;
    }
}

/* Best sellers: a self-contained, measured heading stack and catalogue grid. */
#best-sellers {
    background: var(--editorial-cream-deep);
    padding-block: clamp(4rem, 8vw, 6.5rem);
}

#best-sellers .section-eyebrow {
    color: var(--editorial-accent-text);
}

#best-sellers .section-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 38rem;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
    text-align: center;
}

#best-sellers .section-intro .section-eyebrow {
    margin: 0 0 0.7rem;
    text-align: center;
}

#best-sellers .section-intro .section-title {
    margin: 0;
    text-align: center;
}

#best-sellers .section-intro .section-title::after {
    margin: 0.8rem auto 0;
}

#best-sellers .section-intro .section-subtitle {
    margin: 1rem auto 0;
    max-width: 32rem;
    text-align: center;
}

#best-sellers .best-seller-grid {
    margin-top: 0;
    gap: clamp(1.25rem, 2.5vw, 2rem) clamp(0.85rem, 2vw, 1.5rem);
}

#best-sellers .best-seller-card .menu-item-image {
    border-radius: 2px;
}

#best-sellers .best-seller-card:not(.best-seller-card--featured) .menu-item-info {
    align-items: flex-start;
    text-align: left;
    padding-inline: 0;
}

#best-sellers .best-seller-card:not(.best-seller-card--featured) .menu-item-title {
    font-family: var(--font-family-display);
    font-size: 1.08rem;
    font-weight: 600;
    text-align: left;
}

@media (max-width: 767px) {
    #best-sellers {
        padding-block: 3.5rem;
    }

    #best-sellers .section-intro {
        margin-bottom: 2.25rem;
        padding-inline: 0.5rem;
    }

    #best-sellers .best-seller-grid {
        row-gap: 1.5rem;
    }

    #best-sellers .best-seller-card:not(.best-seller-card--featured) .menu-item-title {
        font-size: 0.98rem;
        line-height: 1.3;
    }

    #best-sellers .best-seller-card--featured .menu-item-title {
        width: 100%;
        overflow-wrap: anywhere;
    }

    #best-sellers .best-seller-card:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 0.425rem);
        justify-self: center;
    }
}

/* Homepage gallery: a curated preview of the full Gallery page masonry. */
.gallery-item,
.gallery-item img {
    border-radius: 2px;
}

body:not(.gallery-page) #gallery {
    padding-block: clamp(4.5rem, 9vw, 7rem);
    background: var(--background-light);
}

body:not(.gallery-page) #gallery .section-intro {
    display: grid;
    justify-items: center;
    gap: 0;
    max-width: 38rem;
    margin: 0 auto clamp(2.75rem, 6vw, 4.5rem);
    text-align: center;
}

body:not(.gallery-page) #gallery .section-eyebrow,
body:not(.gallery-page) #gallery .section-title,
body:not(.gallery-page) #gallery .section-subtitle {
    text-align: center;
}

body:not(.gallery-page) #gallery .section-eyebrow {
    margin: 0 0 0.7rem;
}

body:not(.gallery-page) #gallery .section-title {
    margin: 0;
}

body:not(.gallery-page) #gallery .section-title::after {
    margin: 0.8rem auto 0;
}

body:not(.gallery-page) #gallery .section-subtitle {
    margin: 1rem auto 0;
}

body:not(.gallery-page) #gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 50px;
    gap: clamp(0.75rem, 1.25vw, 1rem);
}

body:not(.gallery-page) #gallery .gallery-item {
    display: block;
    min-height: 0;
    height: auto;
    width: 100%;
    margin: 0;
}

body:not(.gallery-page) #gallery .gallery-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

body:not(.gallery-page) #gallery .gallery-cta {
    margin-top: clamp(2rem, 4vw, 3.25rem);
}

@media (max-width: 760px) {
    body:not(.gallery-page) #gallery {
        padding-block: 3.75rem;
    }

    body:not(.gallery-page) #gallery .section-intro {
        margin-bottom: 2.25rem;
        padding-inline: 0.5rem;
    }

    body:not(.gallery-page) #gallery .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        grid-auto-rows: 50px;
        gap: 0.75rem;
    }

    body:not(.gallery-page) #gallery .gallery-item,
    body:not(.gallery-page) #gallery .gallery-item:nth-child(n) {
        width: 100%;
        height: auto;
        margin: 0;
    }

    body:not(.gallery-page) #gallery .gallery-item img {
        position: static;
    }
}

/* Full gallery page: preserve its native JS masonry; refine only its framing. */
.gallery-page .gallery-section {
    padding-block: clamp(4.5rem, 8vw, 7rem);
}

.gallery-page .gallery-section > .container > .section-title {
    margin: 0 auto clamp(2.75rem, 5vw, 4rem);
}

.gallery-page .gallery-grid {
    gap: clamp(0.75rem, 1.25vw, 1rem);
}

.gallery-page .gallery-item .gallery-caption {
    background: linear-gradient(to top, rgba(8, 18, 36, 0.84), transparent);
    border-radius: 0;
}

/* Shared gallery viewer */
.lightbox {
    padding: clamp(1rem, 3vw, 2.5rem);
    align-items: flex-start;
    overflow-y: auto;
    background: rgba(6, 18, 34, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.lightbox-content {
    width: fit-content;
    height: auto;
    max-width: min(92vw, 1200px);
    max-height: 90svh;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.lightbox-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(90svh - 2.75rem);
    object-fit: contain;
    border: 1px solid rgba(var(--color-cream-rgb), 0.12);
    border-radius: 2px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
}

.lightbox-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 1.5rem;
    width: 100%;
    color: rgba(var(--color-cream-rgb), 0.84);
}

.lightbox-caption,
.lightbox-counter {
    margin: 0;
    color: inherit;
    line-height: 1.45;
}

.lightbox-caption {
    font-family: var(--font-family-display);
    font-size: 0.95rem;
    font-style: italic;
}

.lightbox-counter {
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.close-lightbox,
.lightbox-nav {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(var(--color-cream-rgb), 0.34);
    border-radius: 2px;
    background: rgba(8, 18, 36, 0.72);
    color: var(--color-cream);
    box-shadow: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.close-lightbox {
    top: max(1rem, env(safe-area-inset-top));
    right: max(1rem, env(safe-area-inset-right));
    font-size: 1.35rem;
}

.lightbox-prev {
    left: clamp(0.75rem, 2vw, 1.75rem);
}

.lightbox-next {
    right: clamp(0.75rem, 2vw, 1.75rem);
}

.close-lightbox:hover,
.close-lightbox:focus-visible,
.lightbox-nav:hover,
.lightbox-nav:focus-visible {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: #fff;
    box-shadow: none;
}

.close-lightbox:hover {
    transform: none;
}

.lightbox-nav:hover {
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .lightbox {
        padding:
            max(3.75rem, env(safe-area-inset-top))
            0.75rem
            max(1rem, env(safe-area-inset-bottom));
    }

    .lightbox-content {
        width: fit-content;
        height: auto;
        max-width: 100%;
        max-height: calc(100svh - 5rem);
        padding: 0;
    }

    .lightbox-image {
        max-height: calc(100svh - 8rem);
        border-radius: 2px;
    }

    .lightbox-meta {
        padding-inline: 0.15rem;
        gap: 0.75rem;
    }

    .lightbox-caption {
        font-size: 0.82rem;
    }

    .close-lightbox,
    .lightbox-nav {
        width: 42px;
        height: 42px;
    }

    .lightbox-prev {
        left: 0.75rem;
    }

    .lightbox-next {
        right: 0.75rem;
    }
}

.gallery-page .hero-media {
    object-position: center 30%;
}

@media (max-width: 768px) {
    .gallery-page .hero-media {
        object-position: center 48%;
    }
}

/* Menu controls: editorial index rather than dashboard pills. */
.menu-page .category-filter,
.menu-page .filter-btn,
.menu-page .menu-filter {
    border-radius: 0;
    box-shadow: none;
    border: 0;
    border-bottom: 1px solid var(--editorial-rule);
    background: transparent;
}

.menu-page .category-filter.active,
.menu-page .filter-btn.active,
.menu-page .menu-filter.active {
    border-bottom-color: var(--color-secondary);
    background: transparent;
    color: var(--color-secondary);
}

.menu-page .hero,
.gallery-page .hero,
.contact-page .hero {
    --hero-min-desktop: clamp(23rem, 48vh, 29rem);
}

.menu-page .menu-categories {
    padding: clamp(2.75rem, 5vw, 4rem) 0;
    background: #fff;
}

.menu-page .menu-categories::before,
.menu-page .menu-categories::after {
    display: none;
}

.menu-page .menu-categories .section-header {
    max-width: 42rem;
    margin: 0 auto;
}

.menu-page .menu-categories .section-header h2 {
    font-family: var(--font-family-display);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.menu-page .menu-filter-bar {
    position: sticky;
    top: 68px;
    z-index: 20;
    border-top: 1px solid var(--editorial-rule);
    border-bottom: 1px solid var(--editorial-rule);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.menu-page .menu-filter-bar .container {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1160px;
}

.menu-page .menu-filter-label {
    flex: 0 0 auto;
    color: var(--color-secondary-dark);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.menu-page .menu-filter-bar .category-filters {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.45rem;
    margin: 0;
    padding: 0.7rem 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.menu-page .menu-filter-bar .category-filters::-webkit-scrollbar {
    display: none;
}

.menu-page .menu-filter-bar .filter-btn {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(var(--color-navy-rgb), 0.14);
    border-radius: 2px;
    background: rgba(var(--color-cream-rgb), 0.38);
    color: var(--color-primary);
    font-size: 0.78rem;
    letter-spacing: 0.015em;
}

.menu-page .menu-filter-bar .filter-btn:hover,
.menu-page .menu-filter-bar .filter-btn:focus-visible {
    border-color: rgba(var(--color-terracotta-rgb), 0.55);
    background: rgba(var(--color-cream-rgb), 0.7);
    color: var(--color-secondary-dark);
    transform: none;
}

.menu-page .menu-filter-bar .filter-btn.active {
    border-color: var(--color-secondary);
    background: var(--color-secondary);
    color: #fff;
}

.menu-page .menu-filter-bar .filter-btn.active:hover,
.menu-page .menu-filter-bar .filter-btn.active:focus-visible {
    border-color: var(--color-secondary-dark);
    background: var(--color-secondary-dark);
    color: #fff;
}

.menu-page .menu-items {
    padding: clamp(2.75rem, 5vw, 4.25rem) 0;
    background: #fff;
}

.menu-page .menu-items > .container {
    max-width: 1160px;
}

.menu-page .menu-category {
    margin: 0 0 clamp(2.75rem, 5vw, 4rem);
    padding-top: 0;
}

.menu-page .category-title {
    margin: 0 0 1.25rem;
    padding: 0 0 0.8rem;
    border: 0;
    border-bottom: 1px solid rgba(var(--color-terracotta-rgb), 0.38);
    font-family: var(--font-family-display);
    font-size: clamp(1.55rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.015em;
}

.menu-page .menu-category .menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(2.5rem, 6vw, 5rem);
    row-gap: 0;
    align-items: start;
    padding: 0;
}

.menu-page .menu-category .menu-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(var(--color-navy-rgb), 0.1) !important;
    cursor: default;
}

.menu-page .menu-category .menu-item:hover {
    transform: none;
    background: transparent !important;
}

.menu-page .menu-category .item-name {
    font-family: var(--font-family-display);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
}

.menu-page .menu-category .item-description {
    max-width: 31rem;
    font-size: 0.88rem;
    line-height: 1.55;
}

.menu-page .menu-category .item-price {
    font-size: 1rem;
    font-weight: 700;
}

.menu-page .menu-note {
    margin: 1.25rem 0 1.75rem;
    padding: 0.85rem 1rem;
    border-left-width: 2px;
    border-radius: 0;
    background: rgba(var(--color-terracotta-rgb), 0.055);
}

.menu-page .menu-subsection {
    margin: 1.75rem 0 0;
}

.menu-page .subsection-title {
    margin: 0 0 1rem;
    font-family: var(--font-family-display);
    font-size: 1.3rem;
    font-weight: 600;
    text-align: left;
}

.menu-page .subsection-title::after {
    left: 0;
    width: 2rem;
    transform: none;
}

@media (max-width: 768px) {
    .menu-page .menu-filter-bar {
        display: none;
    }

    .menu-page .menu-items {
        padding: 1.25rem 0 3rem;
    }

    .menu-page .menu-filter-mobile {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 0.75rem;
        margin: -0.5rem calc(-1 * var(--spacing-md)) 1.25rem;
        padding: 0.65rem var(--spacing-md);
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 8px 20px rgba(var(--color-navy-rgb), 0.055);
    }

    .menu-page .menu-filter-mobile label {
        margin: 0;
        font-size: 0.72rem;
        letter-spacing: 0.1em;
    }

    .menu-page .menu-select-wrap select {
        min-height: 46px;
        padding-block: 0.6rem;
        border-radius: 2px;
        box-shadow: none;
    }

    .menu-page .menu-category .menu-grid {
        grid-template-columns: 1fr;
    }

    .menu-page .menu-category {
        margin-bottom: 2.4rem;
    }

    .menu-page .menu-category .menu-item {
        padding: 0.8rem 0;
    }

    .menu-page .category-title {
        margin-bottom: 0.8rem;
        font-size: 1.45rem;
    }

    .menu-page .menu-subsection {
        margin-top: 1.5rem;
    }

    .menu-page .subsection-title {
        font-size: 1.2rem;
    }
}

/* Contact: calm, tactile form treatment. */
.contact-page input,
.contact-page textarea,
.contact-page select {
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.72);
    border-color: var(--editorial-rule);
}

.contact-page .contact-hours-card .time.closed {
    color: rgba(var(--color-navy-rgb), 0.72);
    font-weight: 600;
}

/* WhatsApp is a channel, not a competing brand colour. */
.btn-whatsapp,
.footer-cta {
    background: var(--color-secondary);
    color: #fff;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible,
.footer-cta:hover,
.footer-cta:focus-visible {
    background: var(--color-secondary-dark);
}

/* Footer: content-led and quieter, with fewer competing badges. */
.site-footer,
footer {
    padding-top: clamp(3.25rem, 7vw, 5.5rem);
}

.footer-grid {
    grid-template-columns: minmax(14rem, 1.35fr) minmax(13rem, 1fr) minmax(8rem, 0.65fr) minmax(15rem, 1.2fr);
    gap: clamp(2rem, 4vw, 4.5rem);
}

.footer-heading {
    font-family: var(--font-family-primary);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.footer-social {
    width: 44px;
    height: 44px;
    border-radius: 2px;
    background: transparent;
    border: 1px solid rgba(var(--color-cream-rgb), 0.28);
}

.footer-cta-group {
    border-top: 1px solid rgba(var(--color-cream-rgb), 0.18);
    padding-top: 1rem;
}

.footer-cta-group .footer-cta {
    border-radius: 2px;
    background: var(--whatsapp-color);
    border: 1px solid var(--whatsapp-color);
    color: #fff !important;
}

.footer-cta-group .footer-cta::before {
    content: "\f232";
    font-family: "Font Awesome 6 Brands";
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1;
}

.footer-cta-group .footer-cta:hover,
.footer-cta-group .footer-cta:focus-visible {
    background: var(--whatsapp-dark);
    border-color: var(--whatsapp-dark);
}

.footer-meta {
    margin-top: clamp(2rem, 5vw, 4rem);
    color: rgba(var(--color-cream-rgb), 0.68);
}

.footer-meta-right {
    font-size: 0.82rem;
    letter-spacing: 0.01em;
}

.footer-meta-right a {
    color: var(--brand-gold);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--brand-gold) 45%, transparent);
    text-underline-offset: 0.2em;
}

.footer-meta-right a:hover,
.footer-meta-right a:focus-visible {
    color: var(--color-cream);
    text-decoration-color: currentColor;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-column--brand {
        padding-bottom: 0.5rem;
        border-bottom: 1px solid rgba(var(--color-cream-rgb), 0.16);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-media,
    .gallery-item,
    .menu-item-image img {
        transition: none !important;
    }
}

/* Legal and information pages share one calm reading template. */
.legal-page .legal-hero {
    min-height: clamp(17rem, 34vh, 20rem);
    display: flex;
    align-items: center;
    padding: calc(68px + 1rem) var(--spacing-md) 2.25rem;
    background:
        radial-gradient(circle at 82% 18%, rgba(var(--color-terracotta-rgb), 0.2), transparent 20rem),
        linear-gradient(135deg, #102b4b 0%, var(--color-primary) 58%, #081a30 100%);
    color: var(--color-cream);
    text-align: center;
}

.legal-page .legal-hero .container {
    max-width: 46rem;
    padding: 0;
}

.legal-page .legal-hero h1 {
    margin: 0.35rem 0 0.6rem;
    font-family: var(--font-family-display);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--color-cream);
}

.legal-page .legal-hero .section-eyebrow {
    margin: 0;
    color: rgba(var(--color-cream-rgb), 0.78);
}

.legal-page .legal-hero .page-hero-subtitle {
    max-width: 34rem;
    color: rgba(var(--color-cream-rgb), 0.88);
}

.legal-content-section {
    padding-block: clamp(3rem, 7vw, 5rem);
    background:
        radial-gradient(ellipse at 8% 0%, rgba(var(--color-terracotta-rgb), 0.055), transparent 34rem),
        var(--editorial-paper);
}

.legal-document {
    max-width: 44rem;
    margin: 0 auto;
}

.legal-document > :first-child {
    margin-top: 0;
}

.legal-document h2 {
    margin: 2.25rem 0 0.65rem;
    font-family: var(--font-family-display);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-primary);
}

.legal-document p,
.legal-document li {
    color: rgba(var(--color-navy-rgb), 0.84);
    font-size: 0.96rem;
    line-height: 1.7;
}

.legal-document ul {
    padding-left: 1.25rem;
}

.legal-document a,
.site-map-grid a {
    color: var(--color-secondary-dark);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.legal-updated {
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(var(--color-terracotta-rgb), 0.28);
    color: var(--color-secondary-dark) !important;
    font-size: 0.78rem !important;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.site-map-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 5vw, 4rem);
    max-width: 64rem;
    margin: 0 auto;
}

.site-map-grid h2 {
    margin: 0 0 0.75rem;
    font-family: var(--font-family-display);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-primary);
}

.site-map-grid li {
    color: rgba(var(--color-navy-rgb), 0.84);
    line-height: 1.75;
}

.site-map-grid section {
    padding-top: 1.25rem;
    border-top: 1px solid var(--editorial-rule);
}

.site-map-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-map-grid li + li {
    margin-top: 0.65rem;
}

.legal-footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
}

@media (max-width: 767px) {
    .legal-page .legal-hero {
        min-height: 15.5rem;
        padding: calc(56px + 0.75rem) 1rem 1.75rem;
    }

    .legal-page .legal-hero .container {
        padding: 0;
    }

    .legal-page .legal-hero h1 {
        margin-block: 0.3rem 0.5rem;
        font-size: clamp(2rem, 9vw, 2.4rem);
    }

    .legal-content-section {
        padding-block: var(--section-block-space-mobile);
    }

    .site-map-grid,
    .legal-footer-grid {
        grid-template-columns: 1fr;
    }

    .site-map-grid a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
}
