body {
    font-family: "Manrope", sans-serif;
    background-color: #fbf9f5;
    font-feature-settings: "palt" 1;
    font-kerning: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-break: strict;
    word-break: break-all;
    overflow-wrap: break-word;
    hanging-punctuation: allow-end;
    font-weight: 500;
    letter-spacing: 0.3px;
    line-height: 1.8
}
.font-serif {
    font-family: "Zen Old Mincho", serif;
    font-feature-settings: "palt" 1
}
p, li, dd, dt, blockquote, address {
    text-align: justify;
    text-justify: inter-ideograph
}
.text-center p,
.text-center dd,
.text-center dt,
.text-center li,
.text-center address {
    text-align: center
}
.material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24
}
.washi-texture {
    background-image: url(https://lh3.googleusercontent.com/aida-public/AB6AXuAXIr3y4iBczROSD-VEERxRlK6D787GxnupiAmEHMtVllurMMHhdlyc1f6VxZJ58rVa8-VawROsPZj5gL35qnYIMWitzhTiH-sQie1aQ8zbk697Q784Hqahs2qgshZcct04QYyGrGGPcOGVSDuZb3sv4kkg3_G6zSk-jWWkjPwh05r0Yaex8XPjr5DafOFcEe1ZWP3k-vSilDGBbA275Gbd9iLSs1MSlsNh54mFCMeegdoVda0VNPtKLajG4htqhzUGUCMhN1LcKw);
    background-repeat: repeat
}
.grunge-bg {
    background-image: url(../img/bg-grunge.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0)
}
@media (min-width: 768px) {
    .grunge-bg {
        background-attachment: fixed;
        -webkit-transform: none;
        transform: none
    }
}
.grunge-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(5, 17, 37, 0.35);
    z-index: 0
}
.grunge-bg > * {
    position: relative;
    z-index: 1
}
.faq-card,
.card-radius {
    border-radius: 5px
}
/* Hero text animation */
@keyframes hero-reveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}
@keyframes hero-line-expand {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }
    100% {
        transform: scaleX(1);
        opacity: 1;
    }
}
@keyframes hero-bg-zoom {
    0% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}
.hero-img {
    animation: hero-bg-zoom 2s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
    object-position: 35% center
}
@media (min-width: 768px) {
    .hero-img { object-position: center center }
}
.hero-mesh {
    background-image:
        linear-gradient(45deg, rgba(0,0,0,0.12) 1px, transparent 1px),
        linear-gradient(-45deg, rgba(0,0,0,0.12) 1px, transparent 1px);
    background-size: 6px 6px;
    pointer-events: none
}
.hero-animate {
    opacity: 0;
    animation: hero-reveal 1s cubic-bezier(0.25, 0.1, 0.25, 1) forwards
}
.hero-line-1 { animation-delay: 0.3s }
.hero-line-2 { animation-delay: 0.7s }
.hero-sub { animation-delay: 1.2s }
.hero-cta { animation-delay: 1.7s }
.hero-note { animation-delay: 2.0s }
.hero-divider {
    opacity: 0;
    transform-origin: center;
    animation: hero-line-expand 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
    animation-delay: 1.0s
}

/* Section title scroll reveal */
@keyframes section-reveal {
    0% {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(6px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}
/* Header dark/light mode */
.header-dark .header-logo-text,
.header-dark .header-nav-link,
.header-dark .header-menu-btn { color: #fff }
.header-dark .header-logo-text { color: #fff }
.header-dark .header-nav-link:hover { color: rgba(255,255,255,0.6) }
.header-dark .header-cta { background: #fff; color: #051125 }
.header-dark .header-menu-btn { color: #fff }

.header-light .header-logo-text { color: #051125 }
.header-light .header-nav-link { color: rgba(5,17,37,0.6) }
.header-light .header-nav-link:hover { color: #051125 }
.header-light .header-cta { background: #051125; color: #fff }
.header-light .header-menu-btn { color: #051125 }

#site-header { transition: transform 0.5s ease-out, background 0.3s ease }
.header-dark { background: transparent !important }
.header-light { background: rgba(255,255,255,0.85) !important; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px) }

.header-logo-text,
.header-nav-link,
.header-cta,
.header-menu-btn { transition: color 0.3s ease, background 0.3s ease }

.section-title {
    opacity: 0;
    letter-spacing: 1px
}
.section-title.is-visible {
    animation: section-reveal 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) forwards
}

/* FAQ accordion smooth animation */
.faq-card .faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease, opacity 0.35s ease;
    opacity: 0
}
.faq-card[open] .faq-answer {
    grid-template-rows: 1fr;
    opacity: 1
}
.faq-card .faq-answer > div {
    overflow: hidden
}
.carousel-sp {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 4rem;
    padding-bottom: 1.5rem
}
.carousel-sp::-webkit-scrollbar {
    display: none
}
.carousel-sp > .carousel-item {
    flex: 0 0 85%;
    scroll-snap-align: center;
    padding-top: 0
}
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem
}
.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transition: background 0.3s
}
.carousel-dots .dot.active {
    background: rgba(255,255,255,0.9)
}
.calendar-container {
    aspect-ratio: auto;
    min-height: 800px;
}
@media (min-width: 768px) {
    .calendar-container {
        aspect-ratio: 4/3;
        min-height: auto;
    }
}
@media (min-width: 768px) {
    .carousel-sp {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 4rem;
        overflow-x: visible;
        scroll-snap-type: none;
        padding-bottom: 0
    }
    .carousel-sp > .carousel-item:nth-child(2) {
        padding-top: 6rem
    }
    .carousel-dots {
        display: none
    }
}