@charset "UTF-8";

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 0.9rem 0;
    background: rgba(255, 252, 253, 0.88);
    border-bottom: 1px solid rgba(161, 20, 96, 0.14);
    backdrop-filter: blur(18px);
    transition: box-shadow 0.2s ease, background-color 0.2s ease, padding 0.2s ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
    padding: 0.7rem 0;
    box-shadow: 0 12px 38px rgba(73, 17, 49, 0.12);
    background: rgba(255, 253, 254, 0.95);
}

.header-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 1.35rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.brand img {
    width: clamp(4.6rem, 10vw, 6.2rem);
    height: auto;
}

.brand-copy {
    display: grid;
    gap: 0.15rem;
}

.brand-copy strong {
    font-size: 1.08rem;
    line-height: 1.1;
}

.brand-copy small {
    color: var(--muted);
    font-size: 0.9rem;
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.95rem;
    min-width: 0;
}

.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: 1px solid rgba(161, 20, 96, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

.menu-toggle span {
    width: 1.15rem;
    height: 2px;
    margin: 0 auto;
    background: currentColor;
    border-radius: 999px;
}

.main-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.35rem);
    display: none;
    max-height: min(32rem, calc(100vh - 6.5rem));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
}

.main-nav.is-open {
    display: block;
}

.nav-list,
.submenu,
.footer-links,
.detail-list,
.hero-highlights {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list {
    display: grid;
    gap: 0.35rem;
}

.nav-item {
    display: grid;
    gap: 0.35rem;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
    font-weight: 600;
}

.nav-link-toggle {
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: default;
}

.nav-link[aria-current="page"],
.nav-link-toggle.is-current {
    color: var(--accent);
}

.nav-item.has-children > .nav-link::after {
    content: "\25BE";
    font-size: 0.72rem;
    color: var(--accent);
}

.submenu {
    display: grid;
    gap: 0.25rem;
    padding-left: 0.75rem;
}

.submenu a {
    display: inline-flex;
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
    color: var(--muted);
}

.submenu a:hover,
.submenu a:focus-visible {
    background: var(--accent-pale);
    color: var(--accent-dark);
}

.nav-mobile-cta {
    padding-top: 0.8rem;
}

.header-cta {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 2.95rem;
    padding: 0.62rem 1rem;
    border: 1px solid rgba(161, 20, 96, 0.16);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 244, 249, 0.92));
    color: var(--accent-dark);
    font-size: 0.95rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 12px 24px rgba(73, 17, 49, 0.08);
}

.theme-toggle {
    flex: 0 0 auto;
}

@media (max-width: 767px) {
    .theme-toggle-label {
        display: none;
    }

    .theme-toggle {
        min-width: 3rem;
        padding-inline: 0.72rem;
    }
}
.header-theme-toggle {
    min-width: 3rem;
    padding-inline: 0.72rem;
}

.header-theme-toggle .theme-toggle-label {
    display: none;
}

.header-theme-toggle .theme-toggle-icon {
    margin: 0;
}