/* ======================== Why-Section-Start =========================== */
/* Maroon • Gold • Ivory • Orange — site-wide theme */

.home-why-section {
    /* ---------- Palette ---------- */
    --why-ivory:    #FFFDF5;
    --why-paper:    #FAF4E4;
    --why-paper-2:  #F5EAD0;
    --why-card:     #FFFDF5;

    --why-maroon-900: #2A050B;
    --why-maroon-800: #3A060D;
    --why-maroon-700: #4E0912;
    --why-maroon-600: #6B0F1A;
    --why-maroon-500: #80161F;

    --why-gold-600: #B8860B;
    --why-gold-500: #D4AF37;
    --why-gold-400: #E0C158;
    --why-gold-300: #EBD07A;

    --why-orange:      #e77913;
    --why-orange-soft: #ff9a3c;

    --why-ink:    #2A050B;
    --why-muted:  rgba(42, 5, 11, .62);
    --why-faint:  rgba(42, 5, 11, .38);
    --why-border: rgba(78, 9, 18, .12);
    --why-border-gold: rgba(212, 175, 55, .35);

    padding: 110px 0;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(212, 175, 55, .10), transparent 55%),
        radial-gradient(ellipse at 0% 100%, rgba(78, 9, 18, .07), transparent 55%),
        var(--why-paper);
    position: relative;
    overflow: hidden;
}

.home-why-section .container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4.5vw, 64px);
}

/* ============================================================
   LAYOUT — split: sticky header left, list right
   ============================================================ */
.home-why-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 80px;
    align-items: start;
}

/* ---------- Left: intro ---------- */
.home-why-intro {
    position: sticky;
    top: 120px;
}

.home-why-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--why-gold-600);
    padding: 6px 18px;
    border: 1px solid rgba(212, 175, 55, .5);
    border-radius: 30px;
    background: rgba(212, 175, 55, .1);
    margin-bottom: 22px;
    text-shadow: 0 0 18px rgba(212, 175, 55, .3);
}

.home-why-heading {
    font-size: 48px;
    font-weight: 800;
    color: var(--why-maroon-800);
    margin: 0 0 22px;
    line-height: 1.12;
    letter-spacing: -1px;
}

.home-why-heading span {
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg,
        var(--why-orange) 0%,
        var(--why-gold-500) 45%,
        var(--why-gold-300) 75%,
        var(--why-orange) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: whyHeadingShimmer 4s ease-in-out infinite;
}
@keyframes whyHeadingShimmer {
    0%, 100% { background-position: 0% center; }
    50%      { background-position: 100% center; }
}

.home-why-heading span::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 4px;
    background: linear-gradient(90deg, var(--why-orange), var(--why-gold-500));
    border-radius: 4px;
    opacity: .35;
    box-shadow: 0 0 14px rgba(212, 175, 55, .5);
}

.home-why-desc {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--why-muted);
    margin: 0 0 26px;
}

/* Golden rule with trailing hairline */
.home-why-rule {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--why-orange), var(--why-gold-500));
    border-radius: 3px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 0 14px rgba(212, 175, 55, .5);
}

.home-why-rule::after {
    content: "";
    position: absolute;
    left: 68px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, rgba(212, 175, 55, .5), transparent);
}

.home-why-footnote {
    font-size: 13px;
    font-style: italic;
    color: var(--why-faint);
    margin: 0;
    letter-spacing: .2px;
}

/* ============================================================
   STAGE + RIGHT LIST
   ============================================================ */
.home-why-stage { position: relative; }

.home-why-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.home-why-item {
    position: relative;
    display: grid;
    grid-template-columns: 60px 72px 1fr 52px;
    align-items: center;
    gap: 24px;
    padding: 28px 26px;
    background: var(--why-card);
    border: 1px solid var(--why-border-gold);
    border-radius: 14px;
    text-decoration: none;
    overflow: hidden;
    min-width: 0;

    box-shadow:
        inset 0 1px 0 rgba(212, 175, 55, .15),
        0 1px 2px rgba(42, 5, 11, .05),
        0 4px 14px rgba(42, 5, 11, .06),
        0 0 0 1px rgba(212, 175, 55, .06);

    transition:
        transform 380ms cubic-bezier(.22, 1, .36, 1),
        border-color 300ms ease,
        box-shadow 380ms ease;
}

/* Golden accent bar grows on hover */
.home-why-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--why-orange), var(--why-gold-500));
    transform: scaleY(0);
    transform-origin: 50% 50%;
    transition: transform 450ms cubic-bezier(.22, 1, .36, 1);
    box-shadow: 0 0 14px rgba(212, 175, 55, .7);
}

.home-why-item:hover,
.home-why-item:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, .85);
    box-shadow:
        inset 0 1px 0 rgba(212, 175, 55, .3),
        0 2px 4px rgba(42, 5, 11, .08),
        0 18px 40px rgba(212, 175, 55, .3),
        0 0 0 1px rgba(212, 175, 55, .5),
        0 0 50px rgba(212, 175, 55, .18);
    outline: none;
}

.home-why-item:hover::before,
.home-why-item:focus-visible::before {
    transform: scaleY(1);
}

/* ---------- Number ---------- */
.home-why-number {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 34px;
    font-weight: 700;
    color: rgba(212, 175, 55, .35);
    letter-spacing: 1px;
    line-height: 1;
    position: relative;
    z-index: 2;
    transition: color 400ms ease, transform 450ms cubic-bezier(.22, 1, .36, 1);
}

.home-why-item:hover .home-why-number {
    color: var(--why-gold-500);
    transform: translateX(2px);
    text-shadow: 0 0 18px rgba(212, 175, 55, .6);
}

/* ---------- Icon badge — maroon at rest → golden on hover ---------- */
.home-why-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--why-maroon-700), var(--why-maroon-800));
    color: var(--why-gold-400);
    font-size: 22px;
    border: 1px solid rgba(212, 175, 55, .45);
    box-shadow:
        inset 0 1px 0 rgba(212, 175, 55, .2),
        0 6px 18px rgba(42, 5, 11, .25);
    position: relative;
    z-index: 2;
    transition:
        background 400ms ease,
        color 400ms ease,
        border-color 400ms ease,
        transform 500ms cubic-bezier(.34, 1.56, .64, 1),
        box-shadow 400ms ease;
}

.home-why-item:hover .home-why-icon {
    background: linear-gradient(135deg, var(--why-gold-400), var(--why-gold-600));
    color: var(--why-maroon-800);
    border-color: var(--why-gold-500);
    transform: scale(1.06) rotate(-4deg);
    box-shadow:
        inset 0 1px 0 rgba(255, 253, 245, .4),
        0 12px 30px rgba(212, 175, 55, .55);
}

/* ---------- Body ---------- */
.home-why-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    z-index: 2;
    min-width: 0;
}

.home-why-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--why-maroon-800);
    line-height: 1.3;
    letter-spacing: -.2px;
    transition: color 350ms ease;
}

.home-why-item:hover .home-why-title {
    color: var(--why-gold-600);
}

.home-why-text {
    font-size: 14px;
    line-height: 1.55;
    color: var(--why-muted);
    letter-spacing: .1px;
    transition: color 350ms ease;
}

/* ---------- Arrow — golden flip on hover ---------- */
.home-why-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, .4);
    background: rgba(212, 175, 55, .05);
    color: var(--why-maroon-700);
    font-size: 13px;
    position: relative;
    z-index: 2;
    transition:
        background 400ms ease,
        color 400ms ease,
        border-color 400ms ease,
        transform 500ms cubic-bezier(.34, 1.56, .64, 1),
        box-shadow 400ms ease;
}

.home-why-arrow i {
    transition: transform 450ms cubic-bezier(.34, 1.56, .64, 1);
}

.home-why-item:hover .home-why-arrow {
    background: linear-gradient(135deg, var(--why-gold-400), var(--why-gold-600));
    color: var(--why-maroon-800);
    border-color: var(--why-gold-500);
    transform: scale(1.08);
    box-shadow: 0 10px 26px rgba(212, 175, 55, .55);
}

.home-why-item:hover .home-why-arrow i {
    transform: translateX(2px);
}

/* ============================================================
   MOBILE — native swipe slider for pillar list
   ============================================================ */
.home-why-progress,
.home-why-hint { display: none; }

@media (max-width: 720px) {

    .home-why-section { padding: 65px 0; }

    .home-why-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .home-why-intro {
        position: static;
        max-width: 640px;
    }
    .home-why-heading {
        font-size: 30px;
        letter-spacing: -.5px;
    }
    .home-why-desc { font-size: 14.5px; }

    .home-why-stage { margin: 0 calc(-1 * clamp(20px, 4.5vw, 64px)); }

    /* Turn the vertical list into a swipe track */
    .home-why-list {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 14px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 10px clamp(20px, 4.5vw, 64px) 22px;
        margin: 0;
    }
    .home-why-list::-webkit-scrollbar { display: none; }

    .home-why-item {
        flex: 0 0 82%;
        max-width: 340px;
        scroll-snap-align: center;
        scroll-snap-stop: always;

        /* Re-flow the grid into a compact card */
        grid-template-columns: 1fr 44px;
        grid-template-areas:
            "header header"
            "body   arrow";
        gap: 14px 16px;
        padding: 22px 20px;
    }
    .home-why-number {
        grid-area: header;
        font-size: 26px;
        margin-bottom: 4px;
        color: rgba(212, 175, 55, .55);
    }
    .home-why-icon { display: none; }
    .home-why-body { grid-area: body; }
    .home-why-arrow {
        grid-area: arrow;
        align-self: end;
        width: 40px;
        height: 40px;
        opacity: 1;
    }
    .home-why-title { font-size: 16.5px; }
    .home-why-text  { font-size: 13.5px; }

    /* Show the golden accent bar by default on mobile (no hover) */
    .home-why-item::before { transform: scaleY(1); }

    /* Progress bar — maroon → gold */
    .home-why-progress {
        display: block;
        position: relative;
        height: 3px;
        margin: 6px auto 14px;
        width: 62%;
        max-width: 260px;
        background: rgba(78, 9, 18, .14);
        border-radius: 999px;
        overflow: hidden;
    }
    .home-why-progress-bar {
        position: absolute;
        top: 0; left: 0; bottom: 0;
        width: 14%;
        background: linear-gradient(90deg, var(--why-maroon-700), var(--why-gold-500));
        border-radius: 999px;
        transition: width .18s linear;
    }

    /* Hint */
    .home-why-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-size: 10.5px;
        font-weight: 700;
        letter-spacing: 2.4px;
        text-transform: uppercase;
        color: var(--why-faint);
        margin-top: 4px;
        transition: opacity .6s ease;
    }
    .home-why-hint svg { animation: whyNudge 1.6s ease-in-out infinite; }
    .home-why-hint.is-hidden { opacity: 0; pointer-events: none; }
    @keyframes whyNudge {
        0%, 100% { transform: translateX(0); }
        50%      { transform: translateX(4px); }
    }
}

/* ============================================================
   RESPONSIVE — tablet & large screens (unchanged layout)
   ============================================================ */
@media (max-width: 1199px) and (min-width: 721px) {
    .home-why-layout {
        grid-template-columns: 320px 1fr;
        gap: 60px;
    }
    .home-why-heading { font-size: 40px; }
}

@media (max-width: 991px) and (min-width: 721px) {
    .home-why-section { padding: 80px 0; }
    .home-why-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .home-why-intro {
        position: static;
        max-width: 640px;
    }
    .home-why-heading { font-size: 36px; }
    .home-why-item {
        grid-template-columns: 50px 60px 1fr 44px;
        gap: 18px;
        padding: 24px 22px;
    }
    .home-why-number { font-size: 28px; }
    .home-why-icon {
        width: 54px;
        height: 54px;
        font-size: 19px;
    }
    .home-why-title { font-size: 17px; }
}

@media (max-width: 480px) {
    .home-why-section { padding: 55px 0; }
    .home-why-heading { font-size: 26px; }
    .home-why-eyebrow {
        font-size: 10px;
        padding: 5px 14px;
        letter-spacing: 2.5px;
    }
    .home-why-item { flex: 0 0 88%; padding: 20px 18px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .home-why-item,
    .home-why-item::before,
    .home-why-number,
    .home-why-icon,
    .home-why-arrow,
    .home-why-arrow i,
    .home-why-heading span,
    .home-why-hint svg {
        transition-duration: .01ms !important;
        animation: none !important;
    }
    .home-why-item:hover { transform: none; }
}

/* ======================== Why-Section-End =========================== */