@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Source+Sans+3:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ==================== TEMPLATE CREDIT BANNER ==================== */
.template-credit-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(29, 45, 68, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease-in-out;
}
.template-credit-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}
.template-credit-banner p {
    margin: 0;
    font-size: 14px;
    color: #ffffff;
    line-height: 1.5;
}
.template-credit-banner strong { font-weight: 600; }
.template-credit-banner a {
    color: #E8654A;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}
.template-credit-banner a:hover {
    color: #F2876F;
    text-decoration: underline;
}
.btn-close-banner {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s ease;
    flex-shrink: 0;
}
.btn-close-banner:hover { background: rgba(255, 255, 255, 0.1); }
@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@media (max-width: 768px) {
    .template-credit-banner p { font-size: 12px; }
    .template-credit-banner .container { padding: 0 15px; }
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}
body {
    max-width: 100%;
    overflow-x: hidden;
}
::selection { background: #E8654A; color: white; }

/* ---- Reveal ---- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ---- Hero stagger ---- */
.hero-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%) rotate(3deg);
    animation: wordPop 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-word:nth-child(2) { animation-delay: 0.08s; }
.hero-word:nth-child(3) { animation-delay: 0.16s; }
.hero-word:nth-child(4) { animation-delay: 0.24s; }
.hero-word:nth-child(5) { animation-delay: 0.32s; }
.hero-word:nth-child(6) { animation-delay: 0.40s; }
.hero-word:nth-child(7) { animation-delay: 0.48s; }
@keyframes wordPop {
    to { opacity: 1; transform: translateY(0) rotate(0deg); }
}

/* ---- Nav ---- */
.nav-scrolled {
    background: rgba(253, 252, 250, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(29, 45, 68, 0.06);
}

/* ---- Photo mosaic ---- */
.mosaic-img {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.mosaic-img:hover {
    transform: scale(1.03);
    z-index: 10;
}

/* ---- Hero carousel ---- */
.hero-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid rgba(232, 101, 74, 0.2);
    background: linear-gradient(140deg, #fdf3e8 0%, #fbe8da 48%, #f8e2d3 100%);
    box-shadow: 0 20px 46px rgba(29, 45, 68, 0.12);
    min-height: 22rem;
}

.hero-carousel::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(110% 75% at 100% 0%, rgba(242, 184, 48, 0.2) 0%, rgba(242, 184, 48, 0) 62%),
        radial-gradient(95% 65% at 0% 100%, rgba(232, 101, 74, 0.14) 0%, rgba(232, 101, 74, 0) 66%);
}

.hero-carousel:focus-visible {
    outline: 3px solid rgba(232, 101, 74, 0.45);
    outline-offset: 4px;
}

.hero-carousel-track {
    position: relative;
    min-height: 22rem;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.65s ease, transform 0.75s ease;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(20, 12, 6, 0.08) 0%,
        rgba(20, 12, 6, 0.22) 38%,
        rgba(20, 12, 6, 0.72) 80%,
        rgba(20, 12, 6, 0.85) 100%
    );
}

.hero-slide img {
    width: 100%;
    height: 100%;
    min-height: 22rem;
    object-position: center;
}

.hero-slide-overlay {
    position: absolute;
    z-index: 3;
    left: 1rem;
    right: 1rem;
    bottom: 3.25rem;
    color: #fff9f4;
}

.hero-slide-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #ffe1cc;
}

.hero-slide-title {
    margin: 0;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.2rem;
    line-height: 1.25;
    text-wrap: balance;
}

.hero-slide-copy {
    margin: 0.45rem 0 0;
    font-size: 0.9rem;
    line-height: 1.45;
    max-width: 34rem;
    color: #ffeedf;
}

.hero-slide-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.85rem;
    border-radius: 999px;
    background: rgba(255, 248, 242, 0.95);
    color: #8f3b2b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    padding: 0.5rem 0.9rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-slide-cta:hover {
    background: #ffffff;
    transform: translateY(-1px);
}


.hero-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.45rem;
    height: 2.45rem;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 250, 245, 0.92);
    color: #5d2f22;
    z-index: 4;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-carousel-btn:hover {
    transform: translateY(-50%) scale(1.05);
    background: #ffffff;
}

.hero-carousel-prev { left: 0.75rem; }
.hero-carousel-next { right: 0.75rem; }

.hero-carousel-bottombar {
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.8rem;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.hero-carousel-toggle {
    border: 0;
    border-radius: 999px;
    background: rgba(143, 59, 43, 0.8);
    color: #fff8f3;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 0.42rem 0.74rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-carousel-toggle:hover {
    background: rgba(143, 59, 43, 0.92);
    transform: translateY(-1px);
}

.hero-carousel-toggle[aria-pressed='true'] {
    background: rgba(54, 84, 114, 0.9);
}

.hero-carousel-dots {
    display: flex;
    align-items: center;
    gap: 0.46rem;
}

.hero-dot {
    width: 0.66rem;
    height: 0.66rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 248, 242, 0.5);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
    background: #fff8f3;
    transform: scale(1.16);
}

@media (min-width: 768px) {
    .hero-carousel,
    .hero-carousel-track,
    .hero-slide img {
        min-height: 28.25rem;
    }

    .hero-slide-overlay {
        left: 1.5rem;
        right: 1.5rem;
        bottom: 3.75rem;
    }

    .hero-slide-title {
        font-size: 1.72rem;
    }

    .hero-slide-copy {
        font-size: 1rem;
    }

    .hero-slide-cta {
        font-size: 0.82rem;
        padding: 0.58rem 1rem;
    }
}

@media (max-width: 640px) {
    .hero-carousel-btn {
        width: 2.2rem;
        height: 2.2rem;
        top: auto;
        bottom: 3.6rem;
        transform: none;
    }

    .hero-carousel-btn:hover {
        transform: scale(1.05);
    }

    .hero-carousel-prev { left: 0.6rem; }
    .hero-carousel-next { right: 0.6rem; }

    .hero-slide-title {
        font-size: 1.06rem;
    }

    .hero-slide-copy {
        font-size: 0.84rem;
        line-height: 1.4;
    }
}

@media (max-width: 380px) {
    .hero-heading {
        font-size: 2rem !important;
        line-height: 1.08;
        margin-bottom: 1rem;
    }

    .hero-subcopy {
        font-size: 0.97rem !important;
        margin-bottom: 1.5rem;
    }

    .hero-carousel,
    .hero-carousel-track,
    .hero-slide img {
        min-height: 24rem;
    }

    .hero-slide-overlay {
        left: 0.85rem;
        right: 0.85rem;
        bottom: 3.15rem;
    }

    .hero-slide-title {
        font-size: 0.98rem;
    }

    .hero-slide-copy {
        font-size: 0.8rem;
        line-height: 1.35;
        margin-top: 0.35rem;
    }

    .hero-slide-cta {
        margin-top: 0.65rem;
        font-size: 0.74rem;
        padding: 0.42rem 0.68rem;
    }

    .hero-carousel-bottombar {
        left: 0.6rem;
        right: 0.6rem;
        bottom: 0.58rem;
        gap: 0.55rem;
    }

    .hero-carousel-toggle {
        font-size: 0.68rem;
        padding: 0.38rem 0.64rem;
    }

    .hero-carousel-dots {
        gap: 0.34rem;
    }

    .hero-dot {
        width: 0.58rem;
        height: 0.58rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-carousel-btn,
    .hero-dot,
    .hero-carousel-toggle,
    .hero-slide-cta {
        transition: none !important;
    }
}

/* ---- Travel pages section ---- */
.travel-pages-shell {
    background:
        radial-gradient(115% 80% at 100% 0%, rgba(242, 184, 48, 0.09) 0%, rgba(242, 184, 48, 0) 62%),
        radial-gradient(95% 65% at 0% 100%, rgba(232, 101, 74, 0.1) 0%, rgba(232, 101, 74, 0) 66%),
        #ffffff;
    box-shadow: 0 4px 24px rgba(29, 45, 68, 0.05);
}

.travel-pages-head {
    max-width: 44rem;
}

.travel-groups {
    display: grid;
    gap: 1.1rem;
}

.travel-group {
    border: 1px solid rgba(85, 98, 116, 0.12);
    border-radius: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.88);
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.travel-group:hover {
    border-color: rgba(232, 101, 74, 0.22);
    box-shadow: 0 4px 18px rgba(232, 101, 74, 0.07);
}

.travel-group-label {
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #8f3b2b;
    font-size: 0.68rem;
    font-weight: 800;
}

.travel-group-grid {
    display: grid;
    gap: 0.6rem;
}

.travel-card {
    display: flex;
    align-items: center;
    gap: 0.72rem;
    border-radius: 1rem;
    border: 1px solid rgba(85, 98, 116, 0.14);
    background: #fffdfa;
    padding: 0.78rem 0.85rem;
    text-decoration: none;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.travel-card:hover {
    transform: translateY(-3px);
    border-color: rgba(232, 101, 74, 0.38);
    background: linear-gradient(135deg, rgba(253, 243, 232, 0.92) 0%, rgba(255, 255, 255, 1) 100%);
    box-shadow: 0 10px 28px rgba(232, 101, 74, 0.1), 0 2px 8px rgba(29, 45, 68, 0.06);
}

.travel-icon-chip {
    flex: 0 0 auto;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 101, 74, 0.12);
    color: #8f3b2b;
    transition: background 0.2s ease, transform 0.2s ease;
}

.travel-card:hover .travel-icon-chip {
    background: rgba(232, 101, 74, 0.22);
    transform: scale(1.08);
}

.travel-card-body {
    flex: 1;
    min-width: 0;
}

.travel-card-title {
    margin: 0;
    color: #1d2d44;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.3;
}

.travel-card-copy {
    margin: 0.14rem 0 0;
    color: #556274;
    font-size: 0.78rem;
    line-height: 1.35;
}

/* ---- How to Reach page ---- */
.skip-link {
    position: absolute;
    left: 0.75rem;
    top: -3rem;
    z-index: 999;
    background: #1d2d44;
    color: #ffffff;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
}

.skip-link:focus {
    top: 0.75rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.reach-hero {
    border: 1px solid rgba(85, 98, 116, 0.14);
    border-radius: 1.4rem;
    padding: 1.55rem;
    display: grid;
    gap: 0.95rem;
    background:
        radial-gradient(120% 90% at 0% 0%, rgba(232, 101, 74, 0.08) 0%, rgba(232, 101, 74, 0) 60%),
        radial-gradient(120% 90% at 100% 100%, rgba(122, 183, 217, 0.1) 0%, rgba(122, 183, 217, 0) 62%),
        #fffdfa;
}

.reach-kicker {
    margin: 0;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: #8f3b2b;
    font-weight: 800;
}

.reach-hero-title,
.reach-hero h1 {
    margin: 0;
    letter-spacing: -0.015em;
    line-height: 1.08;
}

.reach-hero-copy,
.reach-hero > p {
    margin: 0;
    max-width: 60ch;
    line-height: 1.62;
}

.reach-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding-top: 0.15rem;
}

.reach-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    border: 1px solid rgba(85, 98, 116, 0.2);
    background: #ffffff;
    border-radius: 999px;
    padding: 0.42rem 0.78rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1d2d44;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.reach-chip:hover {
    border-color: rgba(232, 101, 74, 0.42);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(232, 101, 74, 0.12);
}

.reach-glance-grid {
    display: grid;
    gap: 0.8rem;
    margin-top: 0.2rem;
}

.reach-glance-card {
    border: 1px solid rgba(85, 98, 116, 0.16);
    border-radius: 0.9rem;
    background: #ffffff;
    padding: 0.82rem 0.9rem;
    box-shadow: 0 2px 10px rgba(29, 45, 68, 0.04);
}

.reach-glance-label {
    margin: 0;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #556274;
    font-weight: 700;
}

.reach-glance-value {
    margin: 0.18rem 0 0;
    color: #1d2d44;
    font-size: 0.97rem;
    font-weight: 800;
}

.reach-section-head {
    margin: 0 0 1rem;
    max-width: 44rem;
}

.reach-section-head h2 {
    letter-spacing: -0.01em;
    line-height: 1.18;
}

.reach-section-head p {
    margin: 0;
    line-height: 1.58;
}

.reach-mode-grid {
    display: grid;
    gap: 0.9rem;
}

.reach-mode-card {
    border: 1px solid rgba(85, 98, 116, 0.14);
    border-radius: 1rem;
    background: #ffffff;
    padding: 1rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.reach-mode-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(232, 101, 74, 0.78), rgba(122, 183, 217, 0.72));
    opacity: 0.72;
}

.reach-mode-card:hover {
    border-color: rgba(232, 101, 74, 0.26);
    box-shadow: 0 10px 26px rgba(29, 45, 68, 0.08);
    transform: translateY(-2px);
}

.reach-mode-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.45rem;
}

.reach-mode-head h3 {
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.reach-mode-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 101, 74, 0.15);
    color: #8f3b2b;
}

.reach-meta-list {
    margin: 0.65rem 0;
    padding-left: 1rem;
    color: #556274;
    display: grid;
    gap: 0.3rem;
    font-size: 0.9rem;
    line-height: 1.52;
}

.reach-route-line {
    margin: 0;
    font-size: 0.86rem;
    color: #1d2d44;
    background: #fdf6ef;
    border: 1px solid rgba(232, 101, 74, 0.16);
    border-radius: 0.7rem;
    padding: 0.55rem 0.65rem;
    line-height: 1.52;
}

.reach-distance-panel h2,
.faq-head h2,
.reach-cta-panel h2 {
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.reach-distance-panel {
    border: 1px solid rgba(85, 98, 116, 0.14);
    border-radius: 1rem;
    background: #ffffff;
    padding: 1rem;
}

.reach-table-wrap {
    overflow-x: auto;
}

.reach-distance-table {
    min-width: 620px;
}

.reach-table-caption {
    caption-side: top;
    text-align: left;
    font-size: 0.84rem;
    color: #556274;
    margin-bottom: 0.55rem;
    line-height: 1.45;
}

.reach-distance-table th,
.reach-distance-table td {
    border: 1px solid rgba(85, 98, 116, 0.2);
    padding: 0.6rem 0.65rem;
    text-align: left;
    line-height: 1.45;
}

.reach-distance-table thead th {
    background: rgba(217, 230, 242, 0.35);
    color: #1d2d44;
    font-weight: 700;
}

.reach-distance-table tbody tr:nth-child(even) {
    background: rgba(247, 244, 238, 0.5);
}


.reach-cta-panel {
    border: 1px solid rgba(85, 98, 116, 0.16);
    border-radius: 1rem;
    background: linear-gradient(120deg, rgba(253, 243, 232, 0.92) 0%, rgba(217, 230, 242, 0.78) 100%);
    padding: 1rem;
    display: grid;
    gap: 0.9rem;
}

.reach-cta-kicker {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.67rem;
    font-weight: 800;
    color: #8f3b2b;
}

.reach-cta-panel .text-slate {
    line-height: 1.55;
}

.reach-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.reach-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.68rem;
    border: 1px solid rgba(85, 98, 116, 0.2);
    background: #ffffff;
    color: #1d2d44;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.52rem 0.75rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.reach-cta-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(232, 101, 74, 0.45);
}

.reach-cta-btn-primary {
    background: #e8654a;
    color: #ffffff;
    border-color: #e8654a;
}

.page-top-nav a:focus-visible,
.reach-chip:focus-visible,
.reach-cta-btn:focus-visible,
.faq-question:focus-visible {
    outline: 2px solid #e8654a;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

@media (min-width: 768px) {
    .reach-hero {
        padding: 1.9rem;
        gap: 1.15rem;
    }

    .reach-glance-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .reach-mode-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .reach-cta-panel {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

@media (max-width: 380px) {
    .reach-hero {
        padding: 1rem;
        border-radius: 1rem;
        gap: 0.72rem;
    }

    .reach-chip-row {
        gap: 0.4rem;
    }

    .reach-chip {
        font-size: 0.72rem;
        padding: 0.38rem 0.62rem;
    }

    .reach-glance-card {
        padding: 0.68rem 0.7rem;
    }

    .reach-glance-value {
        font-size: 0.9rem;
    }

    .reach-mode-card,
    .reach-distance-panel,
    .reach-cta-panel {
        padding: 0.82rem;
        border-radius: 0.85rem;
    }

    .reach-mode-head {
        gap: 0.5rem;
    }

    .reach-mode-head h2 {
        font-size: 1.25rem;
    }

    .reach-hero h1 {
        line-height: 1.12;
    }

    .reach-meta-list {
        font-size: 0.84rem;
        line-height: 1.5;
    }

    .reach-section-head h2 {
        font-size: 1.45rem;
    }

    .reach-meta-list {
        gap: 0.25rem;
        margin: 0.55rem 0;
    }

    .reach-route-line {
        font-size: 0.8rem;
        padding: 0.48rem 0.56rem;
    }

    .reach-distance-table {
        min-width: 560px;
    }

    .reach-distance-table th,
    .reach-distance-table td {
        padding: 0.5rem 0.52rem;
        font-size: 0.76rem;
    }

    .reach-cta-actions {
        width: 100%;
    }

    .reach-cta-btn {
        flex: 1 1 100%;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reach-mode-card,
    .reach-chip,
    .reach-cta-btn {
        transition: none !important;
    }

    .reach-mode-card:hover,
    .reach-chip:hover,
    .reach-cta-btn:hover {
        transform: none !important;
    }
}

.travel-tag {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.1rem 0.35rem;
    border-radius: 999px;
    background: rgba(242, 184, 48, 0.2);
    color: #8f3b2b;
    font-size: 0.6rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    vertical-align: 0.12rem;
}

.travel-arrow {
    flex: 0 0 auto;
    color: #8f3b2b;
    opacity: 0.72;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.travel-card:hover .travel-arrow {
    transform: translateX(2px) translateY(-1px);
    opacity: 1;
}

@media (min-width: 768px) {
    .travel-groups {
        gap: 1.2rem;
    }

    .travel-group {
        padding: 1.1rem;
    }

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

@media (min-width: 1200px) {
    .travel-groups {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: start;
    }

    .travel-group-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 380px) {
    .travel-card {
        padding: 0.66rem 0.68rem;
        gap: 0.62rem;
    }

    .travel-card-title {
        font-size: 0.87rem;
    }

    .travel-card-copy {
        font-size: 0.74rem;
    }
}

/* ---- Bento grid ---- */
.bento-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}
.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 44px rgba(29, 45, 68, 0.1);
}

/* ---- Program tabs ---- */
.tab-btn {
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.tab-btn.active {
    background: #E8654A;
    color: white;
    box-shadow: 0 4px 15px rgba(232, 101, 74, 0.3);
}
.tab-panel {
    display: none;
    animation: fadeUp 0.4s ease;
}
.tab-panel.active {
    display: block;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Impact ticker ---- */
@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.ticker-track {
    animation: tickerScroll 25s linear infinite;
}
.ticker-track:hover {
    animation-play-state: paused;
}

/* ---- Volunteer card ---- */
.vol-card {
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.vol-card:hover {
    border-color: #E8654A;
    transform: translateY(-2px);
}
.vol-card input:checked + .vol-check {
    background: #E8654A;
    border-color: #E8654A;
}
.vol-card input:checked + .vol-check i {
    opacity: 1;
}

/* ---- Wavy banner ---- */
.wavy-bg {
    background: linear-gradient(135deg, #E8654A 0%, #F2876F 50%, #F2B830 100%);
}

/* ---- Button system ---- */
/* Primary: filled coral */
.btn-coral {
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.18s ease;
    letter-spacing: 0.01em;
}
.btn-coral:hover {
    background: #D4533A;
    box-shadow: 0 8px 22px rgba(232, 101, 74, 0.32);
    transform: translateY(-2px);
}
.btn-coral:active { transform: translateY(0); box-shadow: none; }
.btn-coral:focus-visible {
    outline: 2px solid #e8654a;
    outline-offset: 3px;
    border-radius: 0.75rem;
}

/* Secondary: outline */
.btn-outline {
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.18s ease;
}
.btn-outline:hover {
    box-shadow: 0 8px 22px rgba(29, 45, 68, 0.12);
    transform: translateY(-2px);
}
.btn-outline:active { transform: translateY(0); }
.btn-outline:focus-visible {
    outline: 2px solid #1d2d44;
    outline-offset: 3px;
    border-radius: 0.75rem;
}

/* ---- Pulse ring on outline CTA ---- */
.btn-pulse-ring {
    position: relative;
}

.btn-pulse-ring::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 0.95rem;
    border: 2px solid rgba(29, 45, 68, 0.35);
    opacity: 0;
    animation: pulseRing 2.4s ease-out infinite;
    pointer-events: none;
}

@keyframes pulseRing {
    0%   { transform: scale(0.96); opacity: 0.55; }
    60%  { transform: scale(1.06); opacity: 0; }
    100% { transform: scale(1.06); opacity: 0; }
}

.btn-pulse-ring:hover::after {
    animation-play-state: paused;
    opacity: 0;
}

/* ---- Mobile menu ---- */
.mobile-menu {
    width: min(20rem, 100vw);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-stack-top {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    text-align: left;
    padding-top: 1.25rem;
    gap: 0.2rem;
}

.mobile-menu-stack-top .mobile-link {
    text-align: left;
    font-size: 1.25rem;
    line-height: 1.25;
    padding: 0.55rem 0.2rem;
    border-bottom: 1px dashed rgba(85, 98, 116, 0.2);
}

.mobile-header-back {
    position: fixed;
    top: 4.45rem;
    left: 0.75rem;
    z-index: 46;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.65rem;
    border: 1px solid rgba(85, 98, 116, 0.24);
    border-radius: 0.7rem;
    background: rgba(255, 253, 249, 0.96);
    color: #556274;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 10px rgba(29, 45, 68, 0.08);
}

.mobile-header-back:hover {
    color: #e8654a;
    border-color: rgba(232, 101, 74, 0.34);
}

/* ---- Subpage top nav ---- */
.page-top-nav {
    position: relative;
    z-index: 30;
}

.page-top-nav .menu-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.page-top-nav .menu-links a {
    color: #556274;
    font-size: 0.84rem;
    font-weight: 600;
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.page-top-nav .menu-links a:hover {
    color: #e8654a;
}

.page-top-nav .menu-links a:focus-visible {
    outline: 2px solid #e8654a;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ---- Essentials hot highlight ---- */
.essentials-hot {
    position: relative;
    color: #b4472f !important;
    font-weight: 700 !important;
    text-shadow: 0 0 10px rgba(232, 101, 74, 0.22);
    animation: essentialsGlow 1.8s ease-in-out infinite;
}

.essentials-hot::after {
    content: 'HOT';
    display: inline-block;
    margin-left: 0.45rem;
    padding: 0.08rem 0.38rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #e8654a 0%, #f2876f 52%, #f2b830 100%);
    color: #ffffff;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    vertical-align: middle;
    box-shadow: 0 3px 10px rgba(232, 101, 74, 0.34);
    animation: essentialsBob 1.6s ease-in-out infinite;
}

.essentials-hot-card {
    border-color: rgba(232, 101, 74, 0.36);
    box-shadow: 0 8px 20px rgba(232, 101, 74, 0.12);
    animation: essentialsCardGlow 2.1s ease-in-out infinite;
}

@keyframes essentialsGlow {
    0%, 100% {
        color: #b4472f;
        text-shadow: 0 0 6px rgba(232, 101, 74, 0.2);
    }
    50% {
        color: #d4533a;
        text-shadow: 0 0 14px rgba(232, 101, 74, 0.34);
    }
}

@keyframes essentialsBob {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

@keyframes essentialsCardGlow {
    0%,
    100% {
        box-shadow: 0 8px 20px rgba(232, 101, 74, 0.1);
    }
    50% {
        box-shadow: 0 12px 26px rgba(232, 101, 74, 0.2);
    }
}

@media (prefers-reduced-motion: reduce) {
    .essentials-hot,
    .essentials-hot::after,
    .essentials-hot-card {
        animation: none !important;
    }
}

@media (max-width: 767px) {
    #navbar {
        border-bottom: 1px solid rgba(85, 98, 116, 0.18);
    }

    #navbar .font-display {
        font-size: 1rem;
        line-height: 1.1;
        letter-spacing: 0;
    }

    #navbar a.inline-flex {
        min-width: 0;
    }

    #navbar a.inline-flex span:last-child {
        max-width: 11rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #menuBtn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.55rem;
        height: 2.55rem;
        border: 1px solid rgba(85, 98, 116, 0.24);
        border-radius: 0.8rem;
        background: #fffdf9;
        box-shadow: 0 2px 10px rgba(29, 45, 68, 0.08);
        margin-left: auto;
        flex-shrink: 0;
    }

    #menuBtn:active {
        transform: translateY(1px);
    }

    .page-top-nav {
        position: sticky;
        top: 0;
        z-index: 45;
        background: rgba(250, 244, 237, 0.94);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        margin-inline: -1rem;
        padding-inline: 1rem;
    }

    .mobile-menu {
        width: min(22rem, 90vw);
        padding-inline: 1.25rem;
        padding-top: 5.25rem;
        padding-bottom: 1.5rem;
    }

    .mobile-menu-stack-top .mobile-link:last-child {
        border-bottom: 0;
    }
}

@media (min-width: 768px) {
    .mobile-header-back {
        display: none !important;
    }
}

/* ---- Handwritten accent (CSS-drawn) ---- */
.underline-draw {
    position: relative;
    display: inline-block;
}
.underline-draw::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 6px;
    background: #F2B830;
    border-radius: 3px;
    opacity: 0.6;
    transform: skew(-3deg);
}

/* Confetti dots decorative — desktop only */
.confetti-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    opacity: 0.15;
}

@media (max-width: 639px) {
    .confetti-dot {
        display: none;
    }
}

/* ---- Back to top button ---- */
.back-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.5rem;
    z-index: 40;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    border: 0;
    background: #1d2d44;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
    pointer-events: none;
    box-shadow: 0 4px 14px rgba(29, 45, 68, 0.25);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background: #E8654A;
}

@media (min-width: 768px) {
    .back-to-top {
        display: none !important;
    }
}

/* ---- FAQ accordion ---- */
.faq-list {
    display: grid;
    gap: 0.6rem;
}

.faq-item {
    border: 1px solid rgba(85, 98, 116, 0.14);
    border-radius: 1rem;
    overflow: hidden;
    background: #fffdfa;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
    border-color: rgba(232, 101, 74, 0.35);
    background: linear-gradient(150deg, #fff7f1 0%, #fffdfa 100%);
    box-shadow: 0 6px 18px rgba(232, 101, 74, 0.08);
}

.faq-question {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    font-size: 0.93rem;
    font-weight: 700;
    color: #1d2d44;
    cursor: pointer;
    user-select: none;
    transition: color 0.18s ease;
}

.faq-item[open] .faq-question {
    color: #8f3b2b;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
    content: '';
    flex: 0 0 auto;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 999px;
    background: rgba(232, 101, 74, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f3b2b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/14px no-repeat;
    transition: transform 0.25s ease, background-color 0.2s ease;
}

.faq-item[open] .faq-question::after {
    transform: rotate(180deg);
    background-color: rgba(232, 101, 74, 0.22);
}

.faq-answer {
    margin: 0;
    padding: 0 1.1rem 1rem;
    color: #556274;
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ---- Highlight cards ---- */
.highlight-card {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid rgba(85, 98, 116, 0.13);
    overflow: hidden;
    margin: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(29, 45, 68, 0.1), 0 4px 12px rgba(232, 101, 74, 0.08);
    border-color: rgba(232, 101, 74, 0.22);
}

.highlight-card-body {
    padding: 0.85rem 1rem 1rem;
}

.highlight-card-title {
    margin: 0 0 0.28rem;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1d2d44;
}

.highlight-card-copy {
    margin: 0 0 0.65rem;
    font-size: 0.82rem;
    color: #556274;
    line-height: 1.45;
}

.highlight-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #E8654A;
    text-decoration: none;
    transition: gap 0.18s ease, color 0.18s ease;
}

.highlight-card-link:hover {
    gap: 0.5rem;
    color: #D4533A;
}

.highlight-card img {
    height: 10rem;
    object-fit: cover;
}

@media (min-width: 640px) {
    .highlight-card img {
        height: 12rem;
    }
}

@media (min-width: 1024px) {
    .highlight-card img {
        height: 13rem;
    }
}

/* ---- Footer column label ---- */
.footer-col-label {
    margin: 0 0 1rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.footer-link {
    display: block;
    color: #edf1f6;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.18s ease;
    margin-bottom: 0.5rem;
}

.footer-link:hover {
    color: #F2876F;
    padding-left: 3px;
}

/* ---- Footer refresh ---- */
.site-footer {
    background: linear-gradient(180deg, #1a293e 0%, #1d2d44 100%);
}

.site-footer .text-navy,
.site-footer .text-slate {
    color: #c8d4e2 !important;
}

.site-footer .font-display.text-lg {
    color: #ffffff !important;
}

.site-footer h4 {
    color: #ffffff !important;
}

.site-footer .border-cloud-dark,
.site-footer .border-cloud-dark\/70 {
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.made-with-love {
    color: #f3f6fa;
}

.footer-love-mobile {
    display: none;
}

.love-bubble {
    display: inline-block;
    color: #e8654a;
    margin: 0 0.2rem;
    animation: bubbleBeat 1.5s ease-in-out infinite;
    transform-origin: center;
    filter: drop-shadow(0 3px 6px rgba(232, 101, 74, 0.25));
}

@keyframes bubbleBeat {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }
    25% {
        transform: translateY(-2px) scale(1.08);
    }
    50% {
        transform: translateY(-5px) scale(1.2);
    }
    75% {
        transform: translateY(-2px) scale(1.08);
    }
}

@media (max-width: 767px) {
    .footer-love-mobile {
        display: block;
        color: #556274;
        font-weight: 600;
        margin-top: 2rem;
    }

    .site-footer .footer-love-mobile {
        color: #f3f6fa;
    }
}

/* ---- Temple page refresh ---- */
.temple-hero-panel {
    display: grid;
    gap: 1rem;
    align-items: stretch;
    background: linear-gradient(140deg, #fff7ef 0%, #ffefe3 100%);
    border: 1px solid rgba(232, 101, 74, 0.2);
    border-radius: 1.25rem;
    padding: 1rem;
}

.temple-kicker {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    background: rgba(232, 101, 74, 0.14);
    color: #8f3b2b;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.7rem;
}

.temple-chip-row {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.temple-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    border: 1px solid rgba(85, 98, 116, 0.22);
    background: rgba(255, 255, 255, 0.88);
    color: #1d2d44;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.36rem 0.64rem;
}

.temple-inline-icon {
    width: 0.9rem;
    height: 0.9rem;
}

.temple-chip-icon {
    width: 0.82rem;
    height: 0.82rem;
    color: #8f3b2b;
}

.temple-sketch-card {
    margin: 0;
    border-radius: 1rem;
    background: #fff;
    border: 2px solid rgba(29, 45, 68, 0.18);
    box-shadow: 0 10px 26px rgba(29, 45, 68, 0.08);
    padding: 0.6rem;
}

.temple-sketch-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.7rem;
}

.temple-anchor-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    position: sticky;
    top: 0.6rem;
    z-index: 12;
    padding: 0.2rem;
    border-radius: 0.9rem;
    background: rgba(253, 252, 250, 0.9);
    backdrop-filter: blur(6px);
}

.temple-anchor-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(85, 98, 116, 0.2);
    color: #1d2d44;
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
    padding: 0.45rem 0.75rem;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.temple-nav-icon {
    width: 0.85rem;
    height: 0.85rem;
}

.temple-heading-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.temple-heading-with-icon i {
    width: 1.02rem;
    height: 1.02rem;
    color: #8f3b2b;
}

.temple-anchor-nav a:hover {
    border-color: rgba(232, 101, 74, 0.45);
    color: #8f3b2b;
    transform: translateY(-1px);
}

.temple-anchor-nav a.is-active {
    border-color: rgba(232, 101, 74, 0.32);
    background: linear-gradient(135deg, rgba(232, 101, 74, 0.09) 0%, rgba(242, 184, 48, 0.05) 100%);
    color: #8f3b2b;
    box-shadow: 0 2px 8px rgba(232, 101, 74, 0.1);
}

.temple-section-shell {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(85, 98, 116, 0.18);
    border-radius: 1.15rem;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(29, 45, 68, 0.05);
}

.temple-section-shell::before {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(232, 101, 74, 0.58) 0%, rgba(242, 184, 48, 0.38) 100%);
}

.temple-section-shell:nth-of-type(even) {
    background: linear-gradient(140deg, #ffffff 0%, #fff9f3 100%);
}

.temple-section-label {
    margin: 0 0 0.52rem;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(232, 101, 74, 0.18);
    background: rgba(232, 101, 74, 0.05);
    color: #8f3b2b;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
}

.temple-plan-grid {
    display: grid;
    gap: 0.75rem;
}

.temple-plan-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(85, 98, 116, 0.15);
    border-radius: 0.9rem;
    padding: 0.9rem;
    background: linear-gradient(140deg, #fffdfa 0%, #fff5eb 100%);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.temple-plan-card::after {
    content: '';
    position: absolute;
    top: -28px;
    right: -34px;
    width: 88px;
    height: 88px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(232, 101, 74, 0.12) 0%, rgba(232, 101, 74, 0) 70%);
    pointer-events: none;
}

.temple-plan-card:hover {
    transform: translateY(-2px);
    border-color: rgba(232, 101, 74, 0.35);
    box-shadow: 0 10px 22px rgba(29, 45, 68, 0.08);
}

.temple-plan-card h3 {
    margin: 0 0 0.35rem;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1rem;
    color: #1d2d44;
}

.temple-card-title-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.temple-card-title-icon i {
    width: 0.94rem;
    height: 0.94rem;
    color: #8f3b2b;
}

.temple-plan-card p {
    margin: 0;
    color: #556274;
    font-size: 0.9rem;
    line-height: 1.5;
}

.temple-plan-card a {
    display: inline-block;
    margin-top: 0.45rem;
    color: #e8654a;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.temple-layout-grid {
    display: grid;
    gap: 0.9rem;
    align-items: start;
}

.temple-layout-cards {
    display: grid;
    gap: 0.65rem;
}

.temple-layout-simple {
    display: grid;
    gap: 0.65rem;
}

.temple-layout-card {
    border-style: solid;
}

.temple-zone-ikkare {
    border-left: 4px solid rgba(44, 110, 143, 0.7);
    background: linear-gradient(140deg, #f8fcff 0%, #eff8fd 100%);
}

.temple-zone-ikkare .temple-card-title-icon i {
    color: #2c6e8f;
}

.temple-zone-akkare {
    border-left: 4px solid rgba(232, 101, 74, 0.72);
    background: linear-gradient(140deg, #fff8f3 0%, #ffefe4 100%);
}

.temple-zone-akkare .temple-card-title-icon i {
    color: #c84f36;
}

.temple-layout-card h3 {
    margin: 0 0 0.28rem;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1rem;
    color: #1d2d44;
}

.temple-layout-card p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #556274;
}

.temple-flow-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.65rem;
    counter-reset: visitflow;
}

.temple-flow-list li {
    position: relative;
    border: 1px solid rgba(85, 98, 116, 0.17);
    border-radius: 0.9rem;
    padding: 0.9rem 0.9rem 0.9rem 3rem;
    background: #fffdfa;
}

.temple-flow-list li::before {
    counter-increment: visitflow;
    content: counter(visitflow);
    position: absolute;
    left: 0.9rem;
    top: 0.9rem;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1d2d44;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
}

.temple-flow-list h3 {
    margin: 0 0 0.25rem;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1rem;
    color: #1d2d44;
}

.temple-flow-list p {
    margin: 0;
    font-size: 0.89rem;
    line-height: 1.5;
    color: #556274;
}

.temple-etiquette-grid {
    display: grid;
    gap: 0.7rem;
}

.temple-etiquette-card {
    border-style: solid;
}

.temple-etiquette-card h3 {
    margin: 0 0 0.45rem;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1rem;
    color: #1d2d44;
}

.temple-etiquette-card ul {
    margin: 0;
    padding-left: 1rem;
    color: #556274;
    font-size: 0.9rem;
    line-height: 1.5;
}

.temple-etiquette-card li + li {
    margin-top: 0.28rem;
}

.temple-note-strip {
    margin: 0.9rem 0 0;
    border-radius: 0.8rem;
    border: 1px solid rgba(232, 101, 74, 0.24);
    background: rgba(232, 101, 74, 0.08);
    color: #6f3a2f;
    font-size: 0.87rem;
    line-height: 1.5;
    padding: 0.7rem 0.85rem;
}

.temple-note-strip a {
    color: #8f3b2b;
    font-weight: 700;
}

@media (min-width: 900px) {
    .temple-hero-panel {
        grid-template-columns: 1.2fr 0.9fr;
        padding: 1.25rem;
    }

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

    .temple-layout-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .temple-layout-simple {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .temple-section-shell {
        padding: 1.2rem;
    }
}

@media (max-width: 700px) {
    .temple-anchor-nav {
        top: 0.35rem;
    }

    .temple-anchor-nav a.is-active {
        border-color: rgba(232, 101, 74, 0.42);
        background: linear-gradient(135deg, rgba(232, 101, 74, 0.14) 0%, rgba(242, 184, 48, 0.1) 100%);
        box-shadow: 0 2px 10px rgba(232, 101, 74, 0.14);
    }

    .temple-section-label {
        border-color: rgba(232, 101, 74, 0.24);
        background: rgba(232, 101, 74, 0.08);
        font-size: 0.66rem;
        letter-spacing: 0.085em;
        padding: 0.22rem 0.54rem;
    }
}

/* ---- Festival page refresh ---- */
.festival-hero {
    border-radius: 1.25rem;
    border: 1px solid rgba(232, 101, 74, 0.22);
    background:
        radial-gradient(95% 75% at 100% 0%, rgba(242, 184, 48, 0.18) 0%, rgba(242, 184, 48, 0) 62%),
        radial-gradient(85% 65% at 0% 100%, rgba(232, 101, 74, 0.14) 0%, rgba(232, 101, 74, 0) 66%),
        #fff8f2;
    padding: 1rem;
}

.festival-kicker {
    margin: 0;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(232, 101, 74, 0.14);
    color: #8f3b2b;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.65rem;
}

.festival-meta-row {
    margin-top: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.festival-glance-grid {
    display: grid;
    gap: 0.55rem;
}

.festival-glance-card {
    border: 1px solid rgba(85, 98, 116, 0.18);
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.6rem 0.72rem;
}

.festival-glance-label {
    margin: 0;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8f3b2b;
}

.festival-glance-value {
    margin: 0.15rem 0 0;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1d2d44;
}

.festival-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(85, 98, 116, 0.2);
    background: rgba(255, 255, 255, 0.9);
    color: #1d2d44;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 0.35rem 0.62rem;
}

.festival-source-link {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #1d2d44;
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 700;
    text-decoration: none;
    padding: 0.36rem 0.7rem;
    transition: background 0.2s ease;
}

.festival-source-link:hover {
    background: #e8654a;
}

.festival-panel {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid rgba(85, 98, 116, 0.18);
    box-shadow: 0 10px 24px rgba(29, 45, 68, 0.05);
    padding: 1rem;
}

.festival-schedule-table {
    table-layout: fixed;
}

.festival-table-wrap {
    overflow-x: auto;
    overflow-y: visible;
}

.festival-schedule-table th,
.festival-schedule-table td {
    vertical-align: top;
}

.festival-schedule-table th {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #eef2f7;
}

.festival-schedule-table tbody tr:nth-child(even) {
    background: rgba(247, 250, 255, 0.85);
}

.festival-schedule-table tbody tr:hover {
    background: rgba(232, 101, 74, 0.06);
}

.festival-schedule-table th:nth-child(1),
.festival-schedule-table td:nth-child(1) {
    width: 18%;
}

.festival-schedule-table th:nth-child(2),
.festival-schedule-table td:nth-child(2) {
    width: 13%;
}

.festival-schedule-table th:nth-child(3),
.festival-schedule-table td:nth-child(3) {
    width: 19%;
}

.festival-schedule-table th:nth-child(4),
.festival-schedule-table td:nth-child(4) {
    width: 50%;
}

.festival-major-row {
    background: linear-gradient(90deg, rgba(255, 244, 227, 0.7) 0%, rgba(255, 250, 240, 0.4) 100%);
}

.festival-ritual-cell {
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.45;
}

.festival-ritual-en {
    display: block;
    color: #1d2d44;
    font-weight: 700;
}

.festival-ritual-ml {
    display: block;
    margin-top: 0.18rem;
    color: #556274;
    font-size: 0.82rem;
}

.festival-announcement-card {
    position: relative;
    overflow: hidden;
    border-width: 2px;
    border-color: rgba(217, 119, 6, 0.55);
    background: linear-gradient(135deg, #fff7e5 0%, #ffefcf 55%, #fff8e8 100%);
    box-shadow: 0 12px 30px rgba(217, 119, 6, 0.18);
}

.festival-announcement-card > div {
    position: relative;
    z-index: 2;
}

.festival-announcement-panel {
    border-color: rgba(217, 119, 6, 0.3);
    background: linear-gradient(140deg, #ffffff 0%, #fffbf0 100%);
}

.festival-announcement-panel h2 {
    color: #7a3e0a;
}

.festival-announcement-icon {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.7rem;
    background: #7a3e0a;
    color: #fff7ea;
    box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.38);
    animation: festivalPulseAlert 2.2s ease-out infinite;
}

.festival-announcement-copy {
    width: 100%;
}

.festival-announcement-head {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.4rem;
}

.festival-announcement-pill,
.festival-announcement-subpill {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-radius: 999px;
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.27rem 0.56rem;
}

.festival-announcement-pill {
    border: 1px solid rgba(180, 83, 9, 0.5);
    background: rgba(180, 83, 9, 0.14);
    color: #7a3e0a;
}

.festival-announcement-subpill {
    border: 1px solid rgba(29, 45, 68, 0.28);
    background: rgba(255, 255, 255, 0.86);
    color: #1d2d44;
}

.festival-announcement-meta {
    margin: 0 0 0.32rem;
    color: #7a3e0a;
    font-size: 0.82rem;
    font-weight: 600;
}

.festival-announcement-source {
    margin: 0.3rem 0 0;
    color: #6c7280;
    font-size: 0.74rem;
}

.festival-note-bubble {
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(217, 119, 6, 0.35);
    background: rgba(255, 255, 255, 0.45);
    z-index: 1;
    animation: festivalBubbleFloat 4.8s ease-in-out infinite;
    pointer-events: none;
}

.bubble-one {
    width: 44px;
    height: 44px;
    right: 1rem;
    top: 0.5rem;
    animation-delay: 0s;
}

.bubble-two {
    width: 26px;
    height: 26px;
    right: 4rem;
    top: 1.8rem;
    animation-delay: 0.8s;
}

.bubble-three {
    width: 18px;
    height: 18px;
    right: 2.4rem;
    top: 3.2rem;
    animation-delay: 1.4s;
}

.bubble-four {
    width: 32px;
    height: 32px;
    right: 6.8rem;
    top: 0.7rem;
    animation-delay: 2.1s;
}

@keyframes festivalBubbleFloat {
    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.45;
    }
    50% {
        transform: translateY(-7px) scale(1.06);
        opacity: 0.72;
    }
}

@keyframes festivalPulseAlert {
    0% {
        box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.34);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(217, 119, 6, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(217, 119, 6, 0);
    }
}

@media (min-width: 900px) {
    .festival-hero,
    .festival-panel {
        padding: 1.2rem;
    }

    .festival-glance-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media print {
    .festival-note-bubble {
        display: none !important;
    }

    .festival-announcement-icon {
        animation: none !important;
    }

    .festival-panel,
    .festival-announcement-card,
    .festival-schedule-table th,
    .festival-schedule-table td {
        box-shadow: none !important;
        border-color: rgba(0, 0, 0, 0.35) !important;
    }

    .festival-source-link {
        color: #000 !important;
        background: transparent !important;
        border: 1px solid rgba(0, 0, 0, 0.35);
    }
}
