/* Explain: Updated styling for the president card and added new gradient border effects. */
.site-header {
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.92), rgba(250, 249, 246, 0.6));
    backdrop-filter: blur(18px);
}

.logo-mark {
    display: inline-flex;
    height: 2.6rem;
    width: 2.6rem;
    flex: none;
    align-items: center;
    justify-content: center;
    border-radius: 0.9rem;
    background: var(--primary-color);
    color: #F5F7F0;
    font-family: var(--font-logo);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--sage-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-kicker::before {
    display: inline-block;
    width: 2.4rem;
    height: 1px;
    background: var(--gold-color);
    content: "";
}

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(145deg, rgba(250, 249, 246, 0.78), rgba(255, 255, 255, 0.48));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.arch-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(142, 17, 64, 0.34);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.arch-frame::after {
    position: absolute;
    inset: 1.1rem;
    border: 1px solid rgba(250, 249, 246, 0.62);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.arch-frame-large {
    height: min(74vh, 720px);
    min-height: 460px;
    border-radius: 999px 999px 2.5rem 2.5rem;
}

.arch-frame-medium {
    height: 560px;
    max-width: 450px;
    border-radius: 999px 999px 2.1rem 2.1rem;
}

.president-card {
    position: absolute;
    bottom: 1.5rem;
    left: 0.5rem;
    display: flex;
    max-width: 21rem;
    align-items: center;
    gap: 1rem;
    overflow: hidden;
    border: 1px solid var(--gold-color);
    border-radius: 1.7rem;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.98), rgba(255, 226, 239, 0.92));
    box-shadow: 0 24px 64px rgba(142, 17, 64, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    padding: 1rem 1.25rem;
    backdrop-filter: blur(18px);
}

.president-card::before {
    position: absolute;
    inset: 0.4rem;
    border: 1px solid rgba(142, 17, 64, 0.3);
    border-radius: 1.28rem;
    content: "";
    pointer-events: none;
}

.president-avatar {
    display: inline-flex;
    flex: none;
    padding: 3px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-color), var(--gold-color));
    box-shadow: 0 10px 24px rgba(142, 17, 64, 0.3);
}

.president-avatar img {
    height: 3.5rem;
    width: 3.5rem;
    border-radius: 999px;
    border: 2px solid #ffffff;
    object-fit: cover;
}

.president-name {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.35;
}

.president-role {
    margin-top: 0.3rem;
    color: var(--accent-color);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.category-card {
    border: 1px solid var(--glass-border);
    border-radius: 1.8rem;
    background: rgba(250, 249, 246, 0.6);
    padding: 1.75rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.category-card:hover {
    border-color: rgba(142, 17, 64, 0.55);
    box-shadow: 0 26px 80px rgba(31, 46, 35, 0.13);
    transform: translateY(-6px);
}

.category-icon {
    display: inline-flex;
    height: 3.2rem;
    width: 3.2rem;
    align-items: center;
    justify-content: center;
    border-radius: 1.1rem;
    background: var(--sage-soft);
    color: var(--sage-dark);
    font-size: 1.4rem;
}

.benefit-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(250, 249, 246, 0.58);
    padding: 1.25rem;
}

.benefit-row p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.75;
}

.benefit-icon {
    display: inline-flex;
    height: 2.6rem;
    width: 2.6rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.9rem;
    background: var(--terracotta-soft);
    color: var(--sage-dark);
}

.philosophy-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: rgba(250, 249, 246, 0.7);
    padding: 0.7rem 1.25rem;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.philosophy-tag i {
    color: var(--accent-color);
}

.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 1.8rem;
    background: rgba(250, 249, 246, 0.6);
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.product-card:hover {
    border-color: rgba(142, 17, 64, 0.55);
    box-shadow: 0 26px 80px rgba(31, 46, 35, 0.13);
    transform: translateY(-6px);
}

.product-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.product-media img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.product-card:hover .product-media img {
    transform: scale(1.05);
}

.product-group {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--sage-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-price {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.product-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.product-feature i {
    margin-top: 0.2rem;
    color: var(--accent-color);
}

.activity-filter {
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: rgba(250, 249, 246, 0.6);
    padding: 0.65rem 1.25rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    transition: border-color 300ms ease, background 300ms ease, color 300ms ease, box-shadow 300ms ease;
}

.activity-filter:hover {
    border-color: rgba(142, 17, 64, 0.55);
    color: var(--text-color);
}

.activity-filter.is-active {
    border-color: transparent;
    background: var(--button-color);
    color: var(--text-color);
    box-shadow: var(--shadow-button);
}

.gallery-card,
.news-card,
.rank-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 1.8rem;
    background: rgba(250, 249, 246, 0.6);
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.gallery-card:hover,
.news-card:hover,
.rank-card:hover {
    border-color: rgba(142, 17, 64, 0.55);
    box-shadow: 0 26px 80px rgba(31, 46, 35, 0.13);
    transform: translateY(-6px);
}

.gallery-card.is-hidden {
    display: none;
}

.gallery-media,
.news-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.news-media {
    aspect-ratio: 16 / 9;
}

.gallery-media img,
.news-media img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.gallery-card:hover .gallery-media img,
.news-card:hover .news-media img {
    transform: scale(1.05);
}

.gallery-badge,
.news-date {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    background: rgba(250, 249, 246, 0.92);
    padding: 0.45rem 0.9rem;
    color: var(--sage-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    backdrop-filter: blur(8px);
}

.gallery-year {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--primary-color);
    padding: 0.35rem 0.8rem;
    color: #F5F7F0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.news-date {
    top: 1rem;
    bottom: auto;
    color: var(--primary-color);
}

.rank-count {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 700;
}

.rank-count span:first-child {
    font-size: 2.4rem;
    line-height: 1;
}

.rank-count span:last-child {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.rank-icon {
    display: inline-flex;
    height: 3rem;
    width: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(184, 21, 98, 0.22);
    color: var(--gold-color);
    font-size: 1.3rem;
}

.cta-band {
    background: linear-gradient(135deg, var(--sage-dark) 0%, var(--primary-color) 100%);
}

.form-label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--text-color);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.form-status.success {
    color: #B81562;
}

.form-status.error {
    color: #9B4A3D;
}

/* Premium typography */
main h1,
main h2 {
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.16;
    text-wrap: balance;
}

main h1.hero-heading {
    font-weight: 800;
}

.section-kicker {
    color: var(--sage-deep);
}

.heading-gold {
    background: linear-gradient(118deg, #8E1140 0%, #D98CB0 46%, #5E1330 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

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

.more-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 50;
    display: none;
    padding-top: 0.85rem;
    transform: translateX(-50%);
}

.nav-more:hover .more-menu,
.nav-more.is-open .more-menu {
    display: block;
}

.more-menu-inner {
    display: grid;
    min-width: 15rem;
    gap: 0.15rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.25rem;
    background: var(--background-color);
    box-shadow: var(--shadow-soft);
    padding: 0.5rem;
}

.more-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: 0.9rem;
    padding: 0.65rem 0.85rem;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 200ms ease, color 200ms ease;
}

.more-link:hover {
    background: var(--surface-color);
    color: var(--primary-color);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
    overflow-y: auto;
    background: rgba(58, 31, 46, 0.45);
    backdrop-filter: blur(4px);
    padding: 1rem;
}

.modal-overlay.is-open {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.modal-panel {
    width: 100%;
    max-width: 38rem;
    margin: auto;
    border-radius: 2rem;
    background: var(--background-color);
    box-shadow: 0 30px 90px rgba(31, 46, 35, 0.28);
    padding: clamp(1.5rem, 4vw, 2.25rem);
}

.modal-panel-narrow {
    max-width: 27rem;
}

.modal-close {
    display: inline-flex;
    min-height: 2.75rem;
    width: 2.75rem;
    flex: none;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--surface-color);
    color: var(--text-color);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(46, 18, 30, 0.86);
    padding: 1.5rem;
}

.lightbox.is-open {
    display: flex;
}

.lightbox img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 1.5rem;
    object-fit: contain;
    transition: opacity 300ms ease;
}

@media (max-width: 767px) {
    .section-kicker::before {
        width: 1.6rem;
    }

    .arch-frame-large,
    .arch-frame-medium {
        height: 480px;
        min-height: 0;
    }

    .arch-frame-large {
        margin-right: auto;
        margin-left: auto;
        width: min(100%, 450px);
    }

    .president-card {
        left: 0.5rem;
        right: 0.5rem;
        max-width: none;
    }
}