@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    --site-font: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    --primary-color: #101010;
    --secondary-color: #9e9588;
    --accent-color: #d8d0c2;
    --text-color: #2f2f2f;
    --white: #ffffff;
    --beige: #d6ccbb;
    --gray-medium: #8e8b86;
    --theme-motion-duration: 360ms;
    --theme-motion-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --micro-lift-duration: 280ms;
}

html.theme-animating body,
html.theme-animating section,
html.theme-animating .header,
html.theme-animating .footer,
html.theme-animating .nav-menu a,
html.theme-animating .nav-menu .nav-mega-toggle,
html.theme-animating .section-product-card,
html.theme-animating .product-card,
html.theme-animating .section-product-name,
html.theme-animating .section-product-desc,
html.theme-animating .product-card h3,
html.theme-animating .product-card p,
html.theme-animating .hood-reset-btn,
html.theme-animating .theme-toggle,
html.theme-animating .a11y-panel,
html.theme-animating .cookie-banner-inner {
    transition:
        color var(--theme-motion-duration) var(--theme-motion-ease),
        background var(--theme-motion-duration) var(--theme-motion-ease),
        background-color var(--theme-motion-duration) var(--theme-motion-ease),
        border-color var(--theme-motion-duration) var(--theme-motion-ease),
        box-shadow var(--theme-motion-duration) var(--theme-motion-ease),
        opacity var(--theme-motion-duration) var(--theme-motion-ease),
        filter var(--theme-motion-duration) var(--theme-motion-ease);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--site-font);
    color: var(--text-color);
    background: #121212;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: linear-gradient(135deg, #121212 0%, #1b1b1b 100%);
    border-top: 1px solid rgba(214, 204, 187, 0.38);
    border-bottom: 1px solid rgba(195, 193, 188, 0.28);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.header-transparent {
    background: transparent;
    border-top-color: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
}

.header.header-transparent .navbar {
    border-bottom-color: transparent;
}

.navbar {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(214, 204, 187, 0.18);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.logo-link {
    text-decoration: none;
}

.logo h1 {
    font-size: 1.1rem;
    color: #e7dfd2;
    letter-spacing: 1px;
}

.logo .tagline {
    color: #b7ac9b;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.2rem;
}

.nav-menu a {
    color: #d4d0c9;
    text-decoration: none;
    font-weight: 500;
}

.nav-menu a[aria-current="page"],
.nav-menu .nav-mega-toggle[aria-current="page"] {
    color: #f4eee3;
    font-weight: 700;
}

html:not([data-theme="dark"]) .header:not(.header-transparent) .nav-menu a[aria-current="page"],
html:not([data-theme="dark"]) .header:not(.header-transparent) .nav-menu .nav-mega-toggle[aria-current="page"] {
    color: #1d1a17;
}

.nav-menu a.nav-disabled {
    opacity: 0.55;
    pointer-events: none;
    cursor: default;
}

.tm-mark {
    font-size: 0.58em;
    vertical-align: super;
    letter-spacing: 0.02em;
    margin-left: 0.12em;
}

.hamburger {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 24px;
    overflow: visible;
    flex-shrink: 0;
    cursor: pointer;
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: #d4d0c9;
    margin: 2.5px 0;
    transition: transform 0.32s ease, opacity 0.2s ease;
    transform-origin: center;
    display: block;
}

.hamburger.active span:nth-child(1),
.hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(4.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2),
.hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.4);
}

.hamburger.active span:nth-child(3),
.hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-4.5px) rotate(-45deg);
}

.catalog-hero {
    height: 100vh;
    height: 72dvh;
    min-height: 560px;
    max-height: 860px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.catalog-hero-media {
    position: absolute;
    inset: 0;
}

.catalog-hero-media img,
.catalog-hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.catalog-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(12, 12, 12, 0.68) 75%, rgba(12, 12, 12, 0.94) 100%);
}

.catalog-hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding-bottom: 40px;
}

.hero-eyebrow {
    color: var(--accent-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
}

.catalog-hero-content h1 {
    font-size: clamp(2rem, 4.2vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 0.7rem;
}

.catalog-hero-content p {
    max-width: 740px;
    color: #ded9d2;
}

.category-loop-section {
    background: linear-gradient(180deg, #161616 0%, #181818 100%);
    border-top: 1px solid rgba(214, 204, 187, 0.2);
    border-bottom: 1px solid rgba(214, 204, 187, 0.2);
    padding: 1.2rem 0;
}

.category-loop {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    scrollbar-width: none;
}

.category-loop::-webkit-scrollbar {
    display: none;
}

.category-track {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    width: max-content;
    padding: 0.25rem 0;
}

.loop-item {
    flex: 0 0 182px;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    align-items: center;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.loop-thumb {
    width: 182px;
    height: 92px;
    object-fit: cover;
    border-radius: 0;
    border: 0;
    background: transparent;
}

.loop-name {
    color: #ded9d2;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
    line-height: 1.2;
}

.loop-item:hover .loop-thumb {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

@media (min-width: 1100px) {
    .category-track {
        width: 100%;
        justify-content: center;
    }
}

.catalog-main {
    background: #f4f1ec;
}

.catalog-section {
    padding: 4.5rem 0;
    border-bottom: 1px solid rgba(158, 149, 136, 0.24);
}

.catalog-section.alt {
    background: #ede8df;
}

.catalog-section h2 {
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    margin-bottom: 0.4rem;
}

.section-title-link {
    color: #262626;
    text-decoration: none;
}

.section-title-link:hover {
    color: #5f584f;
}

.visit-section-link {
    margin-bottom: 1.2rem;
}

.visit-section-link a {
    color: #5f584f;
    text-decoration: none;
    font-weight: 600;
}

.visit-section-link a:hover {
    text-decoration: underline;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.product-card {
    background: #ffffff;
    border: 1px solid rgba(188, 182, 172, 0.6);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.product-thumb {
    width: 100%;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    background: #1d1d1d;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-card h3 {
    color: #1f1f1f;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.product-card p {
    color: var(--gray-medium);
    font-size: 0.93rem;
    line-height: 1.45;
}

.visit-card {
    display: flex;
    align-items: center;
    justify-content: center;
    border-style: dashed;
}

.visit-card a {
    color: #5f584f;
    font-weight: 700;
    text-decoration: none;
}

/* Section pages */
.section-page {
    background: #f3efe8;
    min-height: 100vh;
}

[data-theme="dark"] .section-page.section-page-design {
    background: linear-gradient(180deg, #050505 0%, #0a0a0a 48%, #080808 100%);
}

[data-theme="dark"] .section-page.section-page-design .section-hero {
    background: linear-gradient(180deg, #0b0b0b 0%, #101010 100%);
}

[data-theme="dark"] .section-page.section-page-design .section-products,
[data-theme="dark"] .section-page.section-page-design .footer {
    background: #080808;
}

.section-hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 112px 0 44px;
    background: #edeae7;
}

.section-hero-media {
    display: none;
}

.section-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.theme-coming-media {
    position: relative;
    width: 100%;
    height: 100%;
}

.theme-coming-media .coming-soon-white,
.theme-coming-media .coming-soon-black {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.theme-coming-media .coming-soon-black {
    display: none;
}

.section-hero::after {
    display: none;
}

.section-hero-content {
    position: relative;
    z-index: 1;
    color: #24201d;
    text-align: center;
    max-width: 1120px;
}

.section-hero-content h1 {
    font-size: clamp(2.8rem, 6.4vw, 5.2rem);
    line-height: 1.04;
    letter-spacing: 0.01em;
}

.section-hero-content p {
    color: #5f584f;
    margin-top: 0.9rem;
    font-size: clamp(1.02rem, 1.5vw, 1.3rem);
}

.featured-category-banner {
    padding: 1.8rem 0 0.8rem;
}

.featured-banner-card {
    position: relative;
    min-height: 250px;
    border-radius: 16px;
    overflow: hidden;
}

.featured-banner-media {
    position: absolute;
    inset: 0;
}

.featured-media-image,
.featured-media-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-media-video {
    display: none;
}

.featured-category-banner[data-media-type="video"] .featured-media-video {
    display: block;
}

.featured-category-banner[data-media-type="video"] .featured-media-image,
.featured-category-banner[data-media-type="video"] .featured-banner-media > .theme-coming-media {
    display: none;
}

.featured-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(22, 22, 22, 0.84) 0%, rgba(22, 22, 22, 0.42) 58%, rgba(22, 22, 22, 0.14) 100%);
}

.featured-banner-content {
    position: relative;
    z-index: 1;
    padding: 2.2rem;
    color: #fbfbfa;
    max-width: 620px;
}

.featured-banner-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.76rem;
    color: #d6d0c9;
    margin-bottom: 0.45rem;
}

.featured-banner-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    margin-bottom: 0.45rem;
}

.featured-banner-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #edeae7;
}

.section-products {
    padding: 3.8rem 0 5rem;
}

.section-page .section-products .container {
    max-width: 100%;
    padding-left: 28px;
    padding-right: 28px;
}

.section-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
    overflow: visible;
}

.section-product-card {
    background: #ffffff;
    border: 1px solid rgba(188, 182, 172, 0.6);
    border-radius: 14px;
    padding: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    position: relative;
    overflow: visible;
    z-index: 0;
}

.section-product-image {
    width: 100%;
    height: 220px;
    border-radius: 10px;
    overflow: hidden;
    background: #1f1f1f;
}

.section-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.section-product-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-image-swap {
    position: relative;
    overflow: hidden;
}

.product-image-swap .nami-sketch,
.product-image-swap .nami-real {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image-swap .nami-real {
    z-index: 1;
}

.product-image-swap .nami-sketch {
    z-index: 2;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.55s ease;
}

.section-product-card:hover .product-image-swap .nami-sketch,
.product-card:hover .product-image-swap .nami-sketch {
    clip-path: inset(0 0 0 0);
}

.section-page-aspiranti .product-image-swap .nami-sketch {
    clip-path: inset(0 0 0 0);
    transition: none;
}

.section-product-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2a2a2a;
    margin-top: 0.65rem;
}

.section-product-desc {
    font-size: 0.87rem;
    color: #7a756d;
    line-height: 1.4;
    margin-top: 0.35rem;
}

.section-product-flag {
    position: absolute;
    top: clamp(-1.1rem, -3.5%, -0.35rem);
    left: clamp(-1.1rem, -3.5%, -0.35rem);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(156px, 42%, 276px);
    aspect-ratio: 1 / 1;
    height: auto;
    pointer-events: none;
}

.section-product-flag img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.section-product-flag-light,
.section-product-flag-dark {
    display: block !important;
}

.section-product-flag-dark {
    opacity: 0;
    visibility: hidden;
}

.section-product-flag-light {
    opacity: 1;
    visibility: visible;
}

[data-theme="dark"] .section-product-flag-light {
    opacity: 0;
    visibility: hidden;
}

[data-theme="dark"] .section-product-flag-dark {
    opacity: 1;
    visibility: visible;
}

html[data-contrast="high"] .section-product-flag-light {
    opacity: 0 !important;
    visibility: hidden !important;
}

html[data-contrast="high"] .section-product-flag-dark {
    opacity: 1 !important;
    visibility: visible !important;
}

.section-card-link {
    color: inherit;
    text-decoration: none;
    display: block;
    position: relative;
    z-index: 1;
}

.hood-explorer {
    margin: 0 auto 1.8rem;
    width: 100%;
    max-width: none;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(116, 107, 94, 0.2);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(244, 239, 232, 0.86));
    box-shadow: 0 10px 22px rgba(44, 37, 29, 0.07);
    position: relative;
}

.hood-toolbar {
    display: grid;
    grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.75fr);
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(116, 107, 94, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.58);
    overflow: hidden;
}

.hood-toolbar-panel {
    min-width: 0;
    padding: 0.95rem 1rem;
}

.hood-search-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hood-search-box label {
    display: block;
    margin-bottom: 0.42rem;
}

.hood-filter-panel-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.hood-filter-panel-heading {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.55rem;
    margin-bottom: 0;
}

.hood-filter-title {
    display: block;
}

.hood-search-box label,
.hood-filter-title,
.hood-filter-field span {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6c655d;
    font-weight: 700;
}

.hood-search-box input,
.hood-filter-field select {
    width: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #22201d;
    padding: 0.72rem 0;
    font-size: 0.92rem;
    box-shadow: none;
}

.hood-filter-badge {
    min-width: 1.45rem;
    height: 1.45rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #22201d;
    color: #f8f5f0;
    font-size: 0.76rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hood-filter-panel {
    position: static;
    z-index: 20;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.hood-search-box input:focus,
.hood-filter-field select:focus {
    outline: none;
    box-shadow: inset 0 -2px 0 #7f766d;
}

.hood-filters-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.hood-filter-panel-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.9rem;
}

.hood-results-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 0.45rem;
}

.hood-results-count {
    color: #4e4942;
    font-weight: 600;
}

.hood-reset-btn {
    min-height: 42px;
    border-radius: 0;
    border: 0;
    background: transparent;
    color: #2a2723;
    padding: 0.7rem 0;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.hood-reset-btn:hover {
    opacity: 0.72;
}

.hood-products-grid .section-product-card {
    position: relative;
    overflow: visible;
    z-index: 0;
    isolation: isolate;
}

.hood-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.7rem;
}

.hood-meta-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.2rem 0.58rem;
    border-radius: 999px;
    border: 1px solid rgba(116, 107, 94, 0.2);
    background: #f7f4ef;
    color: #5d554d;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.2;
}

.hood-tech-list {
    display: grid;
    gap: 0.24rem;
    margin-top: 0.75rem;
}

.hood-tech-line {
    color: #5e5850;
    font-size: 0.79rem;
    line-height: 1.35;
}

.hood-tech-line strong {
    color: #26221d;
}

.hood-empty-state {
    margin-top: 1rem;
    text-align: center;
    color: #645e56;
    font-weight: 600;
}

.footer {
    background: #101010;
    color: #d4d0c9;
    padding: 2rem 0;
    text-align: center;
}

.footer a {
    color: var(--beige);
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.6rem;
    text-align: left;
    margin-bottom: 1.6rem;
}

.footer .footer-section h4 {
    margin: 0 0 0.8rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer .footer-section h3 {
    margin: 0.85rem 0 0.35rem;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer .footer-section p {
    margin: 0 0 0.55rem;
    line-height: 1.65;
}

.footer .footer-section ul,
.footer .footer-section nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-section ul li {
    margin-bottom: 0.55rem;
}

.footer .footer-section a {
    color: inherit;
    text-decoration: none;
}

.footer .footer-section a:hover,
.footer .footer-section a:focus-visible {
    text-decoration: underline;
}

.footer .footer-bottom {
    border-top: 1px solid rgba(212, 208, 201, 0.18);
    padding-top: 1.25rem;
    font-size: 0.9rem;
    text-align: center;
}

.footer .footer-section p a {
    color: inherit;
}

.footer-privacy-inline {
    margin-top: 0.65rem;
}

.footer-privacy-inline a {
    color: var(--beige);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

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

@media (max-width: 768px) {
    html,
    body,
    .section-page,
    .catalog-main,
    main,
    section {
        overflow-x: clip;
    }

    .container {
        width: min(100%, 1200px);
        padding-left: clamp(12px, 4vw, 20px);
        padding-right: clamp(12px, 4vw, 20px);
    }

    img,
    video,
    iframe {
        max-width: 100%;
    }

    .catalog-hero {
        min-height: 66vh;
    }

    .header {
        animation: navMobileFadeIn 0.35s ease-out both;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        font-size: 0.95rem;
        padding: 1.2rem 1rem 1.4rem;
        background: linear-gradient(135deg, #141414 0%, #1f1f1f 100%);
        border-top: 1px solid rgba(214, 204, 187, 0.25);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .hamburger {
        display: flex;
    }

    .section-page .section-products .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}

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

/* =========================================
   Global Theme Override - 2026-02 Palette
   #fbfbfa | #edeae7 | #d6d0c9
   ========================================= */
:root {
    --primary-color: #d6d0c9;
    --secondary-color: #d6d0c9;
    --accent-color: #edeae7;
    --text-color: #4f4a43;
    --white: #fbfbfa;
    --beige: #edeae7;
    --gray-medium: #867f76;
}

body,
.section-page,
.catalog-main,
.section-products {
    background: #fbfbfa;
    color: var(--text-color);
}

.header {
    background: linear-gradient(135deg, #fbfbfa 0%, #edeae7 100%);
    border-top: 1px solid rgba(214, 208, 201, 0.75);
    border-bottom: 1px solid rgba(214, 208, 201, 0.65);
    box-shadow: 0 10px 25px rgba(79, 74, 67, 0.12);
}

.navbar {
    border-bottom: 1px solid rgba(214, 208, 201, 0.65);
}

.nav-menu {
    background: transparent;
}

.logo h1,
.logo .tagline,
.nav-menu a {
    color: #4f4a43;
}

.hamburger span {
    background: #4f4a43;
}

.header.header-transparent .logo h1,
.header.header-transparent .logo .tagline,
.header.header-transparent .nav-menu a {
    color: #fbfbfa;
}

.header.header-transparent .hamburger span {
    background: #fbfbfa;
}

.catalog-hero-overlay,
.section-hero::after {
    background: linear-gradient(180deg, rgba(79, 74, 67, 0.12), rgba(79, 74, 67, 0.45));
}

.catalog-hero-content {
    color: #fbfbfa;
}

.category-loop-section {
    background: linear-gradient(180deg, #edeae7 0%, #d6d0c9 100%);
    border-top: 1px solid rgba(214, 208, 201, 0.75);
    border-bottom: 1px solid rgba(214, 208, 201, 0.75);
}

.loop-name,
.catalog-hero-content p {
    color: #edeae7;
}

.section-hero-content {
    color: #24201d;
}

.section-hero-content p {
    color: #5f584f;
}

.catalog-section,
.catalog-section.alt,
.section-page {
    background: #fbfbfa;
    border-bottom: 1px solid rgba(214, 208, 201, 0.65);
}

.section-title-link,
.catalog-section h2,
.section-product-name,
.product-card h3 {
    color: #4f4a43;
}

.visit-section-link a,
.section-product-desc,
.product-card p,
.visit-card a {
    color: #6a645d;
}

.product-card,
.section-product-card {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

.product-thumb,
.section-product-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0;
    border-radius: 14px;
    background: #d6d0c9;
}

.product-card:not(.visit-card),
.section-product-card {
    padding: 0;
    transition: transform var(--micro-lift-duration) var(--theme-motion-ease), box-shadow var(--micro-lift-duration) ease, border-color var(--micro-lift-duration) ease, background var(--theme-motion-duration) var(--theme-motion-ease);
}

.product-thumb img,
.section-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.62s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.32s ease, opacity 0.32s ease;
}

.product-image-swap {
    width: 100%;
    height: auto;
}

.product-card h3,
.product-card p,
.section-product-name,
.section-product-desc {
    padding-left: 0.95rem;
    padding-right: 0.95rem;
    text-align: left;
    position: relative;
}

.product-card h3,
.section-product-name {
    margin-top: 0.85rem;
}

.product-card p,
.section-product-desc {
    margin-bottom: 0.95rem;
}

.section-product-card .section-product-name,
.section-product-card .section-product-desc,
.product-card:not(.visit-card) h3,
.product-card:not(.visit-card) p {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 1px solid transparent;
    background: transparent;
    transition: color 0.35s ease, transform var(--micro-lift-duration) var(--theme-motion-ease);
    position: relative;
}

.section-product-card:hover,
.section-product-card:focus-within,
.product-card:not(.visit-card):hover,
.product-card:not(.visit-card):focus-within {
    transform: translateY(-6px);
    z-index: 12;
}

.section-product-card .section-product-name,
.product-card:not(.visit-card) h3 {
    margin-bottom: 0;
    padding-top: 0.55rem;
    padding-bottom: 0.35rem;
    border: none;
    border-radius: 10px 10px 0 0;
}

.section-product-card .section-card-link > .section-product-name:last-child {
    border-radius: 10px;
    padding-bottom: 0.55rem;
}

.section-product-card .section-product-desc,
.product-card:not(.visit-card) p {
    margin-top: 0;
    padding-top: 0.35rem;
    padding-bottom: 0.55rem;
    border: none;
    border-radius: 0 0 10px 10px;
}

.section-product-card:hover .section-product-name,
.section-product-card:hover .section-product-desc,
.product-card:not(.visit-card):hover h3,
.product-card:not(.visit-card):hover p,
.section-product-card:focus-within .section-product-name,
.section-product-card:focus-within .section-product-desc,
.product-card:not(.visit-card):focus-within h3,
.product-card:not(.visit-card):focus-within p {
    border-color: transparent;
    background: transparent;
    transform: translateX(2px);
}

.section-product-card:hover .section-product-image img,
.section-product-card:focus-within .section-product-image img,
.product-card:not(.visit-card):hover .product-thumb img,
.product-card:not(.visit-card):focus-within .product-thumb img {
    transform: scale(1.03);
}

.section-product-card .section-product-name::before,
.section-product-card .section-product-name::after,
.section-product-card .section-product-desc::before,
.section-product-card .section-product-desc::after,
.product-card:not(.visit-card) h3::before,
.product-card:not(.visit-card) h3::after,
.product-card:not(.visit-card) p::before,
.product-card:not(.visit-card) p::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.section-product-card .section-product-name::before,
.product-card:not(.visit-card) h3::before {
    top: -2px;
    left: 0;
    border-top: 2px solid rgba(79, 74, 67, 0.56);
    border-left: 2px solid rgba(79, 74, 67, 0.56);
    border-top-left-radius: 10px;
}

.section-product-card .section-product-name::after,
.product-card:not(.visit-card) h3::after {
    top: -2px;
    right: 0;
    border-top: 2px solid rgba(79, 74, 67, 0.56);
    border-right: 2px solid rgba(79, 74, 67, 0.56);
    border-top-right-radius: 10px;
}

.section-product-card .section-product-desc::before,
.product-card:not(.visit-card) p::before {
    bottom: -2px;
    left: 0;
    border-bottom: 2px solid rgba(79, 74, 67, 0.56);
    border-left: 2px solid rgba(79, 74, 67, 0.56);
    border-bottom-left-radius: 10px;
}

.section-product-card .section-product-desc::after,
.product-card:not(.visit-card) p::after {
    bottom: -2px;
    right: 0;
    border-bottom: 2px solid rgba(79, 74, 67, 0.56);
    border-right: 2px solid rgba(79, 74, 67, 0.56);
    border-bottom-right-radius: 10px;
}

.section-product-card .section-card-link > .section-product-name:last-child::before {
    bottom: -2px;
    top: auto;
    left: 0;
    border-top: none;
    border-right: none;
    border-bottom: 2px solid rgba(79, 74, 67, 0.56);
    border-left: 2px solid rgba(79, 74, 67, 0.56);
    border-top-left-radius: 0;
    border-bottom-left-radius: 10px;
    opacity: 0;
}

.section-product-card .section-card-link > .section-product-name:last-child::after {
    bottom: -2px;
    top: auto;
    right: 0;
    border-top: none;
    border-left: none;
    border-bottom: 2px solid rgba(79, 74, 67, 0.56);
    border-right: 2px solid rgba(79, 74, 67, 0.56);
    border-top-right-radius: 0;
    border-bottom-right-radius: 10px;
    opacity: 0;
}

.section-product-card:hover .section-product-name::before,
.section-product-card:hover .section-product-name::after,
.section-product-card:hover .section-product-desc::before,
.section-product-card:hover .section-product-desc::after,
.section-product-card:focus-within .section-product-name::before,
.section-product-card:focus-within .section-product-name::after,
.section-product-card:focus-within .section-product-desc::before,
.section-product-card:focus-within .section-product-desc::after,
.product-card:not(.visit-card):hover h3::before,
.product-card:not(.visit-card):hover h3::after,
.product-card:not(.visit-card):hover p::before,
.product-card:not(.visit-card):hover p::after,
.product-card:not(.visit-card):focus-within h3::before,
.product-card:not(.visit-card):focus-within h3::after,
.product-card:not(.visit-card):focus-within p::before,
.product-card:not(.visit-card):focus-within p::after {
    opacity: 1;
}

.section-product-card:hover .section-card-link > .section-product-name:last-child::before,
.section-product-card:hover .section-card-link > .section-product-name:last-child::after,
.section-product-card:focus-within .section-card-link > .section-product-name:last-child::before,
.section-product-card:focus-within .section-card-link > .section-product-name:last-child::after {
    opacity: 1;
}

.footer {
    background: linear-gradient(135deg, #edeae7 0%, #d6d0c9 100%);
    color: #4f4a43;
}

.footer a {
    color: #6a645d;
}

@media (max-width: 768px) {
    .nav-menu {
        background: linear-gradient(135deg, #fbfbfa 0%, #edeae7 100%);
        border-top: 1px solid rgba(214, 208, 201, 0.75);
    }
}

.theme-toggle {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(79, 74, 67, 0.25);
    border-radius: 999px;
    background: rgba(251, 251, 250, 0.85);
    color: #4f4a43;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.header.header-transparent .theme-toggle {
    background: rgba(0, 0, 0, 0.26);
    border-color: rgba(251, 251, 250, 0.5);
    color: #fbfbfa;
}

[data-theme="dark"] {
    --primary-color: #000000;
    --secondary-color: #585756;
    --accent-color: #413f3e;
    --text-color: #f2efeb;
    --white: #f2efeb;
    --beige: #585756;
    --gray-medium: #cbc4bc;
}

[data-theme="dark"] body,
[data-theme="dark"] .section-page,
[data-theme="dark"] .catalog-main,
[data-theme="dark"] .section-products,
[data-theme="dark"] .header,
[data-theme="dark"] .footer,
[data-theme="dark"] .category-loop-section,
[data-theme="dark"] .catalog-section,
[data-theme="dark"] .catalog-section.alt {
    background: linear-gradient(135deg, #000000 0%, #413f3e 100%);
    color: #f2efeb;
}

[data-theme="dark"] .header {
    border-top: 1px solid rgba(88, 87, 86, 0.8);
    border-bottom: 1px solid rgba(88, 87, 86, 0.7);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .logo h1,
[data-theme="dark"] .logo .tagline,
[data-theme="dark"] .nav-menu a,
[data-theme="dark"] .section-title-link,
[data-theme="dark"] .catalog-section h2,
[data-theme="dark"] .section-product-name,
[data-theme="dark"] .product-card h3,
[data-theme="dark"] .footer,
[data-theme="dark"] .footer a {
    color: #f2efeb;
}

[data-theme="dark"] .visit-section-link a,
[data-theme="dark"] .section-product-desc,
[data-theme="dark"] .product-card p,
[data-theme="dark"] .visit-card a {
    color: #dbd5ce;
}

[data-theme="dark"] .product-card,
[data-theme="dark"] .section-product-card {
    background: transparent;
    box-shadow: none;
}

[data-theme="dark"] .product-thumb,
[data-theme="dark"] .section-product-image {
    background: #000000;
}

[data-theme="dark"] .section-product-card:hover .section-product-name,
[data-theme="dark"] .section-product-card:hover .section-product-desc,
[data-theme="dark"] .product-card:not(.visit-card):hover h3,
[data-theme="dark"] .product-card:not(.visit-card):hover p,
[data-theme="dark"] .section-product-card:focus-within .section-product-name,
[data-theme="dark"] .section-product-card:focus-within .section-product-desc,
[data-theme="dark"] .product-card:not(.visit-card):focus-within h3,
[data-theme="dark"] .product-card:not(.visit-card):focus-within p {
    border-color: transparent;
    background: transparent;
}

[data-theme="dark"] .section-hero {
    background: #2f2e2d;
}

[data-theme="dark"] .section-hero-content {
    color: #f2efeb;
}

[data-theme="dark"] .section-hero-content p {
    color: #d1cbc3;
}

[data-theme="dark"] .section-product-card .section-product-name::before,
[data-theme="dark"] .section-product-card .section-product-name::after,
[data-theme="dark"] .section-product-card .section-product-desc::before,
[data-theme="dark"] .section-product-card .section-product-desc::after,
[data-theme="dark"] .product-card:not(.visit-card) h3::before,
[data-theme="dark"] .product-card:not(.visit-card) h3::after,
[data-theme="dark"] .product-card:not(.visit-card) p::before,
[data-theme="dark"] .product-card:not(.visit-card) p::after {
    border-color: rgba(239, 237, 233, 0.56);
}

[data-theme="dark"] .section-product-card .section-card-link > .section-product-name:last-child::before,
[data-theme="dark"] .section-product-card .section-card-link > .section-product-name:last-child::after {
    border-color: rgba(239, 237, 233, 0.56);
}

[data-theme="dark"] .theme-toggle {
    background: rgba(88, 87, 86, 0.45);
    border-color: rgba(242, 239, 235, 0.35);
    color: #f2efeb;
}

[data-theme="dark"] .theme-coming-media .coming-soon-white {
    display: none;
}

[data-theme="dark"] .theme-coming-media .coming-soon-black {
    display: block;
}

[data-theme="dark"] .hood-explorer {
    background: linear-gradient(180deg, rgba(34, 31, 27, 0.92), rgba(24, 22, 19, 0.96));
    border-color: rgba(186, 175, 160, 0.22);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .hood-toolbar {
    background: rgba(30, 28, 24, 0.88);
    border-color: rgba(186, 175, 160, 0.2);
}

[data-theme="dark"] .hood-search-box label,
[data-theme="dark"] .hood-filter-title,
[data-theme="dark"] .hood-filter-field span,
[data-theme="dark"] .hood-results-count,
[data-theme="dark"] .hood-empty-state {
    color: #c9c1b6;
}

[data-theme="dark"] .hood-search-box input,
[data-theme="dark"] .hood-filter-field select,
[data-theme="dark"] .hood-filter-panel {
    background: transparent;
    color: #efebe5;
    border-color: transparent;
}

[data-theme="dark"] .hood-search-box input:focus,
[data-theme="dark"] .hood-filter-field select:focus {
    box-shadow: inset 0 -2px 0 #b8ac9d;
}

[data-theme="dark"] .hood-filter-badge {
    background: #f0ece6;
    color: #1f1c18;
}

[data-theme="dark"] .hood-reset-btn {
    color: #f0ece6;
}

[data-theme="dark"] .hood-meta-pill {
    background: rgba(46, 42, 37, 0.9);
    border-color: rgba(186, 175, 160, 0.18);
    color: #d4ccc1;
}

[data-theme="dark"] .hood-tech-line {
    color: #cdc4b8;
}

[data-theme="dark"] .hood-tech-line strong {
    color: #f5f0e9;
}

[data-theme="dark"] .featured-banner-overlay {
    background: linear-gradient(110deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.48) 58%, rgba(0, 0, 0, 0.2) 100%);
}

/* Mobile-first optimization for catalog and section pages */
@media (max-width: 768px) {
    .navbar .container {
        gap: 10px;
    }

    .theme-toggle {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
        flex-shrink: 0;
    }

    .section-page .section-products {
        padding: 2.2rem 0 3rem;
    }

    .section-page .section-products .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hood-toolbar {
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 0;
    }

    .hood-search-box {
        width: 100%;
    }

    .hood-filter-panel {
        margin-top: 0;
    }

    .hood-filters-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hood-results-bar {
        margin-top: 0.45rem;
    }

    .section-products-grid,
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .section-product-card,
    .product-card:not(.visit-card) {
        max-width: 460px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .section-product-image,
    .product-thumb {
        aspect-ratio: 1 / 1;
    }

    .section-product-name,
    .product-card h3 {
        font-size: 1.02rem;
    }

    .section-product-desc,
    .product-card p {
        font-size: 0.92rem;
        line-height: 1.45;
    }

    .featured-category-banner {
        padding: 1rem 0 0.4rem;
    }

    .featured-banner-card {
        min-height: 210px;
    }

    .featured-banner-content {
        padding: 1.2rem;
        max-width: 100%;
    }

    .featured-banner-content p {
        font-size: 0.89rem;
    }

    [data-theme="dark"] .nav-menu,
    [data-theme="dark"] .nav-menu.active {
        background: linear-gradient(135deg, #000000 0%, #413f3e 100%);
        border-top: 1px solid rgba(88, 87, 86, 0.8);
    }
}

@media (max-width: 480px) {
    .section-page .section-products .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .hood-toolbar {
        grid-template-columns: 1fr;
        gap: 0;
        border-radius: 12px;
    }

    .hood-search-box {
        width: 100%;
    }

    .hood-filter-panel-heading {
        gap: 0.45rem;
    }

    .hood-filter-panel {
        margin-top: 0;
    }

    .hood-filters-grid {
        grid-template-columns: 1fr;
    }

    .section-product-card,
    .product-card:not(.visit-card) {
        max-width: none;
    }
}

/* =========================================
   Accessibility Baseline
   ========================================= */
:focus-visible {
    outline: 3px solid #1a73e8;
    outline-offset: 2px;
}

.skip-link {
    position: fixed;
    top: -48px;
    left: 14px;
    z-index: 3000;
    background: #1a73e8;
    color: #ffffff;
    text-decoration: none;
    padding: 0.55rem 0.85rem;
    border-radius: 8px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 12px;
}

html[data-text-size="large"] {
    font-size: 112.5%;
}

html[data-text-size="larger"] {
    font-size: 125%;
}

html[data-readable-font="true"] body,
html[data-readable-font="true"] input,
html[data-readable-font="true"] select,
html[data-readable-font="true"] textarea,
html[data-readable-font="true"] button {
    font-family: Verdana, Tahoma, sans-serif;
}

html[data-underline-links="true"] a {
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

html[data-reduce-motion="true"] *,
html[data-reduce-motion="true"] *::before,
html[data-reduce-motion="true"] *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
}

html[data-reduce-motion="true"] .achievement-card,
html[data-reduce-motion="true"] .contact-box,
html[data-reduce-motion="true"] .stat-item,
html[data-reduce-motion="true"] .analytics-text,
html[data-reduce-motion="true"] .about-text,
html[data-reduce-motion="true"] .highlight,
html[data-reduce-motion="true"] .consultation-content,
html[data-reduce-motion="true"] .section-title,
html[data-reduce-motion="true"] [data-apple-animate="true"],
html[data-reduce-motion="true"] .apple-visible-title,
html[data-reduce-motion="true"] .apple-visible-card,
html[data-reduce-motion="true"] .apple-visible-left,
html[data-reduce-motion="true"] .apple-visible-right,
html[data-reduce-motion="true"] .apple-visible-scale {
    opacity: 1 !important;
    transform: none !important;
}

html[data-reduce-motion="true"] .brand-band-text .band-word {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
}

html[data-reduce-motion="true"] .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
}

html[data-contrast="high"] body,
html[data-contrast="high"] .section-page,
html[data-contrast="high"] .header,
html[data-contrast="high"] .nav-menu,
html[data-contrast="high"] .footer,
html[data-contrast="high"] .section-hero,
html[data-contrast="high"] .section-hero::after,
html[data-contrast="high"] .section-hero-content,
html[data-contrast="high"] .section-products,
html[data-contrast="high"] .section-page .section-products .container,
html[data-contrast="high"] .section-products-grid,
html[data-contrast="high"] .section-product-image,
html[data-contrast="high"] .theme-coming-media,
html[data-contrast="high"] .catalog-section,
html[data-contrast="high"] .catalog-section.alt,
html[data-contrast="high"] .featured-banner-card,
html[data-contrast="high"] .section-product-card,
html[data-contrast="high"] .product-card {
    background: #000000 !important;
    color: #ffffff !important;
}

html[data-contrast="high"] .section-product-flag {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html[data-contrast="high"] a,
html[data-contrast="high"] p,
html[data-contrast="high"] h1,
html[data-contrast="high"] h2,
html[data-contrast="high"] h3,
html[data-contrast="high"] h4,
html[data-contrast="high"] .tagline,
html[data-contrast="high"] .section-product-desc {
    color: #ffffff !important;
}

html[data-contrast="high"] .nav-menu,
html[data-contrast="high"] .navbar .nav-cluster,
html[data-contrast="high"] .navbar .nav-cluster.active,
html[data-contrast="high"] .nav-mega-panel,
html[data-contrast="high"] .nav-mega-panel-home,
html[data-contrast="high"] .nav-dropdown-panel {
    background: #0d0d0d !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}

html[data-contrast="high"] .nav-mega.mobile-open .nav-mega-panel,
html[data-contrast="high"] .nav-mega.mobile-open .nav-mega-panel-home,
html[data-contrast="high"] .nav-dropdown.mobile-open .nav-dropdown-panel,
html[data-contrast="high"] .nav-mega.mobile-open .nav-mega-panel .nav-mega-panel-inner,
html[data-contrast="high"] .nav-mega.mobile-open .nav-mega-panel-home .nav-mega-panel-inner,
html[data-contrast="high"] .nav-mega-item,
html[data-contrast="high"] .nav-dropdown-item {
    background: #000000 !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}

html[data-contrast="high"] .nav-menu a,
html[data-contrast="high"] .nav-mega-toggle,
html[data-contrast="high"] .nav-dropdown-toggle,
html[data-contrast="high"] .nav-mega-label,
html[data-contrast="high"] .nav-mega-link,
html[data-contrast="high"] .nav-dropdown-item {
    color: #ffffff !important;
}

html[data-contrast="high"] .header .nav-menu,
html[data-contrast="high"] .header .nav-menu > li,
html[data-contrast="high"] .header .nav-mega,
html[data-contrast="high"] .header .nav-dropdown,
html[data-contrast="high"] .header .nav-menu a,
html[data-contrast="high"] .header .nav-menu .nav-mega-toggle,
html[data-contrast="high"] .header .nav-menu .nav-dropdown-toggle {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

html[data-contrast="high"] .hood-explorer,
html[data-contrast="high"] .hood-toolbar,
html[data-contrast="high"] .hood-filter-panel,
html[data-contrast="high"] .hood-reset-btn,
html[data-contrast="high"] .hood-search-box input,
html[data-contrast="high"] .hood-filter-field select {
    background: #000000 !important;
    color: #f4f4f4 !important;
    border-color: rgba(255, 255, 255, 0.42) !important;
    box-shadow: none !important;
}

html[data-contrast="high"] .hood-search-box label,
html[data-contrast="high"] .hood-filter-title,
html[data-contrast="high"] .hood-filter-field span,
html[data-contrast="high"] .hood-results-count {
    color: #f4f4f4 !important;
}

html[data-contrast="high"] .hood-filter-badge {
    background: #f4f4f4 !important;
    color: #000000 !important;
}

html[data-contrast="high"] .hood-search-box input::placeholder {
    color: #d9d9d9 !important;
}

html[data-contrast="high"] .hood-search-box input:focus,
html[data-contrast="high"] .hood-filter-field select:focus {
    box-shadow: inset 0 -2px 0 #ffffff !important;
}

html[data-contrast="high"] .theme-coming-media .coming-soon-white {
    display: none !important;
}

html[data-contrast="high"] .theme-coming-media .coming-soon-black {
    display: block !important;
}

html[data-contrast="high"] .a11y-panel {
    background: #0f0f0f !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 0 2px #ffffff !important;
}

html[data-contrast="high"] .a11y-panel h2,
html[data-contrast="high"] .a11y-row span,
html[data-contrast="high"] .a11y-help,
html[data-contrast="high"] .a11y-status {
    color: #e6e6e6 !important;
}

html[data-contrast="high"] .a11y-help,
html[data-contrast="high"] .a11y-status {
    background: #000000 !important;
    border: 1px solid #ffffff !important;
    box-shadow: none !important;
}

html[data-contrast="high"] .a11y-divider {
    border-top-color: rgba(255, 255, 255, 0.45) !important;
}

html[data-contrast="high"] .a11y-profile-grid button,
html[data-contrast="high"] .a11y-toggle,
html[data-contrast="high"] .a11y-row button,
html[data-contrast="high"] .a11y-close {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    box-shadow: none !important;
}

html[data-contrast="high"] .a11y-profile-grid button.is-active,
html[data-contrast="high"] .a11y-toggle.is-active,
html[data-contrast="high"] .a11y-row button.is-active {
    background: #ffffff !important;
    color: #000000 !important;
}

html[data-contrast="high"] .a11y-toggle::after {
    background: #4a4a4a !important;
    box-shadow: inset 0 0 0 2px #ffffff !important;
}

html[data-contrast="high"] .a11y-toggle.is-active::after {
    background: #000000 !important;
    box-shadow: inset 0 0 0 2px #000000 !important;
}

.a11y-fab {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 2147483000;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: transparent url("Accessibility Gradient.png") center/cover no-repeat;
    color: transparent;
    font-size: 0;
    line-height: 0;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.a11y-panel {
    position: fixed;
    right: 16px;
    top: auto;
    bottom: auto;
    z-index: 2147483000;
    width: min(390px, calc(100vw - 24px));
    max-height: min(720px, calc(100dvh - 96px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.985) 0%, rgba(244, 241, 236, 0.97) 100%);
    color: #1d1d1d;
    border: 1px solid rgba(73, 67, 59, 0.14);
    border-radius: 22px;
    box-shadow: 0 22px 54px rgba(19, 18, 17, 0.24);
    padding: 1rem 1rem 0.95rem;
    isolation: isolate;
    backdrop-filter: blur(18px);
}

.a11y-panel[hidden] {
    display: none;
}

.a11y-panel h2 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.a11y-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.a11y-close {
    border: 1px solid rgba(52, 47, 42, 0.12);
    background: rgba(255, 255, 255, 0.74);
    color: #111111;
    border-radius: 999px;
    min-width: 36px;
    min-height: 36px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.a11y-help {
    font-size: 0.82rem;
    color: #575049;
    margin: 0 0 0.7rem;
    padding: 0.48rem 0.65rem;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(73, 67, 59, 0.08);
    border-radius: 12px;
}

.a11y-divider {
    border: 0;
    border-top: 1px solid rgba(73, 67, 59, 0.12);
    margin: 0.7rem 0 0.8rem;
}

.a11y-profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.a11y-profile-grid button,
.a11y-toggle {
    border: 1px solid rgba(73, 67, 59, 0.12);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    color: #1a1a1a;
    padding: 0.58rem 0.7rem;
    cursor: pointer;
    min-height: 42px;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.a11y-profile-grid button.is-active,
.a11y-toggle.is-active {
    background: linear-gradient(135deg, #f0f5ff 0%, #dde8ff 100%);
    border-color: rgba(55, 88, 150, 0.34);
    box-shadow: 0 8px 18px rgba(64, 100, 171, 0.14);
}

.a11y-status {
    margin: 0.55rem 0 0;
    font-size: 0.8rem;
    color: #4f4840;
    padding: 0.55rem 0.7rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(73, 67, 59, 0.08);
    border-radius: 12px;
}

.a11y-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 0.65rem;
}

.a11y-row span {
    font-size: 0.86rem;
    font-weight: 700;
    color: #413b35;
}

.a11y-row > div {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.64);
    border: 1px solid rgba(73, 67, 59, 0.08);
    border-radius: 14px;
}

.a11y-row button {
    border: 1px solid rgba(73, 67, 59, 0.12);
    background: transparent;
    color: #111111;
    border-radius: 10px;
    padding: 0.45rem 0.72rem;
    cursor: pointer;
    min-height: 38px;
    font-weight: 650;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.a11y-row button.is-active {
    background: linear-gradient(135deg, #eef4ff 0%, #dde8ff 100%);
    border-color: rgba(55, 88, 150, 0.34);
    box-shadow: 0 8px 18px rgba(64, 100, 171, 0.14);
}

.a11y-toggle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 0.55rem;
}

.a11y-toggle {
    text-align: left;
    position: relative;
    padding-right: 2.45rem;
}

.a11y-toggle::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transform: translateY(-50%);
    background: #d4d4d4;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.12);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.a11y-toggle.is-active::after {
    background: #1a73e8;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.25);
}

.a11y-reset-row {
    justify-content: flex-end;
    margin-bottom: 0.35rem;
}

.a11y-profile-grid button:hover,
.a11y-toggle:hover,
.a11y-row button:hover,
.a11y-close:hover {
    transform: translateY(-1px);
}

html[data-text-spacing="none"] body,
html[data-text-spacing="none"] p,
html[data-text-spacing="none"] a,
html[data-text-spacing="none"] span,
html[data-text-spacing="none"] li,
html[data-text-spacing="none"] h1,
html[data-text-spacing="none"] h2,
html[data-text-spacing="none"] h3,
html[data-text-spacing="none"] h4,
html[data-text-spacing="none"] h5,
html[data-text-spacing="none"] h6,
html[data-text-spacing="none"] strong,
html[data-text-spacing="none"] em,
html[data-text-spacing="none"] button,
html[data-text-spacing="none"] label,
html[data-text-spacing="none"] input,
html[data-text-spacing="none"] textarea,
html[data-text-spacing="none"] select {
    word-spacing: 0 !important;
}

html[data-text-spacing="medium"] body,
html[data-text-spacing="medium"] p,
html[data-text-spacing="medium"] a,
html[data-text-spacing="medium"] span,
html[data-text-spacing="medium"] li,
html[data-text-spacing="medium"] h1,
html[data-text-spacing="medium"] h2,
html[data-text-spacing="medium"] h3,
html[data-text-spacing="medium"] h4,
html[data-text-spacing="medium"] h5,
html[data-text-spacing="medium"] h6,
html[data-text-spacing="medium"] strong,
html[data-text-spacing="medium"] em,
html[data-text-spacing="medium"] button,
html[data-text-spacing="medium"] label,
html[data-text-spacing="medium"] input,
html[data-text-spacing="medium"] textarea,
html[data-text-spacing="medium"] select {
    word-spacing: 0.35em !important;
}

html[data-text-spacing="high"] body,
html[data-text-spacing="high"] p,
html[data-text-spacing="high"] a,
html[data-text-spacing="high"] span,
html[data-text-spacing="high"] li,
html[data-text-spacing="high"] h1,
html[data-text-spacing="high"] h2,
html[data-text-spacing="high"] h3,
html[data-text-spacing="high"] h4,
html[data-text-spacing="high"] h5,
html[data-text-spacing="high"] h6,
html[data-text-spacing="high"] strong,
html[data-text-spacing="high"] em,
html[data-text-spacing="high"] button,
html[data-text-spacing="high"] label,
html[data-text-spacing="high"] input,
html[data-text-spacing="high"] textarea,
html[data-text-spacing="high"] select {
    word-spacing: 0.6em !important;
}

html[data-text-spacing="low"] body,
html[data-text-spacing="low"] p,
html[data-text-spacing="low"] a,
html[data-text-spacing="low"] span,
html[data-text-spacing="low"] li,
html[data-text-spacing="low"] h1,
html[data-text-spacing="low"] h2,
html[data-text-spacing="low"] h3,
html[data-text-spacing="low"] h4,
html[data-text-spacing="low"] h5,
html[data-text-spacing="low"] h6,
html[data-text-spacing="low"] strong,
html[data-text-spacing="low"] em,
html[data-text-spacing="low"] button,
html[data-text-spacing="low"] label,
html[data-text-spacing="low"] input,
html[data-text-spacing="low"] textarea,
html[data-text-spacing="low"] select {
    word-spacing: 0.18em !important;
}

html[data-line-height="normal"] body,
html[data-line-height="normal"] p,
html[data-line-height="normal"] li,
html[data-line-height="normal"] a,
html[data-line-height="normal"] span,
html[data-line-height="normal"] label,
html[data-line-height="normal"] input,
html[data-line-height="normal"] textarea,
html[data-line-height="normal"] select,
html[data-line-height="normal"] button {
    line-height: 1.5 !important;
}

html[data-line-height="medium"] body,
html[data-line-height="medium"] p,
html[data-line-height="medium"] li,
html[data-line-height="medium"] a,
html[data-line-height="medium"] span,
html[data-line-height="medium"] label,
html[data-line-height="medium"] input,
html[data-line-height="medium"] textarea,
html[data-line-height="medium"] select,
html[data-line-height="medium"] button {
    line-height: 1.75 !important;
}

html[data-line-height="high"] body,
html[data-line-height="high"] p,
html[data-line-height="high"] li,
html[data-line-height="high"] a,
html[data-line-height="high"] span,
html[data-line-height="high"] label,
html[data-line-height="high"] input,
html[data-line-height="high"] textarea,
html[data-line-height="high"] select,
html[data-line-height="high"] button {
    line-height: 2.05 !important;
}

html[data-enhanced-cursor="true"],
html[data-enhanced-cursor="true"] body {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M8 5 L8 28 L14.5 22.3 L18.8 33 L23.4 31.1 L19.2 20.8 L29.8 20.8 Z' fill='%230f1720' stroke='%23ffffff' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") 8 5, auto !important;
}

html[data-enhanced-cursor="true"] a,
html[data-enhanced-cursor="true"] button,
html[data-enhanced-cursor="true"] [role="button"],
html[data-enhanced-cursor="true"] input,
html[data-enhanced-cursor="true"] select,
html[data-enhanced-cursor="true"] textarea,
html[data-enhanced-cursor="true"] label,
html[data-enhanced-cursor="true"] summary {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cpath d='M8 5 L8 30 L15 23.8 L19.8 35.6 L24.8 33.5 L20.1 22.2 L31.8 22.2 Z' fill='%230a0f16' stroke='%23ffffff' stroke-width='1.9' stroke-linejoin='round'/%3E%3Cpath d='M29.4 8.7 L35.2 8.7 L35.2 14.5' fill='none' stroke='%230a0f16' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 8 5, pointer !important;
}

html[data-enhanced-cursor="true"][data-theme="dark"],
html[data-enhanced-cursor="true"][data-theme="dark"] body {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M8 5 L8 28 L14.5 22.3 L18.8 33 L23.4 31.1 L19.2 20.8 L29.8 20.8 Z' fill='%23f5f0e9' stroke='%23101010' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") 8 5, auto !important;
}

html[data-enhanced-cursor="true"][data-theme="dark"] a,
html[data-enhanced-cursor="true"][data-theme="dark"] button,
html[data-enhanced-cursor="true"][data-theme="dark"] [role="button"],
html[data-enhanced-cursor="true"][data-theme="dark"] input,
html[data-enhanced-cursor="true"][data-theme="dark"] select,
html[data-enhanced-cursor="true"][data-theme="dark"] textarea,
html[data-enhanced-cursor="true"][data-theme="dark"] label,
html[data-enhanced-cursor="true"][data-theme="dark"] summary {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cpath d='M8 5 L8 30 L15 23.8 L19.8 35.6 L24.8 33.5 L20.1 22.2 L31.8 22.2 Z' fill='%23f5f0e9' stroke='%23101010' stroke-width='1.9' stroke-linejoin='round'/%3E%3Cpath d='M29.4 8.7 L35.2 8.7 L35.2 14.5' fill='none' stroke='%23f5f0e9' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 8 5, pointer !important;
}

html[data-enhanced-cursor="true"] *:focus-visible {
    outline: 4px solid #0f62fe !important;
    outline-offset: 5px !important;
    box-shadow: 0 0 0 6px rgba(196, 221, 255, 0.95), 0 0 0 11px rgba(15, 98, 254, 0.24) !important;
    border-radius: 12px;
}

html[data-enhanced-cursor="true"][data-theme="dark"] *:focus-visible {
    outline-color: #f5f0e9 !important;
    box-shadow: 0 0 0 6px rgba(28, 28, 28, 0.96), 0 0 0 11px rgba(245, 240, 233, 0.24) !important;
}

[data-theme="dark"] .a11y-panel {
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.985) 0%, rgba(10, 10, 10, 0.975) 100%);
    color: #f5f5f5;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.42);
}

[data-theme="dark"] .a11y-row button {
    background: transparent;
    color: #f5f5f5;
    border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .a11y-close,
[data-theme="dark"] .a11y-profile-grid button,
[data-theme="dark"] .a11y-toggle {
    background: rgba(255, 255, 255, 0.05);
    color: #f5f5f5;
    border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .a11y-profile-grid button.is-active,
[data-theme="dark"] .a11y-toggle.is-active,
[data-theme="dark"] .a11y-row button.is-active {
    background: linear-gradient(135deg, rgba(73, 107, 177, 0.4) 0%, rgba(44, 72, 126, 0.62) 100%);
    border-color: rgba(143, 178, 255, 0.42);
    box-shadow: 0 10px 22px rgba(50, 79, 132, 0.28);
}

[data-theme="dark"] .a11y-help,
[data-theme="dark"] .a11y-status {
    color: #d9d9d9;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .a11y-divider {
    border-top-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .a11y-row span {
    color: #efebe6;
}

[data-theme="dark"] .a11y-row > div {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .a11y-toggle::after {
    background: #525252;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .a11y-toggle.is-active::after {
    background: #8fb2ff;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

@media (max-width: 768px) {
    .a11y-fab {
        right: 12px;
        bottom: 12px;
    }

    .a11y-panel {
        right: 12px;
        left: auto;
        width: min(360px, calc(100vw - 24px));
        max-height: min(720px, calc(100dvh - 86px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));
    }
}

/* =========================================
   Navbar Split Layout
   ========================================= */
.navbar .container {
    justify-content: space-between;
    gap: 14px;
}

.logo {
    flex-shrink: 0;
    width: auto;
    overflow: hidden;
    margin-left: 0;
    transform: translateX(calc(-0.5 * (((100vw - min(1200px, 100vw)) / 2) + 20px)));
}

.logo-image-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: clamp(56px, 6.3vw, 88px);
    aspect-ratio: 2 / 1;
    height: auto;
    overflow: visible;
    text-decoration: none;
}

.logo-link::after,
.logo-image-link::after {
    display: none !important;
}

.logo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: none;
    transition: opacity 0.35s ease;
}

.logo-img-dark {
    opacity: 0;
}

.logo-img-light {
    opacity: 1;
}

/* Light theme: navbar transparent -> white logo, navbar solid -> black logo */
html:not([data-theme="dark"]) .header:not(.header-transparent) .logo-img-light {
    opacity: 0;
}

html:not([data-theme="dark"]) .header:not(.header-transparent) .logo-img-dark {
    opacity: 1;
}

/* Dark theme: keep white logo */
[data-theme="dark"] .logo-img-light {
    opacity: 1;
}

[data-theme="dark"] .logo-img-dark {
    opacity: 0;
}

html[data-contrast="high"] .logo-img-light {
    opacity: 1 !important;
}

html[data-contrast="high"] .logo-img-dark {
    opacity: 0 !important;
}

.navbar .nav-cluster {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
}

html[data-contrast="high"] body.section-page .navbar .nav-cluster,
html[data-contrast="high"] body.section-page .navbar .nav-cluster.active {
    background: #000 !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
}

.navbar .nav-cluster .nav-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
}

.navbar .nav-cluster .nav-menu.nav-menu-right {
    justify-content: flex-end;
}

.nav-mega {
    position: relative;
}

.nav-mega::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 16px;
}

.nav-mega-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-mega-toggle::after {
    content: "\25BE";
    font-size: 0.62rem;
    line-height: 1;
    margin-top: 0.08rem;
    transition: transform 0.28s ease;
}

.nav-mega-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    width: min(920px, calc(100vw - 84px));
    transform: translateX(-50%) translateY(-10px);
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 0.7rem;
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid rgba(199, 192, 184, 0.72);
    background: linear-gradient(140deg, rgba(251, 251, 250, 0.96) 0%, rgba(237, 234, 231, 0.96) 100%);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.17);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 36;
    transition: opacity 0.32s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.34s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s linear 0.34s;
}

.nav-mega-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-height: 76px;
    padding: 0.72rem 0.78rem;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid rgba(214, 208, 201, 0.88);
    background: rgba(251, 251, 250, 0.95);
    color: #4f4a43;
    transition: transform 0.24s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.nav-mega-item strong {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.nav-mega-item span {
    font-size: 0.72rem;
    line-height: 1.4;
    color: #6a645d;
}

.nav-mega-item:hover,
.nav-mega-item:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(134, 127, 118, 0.85);
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(79, 74, 67, 0.12);
    outline: none;
}

.nav-mega:hover .nav-mega-panel,
.nav-mega:focus-within .nav-mega-panel,
.nav-mega.mega-hold-open .nav-mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0s;
}

.nav-mega:hover .nav-mega-toggle::after,
.nav-mega:focus-within .nav-mega-toggle::after,
.nav-mega.mega-hold-open .nav-mega-toggle::after {
    transform: rotate(180deg);
}

[data-theme="dark"] .nav-mega-panel {
    background: linear-gradient(135deg, #0f0f0f 0%, #242322 100%);
    border-color: rgba(88, 87, 86, 0.85);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .nav-mega-item {
    background: rgba(40, 39, 38, 0.96);
    border-color: rgba(88, 87, 86, 0.85);
    color: #f2efeb;
}

[data-theme="dark"] .nav-mega-item span {
    color: #cbc4bc;
}

[data-theme="dark"] .nav-mega-item:hover,
[data-theme="dark"] .nav-mega-item:focus-visible {
    background: rgba(57, 56, 55, 0.98);
    border-color: rgba(201, 195, 188, 0.9);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5);
}

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 18px;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #d4d0c9;
    text-decoration: none;
    font-weight: 500;
    line-height: inherit;
    cursor: default;
    user-select: none;
    position: relative;
    top: 0;
    padding: 0;
    letter-spacing: 0.01em;
    transition: color 0.3s ease, transform 0.28s ease;
}

.nav-dropdown-toggle::before {
    content: '';
}

.nav-dropdown-toggle::after {
    content: "\25BE";
    font-size: 0.62rem;
    line-height: 1;
    margin-top: 0.08rem;
    transition: transform 0.28s ease;
}

.nav-dropdown-panel {
    position: absolute;
    top: 100%;
    margin-top: 10px;
    right: 0;
    width: min(560px, 72vw);
    display: grid;
    grid-template-columns: repeat(3, minmax(130px, 1fr));
    gap: 0.6rem;
    padding: 1rem 0.95rem;
    background: linear-gradient(140deg, rgba(251, 251, 250, 0.95) 0%, rgba(237, 234, 231, 0.95) 100%);
    border: 1px solid rgba(199, 192, 184, 0.72);
    border-radius: 14px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.97);
    transform-origin: top right;
    will-change: transform, opacity;
    transition: opacity 0.32s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.34s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s linear 0.34s;
    z-index: 35;
}

.nav-dropdown-panel::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
}

.nav-dropdown-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.nav-dropdown-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    border: 1px solid rgba(214, 208, 201, 0.85);
    background: rgba(251, 251, 250, 0.96);
    color: #4f4a43;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.68rem;
    font-weight: 700;
    text-align: center;
    opacity: 0;
    transform: translateY(6px);
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease, opacity 0.24s ease;
}

.nav-dropdown-item::after {
    display: none !important;
}

.nav-dropdown-item:hover,
.nav-dropdown-item:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(134, 127, 118, 0.8);
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(79, 74, 67, 0.14);
    outline: none;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
}

.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown:focus-within .nav-dropdown-toggle::after {
    transform: rotate(180deg);
}

.nav-dropdown:hover .nav-dropdown-item,
.nav-dropdown:focus-within .nav-dropdown-item {
    opacity: 1;
    transform: translateY(0);
}

.nav-dropdown:hover .nav-dropdown-item:nth-child(1),
.nav-dropdown:focus-within .nav-dropdown-item:nth-child(1) { transition-delay: 0.02s; }
.nav-dropdown:hover .nav-dropdown-item:nth-child(2),
.nav-dropdown:focus-within .nav-dropdown-item:nth-child(2) { transition-delay: 0.04s; }
.nav-dropdown:hover .nav-dropdown-item:nth-child(3),
.nav-dropdown:focus-within .nav-dropdown-item:nth-child(3) { transition-delay: 0.06s; }
.nav-dropdown:hover .nav-dropdown-item:nth-child(4),
.nav-dropdown:focus-within .nav-dropdown-item:nth-child(4) { transition-delay: 0.08s; }
.nav-dropdown:hover .nav-dropdown-item:nth-child(5),
.nav-dropdown:focus-within .nav-dropdown-item:nth-child(5) { transition-delay: 0.1s; }
.nav-dropdown:hover .nav-dropdown-item:nth-child(6),
.nav-dropdown:focus-within .nav-dropdown-item:nth-child(6) { transition-delay: 0.12s; }

.nav-dropdown:not(:hover):not(:focus-within) .nav-dropdown-item {
    transition-delay: 0s;
}

[data-theme="dark"] .nav-dropdown-panel {
    background: linear-gradient(135deg, #0f0f0f 0%, #242322 100%);
    border-color: rgba(88, 87, 86, 0.85);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .nav-dropdown-item {
    background: rgba(40, 39, 38, 0.96);
    border-color: rgba(88, 87, 86, 0.85);
    color: #f2efeb;
}

[data-theme="dark"] .nav-dropdown-item:hover,
[data-theme="dark"] .nav-dropdown-item:focus-visible {
    background: rgba(57, 56, 55, 0.98);
    border-color: rgba(201, 195, 188, 0.9);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5);
}

.header.header-transparent .nav-dropdown-toggle {
    color: #fbfbfa;
}

html:not([data-theme="dark"]) .header:not(.header-transparent) .nav-dropdown-toggle {
    color: #4f4a43;
}

[data-theme="dark"] .header .nav-dropdown-toggle {
    color: #f2efeb;
}

html:not([data-theme="dark"]) .header.header-transparent .nav-dropdown-panel {
    background: linear-gradient(135deg, #fbfbfa 0%, #edeae7 100%);
    border-color: rgba(199, 192, 184, 0.88);
}

html:not([data-theme="dark"]) .header.header-transparent .nav-dropdown-panel .nav-dropdown-item {
    color: #4f4a43;
    background: rgba(251, 251, 250, 0.96);
}

html:not([data-theme="dark"]) .header.header-transparent .nav-dropdown-panel .nav-dropdown-item:hover,
html:not([data-theme="dark"]) .header.header-transparent .nav-dropdown-panel .nav-dropdown-item:focus-visible {
    color: #3d3933;
}

.nav-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.a11y-nav-btn {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 2147483000;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: transparent url("Accessibility Gradient.png") center/cover no-repeat;
    color: transparent;
    cursor: pointer;
    font-size: 0;
    line-height: 0;
    padding: 0;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="dark"] .a11y-nav-btn {
    background: transparent url("Accessibility Gradient.png") center/cover no-repeat;
    color: transparent;
}

html[data-contrast="high"] .a11y-nav-btn {
    background: transparent url("Accessibility Gradient.png") center/cover no-repeat !important;
    border: 0 !important;
    color: transparent !important;
}

html[data-contrast="high"] .a11y-nav-btn::before {
    content: none !important;
}

@media (max-width: 768px) {
    .logo {
        transform: translateX(-10px);
    }

    .logo-image-link {
        width: 62px;
        aspect-ratio: 2 / 1;
        height: auto;
    }

    .logo-img {
        width: 100%;
        height: 100%;
    }

    .navbar .container {
        gap: 10px;
    }

    .navbar .nav-cluster {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 1rem;
        padding: 1.2rem 1rem 1.4rem;
        background: linear-gradient(135deg, #fbfbfa 0%, #edeae7 100%);
        border-top: 1px solid rgba(214, 208, 201, 0.75);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
    }

    html[data-contrast="high"] body.section-page .navbar .nav-cluster,
    html[data-contrast="high"] body.section-page .navbar .nav-cluster.active {
        background: #000 !important;
        background-image: none !important;
        border-color: rgba(255, 255, 255, 0.22) !important;
        box-shadow: 0 20px 36px rgba(0, 0, 0, 0.32) !important;
    }

    .navbar .nav-cluster {
        left: 10px;
        right: 10px;
        top: calc(100% + 8px);
        max-height: calc(100vh - 92px);
        overflow-y: auto;
        border: 1px solid rgba(214, 208, 201, 0.55);
        border-radius: 18px;
        box-shadow: 0 20px 36px rgba(20, 16, 10, 0.18);
    }

    .navbar .nav-cluster.active {
        display: flex;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .navbar .nav-cluster .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0.75rem;
        width: 100%;
        position: static;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        padding: 0;
        margin: 0;
        background: transparent;
        border: 0;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-mega {
        width: 100%;
    }

    .nav-mega::after {
        display: none;
    }

    .nav-mega-toggle {
        width: 100%;
        justify-content: space-between;
        align-items: center;
        min-height: 42px;
        padding: 0.1rem 0;
        text-align: left;
        line-height: 1.2;
    }

    .navbar .nav-cluster .nav-menu.nav-menu-right {
        justify-content: flex-start;
    }

    .navbar .nav-cluster .nav-menu > li {
        width: 100%;
        margin: 0;
    }

    .navbar .nav-cluster .nav-menu > li > a,
    .navbar .nav-cluster .nav-menu > li > .nav-mega-toggle {
        display: flex;
        align-items: center;
        min-height: 42px;
        padding: 0.1rem 0;
        line-height: 1.2;
    }

    .nav-mega-panel {
        position: static;
        width: 100%;
        transform: none;
        margin-top: 0;
        display: block;
        grid-template-columns: 1fr;
        padding: 0;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        pointer-events: none;
        border: 0;
        background: transparent;
        box-shadow: none;
        border-radius: 14px;
        gap: 0;
        transition: max-height 0.28s ease, opacity 0.22s ease, visibility 0.22s ease, margin-top 0.22s ease;
    }

    .nav-mega.mobile-open .nav-mega-panel {
        max-height: 80vh;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        margin-top: 0.6rem;
        padding: 0.55rem;
        gap: 0.5rem;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(214, 208, 201, 0.78);
    }

    .nav-mega.mobile-open > .nav-mega-toggle::after {
        transform: rotate(180deg);
    }

    .nav-mega-item {
        min-height: 0;
        padding: 0.7rem 0.75rem;
    }

    .nav-dropdown-panel {
        position: static;
        width: 100%;
        margin-top: 0;
        display: grid;
        grid-template-columns: 1fr;
        padding: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: none;
        border: 0;
        background: transparent;
        box-shadow: none;
        border-radius: 10px;
        gap: 0;
    }

    .nav-dropdown-item {
        width: 100%;
        justify-content: flex-start;
        padding: 0.7rem 0.75rem;
        font-size: 0.7rem;
    }

    .nav-actions {
        gap: 6px;
    }

    .a11y-nav-btn {
        position: fixed;
        right: 12px;
        bottom: 12px;
        width: 46px;
        height: 46px;
        font-size: 1.2rem;
        z-index: 2147483000;
    }

    .a11y-panel {
        right: 12px;
        left: auto;
        width: min(360px, calc(100vw - 24px));
        bottom: 68px;
    }

    .theme-toggle {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }

    [data-theme="dark"] .navbar .nav-cluster,
    [data-theme="dark"] .navbar .nav-cluster.active {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.995) 0%, rgba(65, 63, 62, 0.995) 100%);
        border: 1px solid rgba(88, 87, 86, 0.8);
        box-shadow: 0 20px 36px rgba(0, 0, 0, 0.32);
    }

}

/* NAVBAR INDEX-LIKE PANEL */
.nav-mega {
    position: static;
}

.nav-mega::after {
    display: none;
}

.nav-mega-panel-home {
    top: 100%;
    margin-top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    transform: translateY(-10px);
    border-radius: 0 0 14px 14px;
    padding: 2rem clamp(28px, 7.5vw, 140px) 2.2rem;
    grid-template-columns: minmax(220px, 1.05fr) minmax(210px, 1fr) minmax(210px, 1fr);
    gap: 1.35rem 2.4rem;
    background: linear-gradient(140deg, rgba(251, 251, 250, 0.96) 0%, rgba(237, 234, 231, 0.96) 100%);
    border: 0;
    box-shadow: 0 20px 34px rgba(79, 74, 67, 0.16);
    backdrop-filter: none;
}

.nav-menu-right .nav-mega .nav-mega-panel-home {
    left: 0;
    right: auto;
    width: 100%;
    max-width: 100%;
    transform: translateY(-10px);
}

.nav-menu-right .nav-mega:hover .nav-mega-panel-home,
.nav-menu-right .nav-mega:focus-within .nav-mega-panel-home,
.nav-menu-right .nav-mega.mega-hold-open .nav-mega-panel-home,
.nav-mega:hover .nav-mega-panel-home,
.nav-mega:focus-within .nav-mega-panel-home,
.nav-mega.mega-hold-open .nav-mega-panel-home {
    transform: translateY(0);
}

.nav-mega-col {
    display: flex;
    flex-direction: column;
    gap: 0.34rem;
}

.nav-mega-label {
    margin: 0 0 0.35rem;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #8d8680;
    font-weight: 700;
}

.nav-mega-label.nav-mega-subgroup {
    margin-top: 1.05rem;
}

.nav-mega-link {
    text-decoration: none;
    color: #242424;
    font-size: 1.02rem;
    line-height: 1.3;
    width: fit-content;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-mega-link.nav-mega-link-hero {
    font-size: 2.15rem;
    line-height: 1.08;
    font-weight: 600;
    margin-bottom: 0.24rem;
}

.nav-mega-col-primary .nav-mega-link:not(.nav-mega-link-hero) {
    font-size: 2.1rem;
    line-height: 1.06;
    margin-top: 0.05rem;
}

.nav-mega-link:hover,
.nav-mega-link:focus-visible {
    color: #6e685f;
    transform: translateX(2px);
    outline: none;
}

[data-theme="dark"] .nav-mega-panel-home {
    background: linear-gradient(135deg, #000000 0%, #413f3e 100%);
    border-color: transparent;
    box-shadow: 0 20px 34px rgba(0, 0, 0, 0.36);
}

[data-theme="dark"] .nav-mega-label {
    color: #9f9992;
}

[data-theme="dark"] .nav-mega-link {
    color: #efede9;
}

[data-theme="dark"] .nav-mega-link:hover,
[data-theme="dark"] .nav-mega-link:focus-visible {
    color: #cbc4bc;
}

@media (max-width: 768px) {
    .nav-mega-label {
        margin-bottom: 0.28rem;
    }

    .nav-mega-link {
        font-size: 0.96rem;
    }

    .nav-mega-link.nav-mega-link-hero,
    .nav-mega-col-primary .nav-mega-link:not(.nav-mega-link-hero) {
        font-size: 1.02rem;
        line-height: 1.3;
        margin-top: 0;
    }
}

.cookie-banner {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 120;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.cookie-banner.is-hiding {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.26s ease, transform 0.26s ease;
}

.cookie-banner-inner {
    width: min(1100px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) auto;
    gap: 1.2rem;
    align-items: end;
    padding: 1.1rem 1.2rem;
    border-radius: 24px;
    border: 1px solid rgba(199, 192, 184, 0.72);
    background: linear-gradient(135deg, rgba(251, 251, 250, 0.98) 0%, rgba(237, 234, 231, 0.98) 100%);
    box-shadow: 0 24px 48px rgba(79, 74, 67, 0.18);
    backdrop-filter: blur(16px);
    pointer-events: auto;
}

.cookie-banner-kicker {
    display: inline-block;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 700;
    color: #8d8680;
}

.cookie-banner-copy h2 {
    margin: 0 0 0.35rem;
    color: #1f1f1f;
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    line-height: 1.15;
}

.cookie-banner-copy p {
    margin: 0;
    color: #5a544d;
    font-size: 0.98rem;
    line-height: 1.55;
    max-width: 68ch;
}

.cookie-banner-link {
    display: inline-flex;
    margin-top: 0.75rem;
    color: #242424;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(79, 74, 67, 0.45);
    padding-bottom: 2px;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: flex-end;
}

.cookie-btn {
    appearance: none;
    border-radius: 999px;
    padding: 0.82rem 1.2rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.cookie-btn:hover,
.cookie-btn:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.cookie-btn-primary {
    border: 1px solid rgba(79, 74, 67, 0.82);
    background: linear-gradient(135deg, #4f4a43 0%, #6a645d 100%);
    color: #fbfbfa;
    box-shadow: 0 12px 24px rgba(79, 74, 67, 0.18);
}

.cookie-btn-secondary {
    border: 1px solid rgba(79, 74, 67, 0.32);
    background: rgba(251, 251, 250, 0.78);
    color: #3f3a34;
}

[data-theme="dark"] .cookie-banner-inner {
    border-color: rgba(88, 87, 86, 0.85);
    background: linear-gradient(135deg, rgba(27, 27, 27, 0.98) 0%, rgba(47, 45, 44, 0.98) 100%);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.34);
}

[data-theme="dark"] .cookie-banner-kicker {
    color: #a59e96;
}

[data-theme="dark"] .cookie-banner-copy h2,
[data-theme="dark"] .cookie-banner-copy p,
[data-theme="dark"] .cookie-banner-link {
    color: #efede9;
}

[data-theme="dark"] .cookie-banner-link {
    border-bottom-color: rgba(239, 237, 233, 0.4);
}

[data-theme="dark"] .cookie-btn-primary {
    border-color: rgba(239, 237, 233, 0.24);
    background: linear-gradient(135deg, #efede9 0%, #cbc4bc 100%);
    color: #1b1b1b;
}

[data-theme="dark"] .cookie-btn-secondary {
    border-color: rgba(239, 237, 233, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: #efede9;
}

html[data-contrast="high"] .cookie-banner-inner {
    background: #000000 !important;
    border-color: #ffffff !important;
    box-shadow: none !important;
}

html[data-contrast="high"] .cookie-banner-kicker,
html[data-contrast="high"] .cookie-banner-copy h2,
html[data-contrast="high"] .cookie-banner-copy p,
html[data-contrast="high"] .cookie-banner-link,
html[data-contrast="high"] .cookie-btn {
    color: #ffffff !important;
}

html[data-contrast="high"] .cookie-btn-primary,
html[data-contrast="high"] .cookie-btn-secondary {
    background: #000000 !important;
    border-color: #ffffff !important;
}

@media (max-width: 768px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
    }

    .cookie-banner-inner {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
        border-radius: 20px;
    }

    .cookie-banner-actions {
        justify-content: stretch;
    }

    .cookie-btn {
        width: 100%;
        justify-content: center;
    }
}
