/* ========================================================
   FAQ — PREMIUM SIDE DRAWER
   ======================================================== */

.faq-section {
    position: relative;
    background: #d8c9b6;
    overflow: hidden;
}


/* ========================================================
   FAQ STRIP
   ======================================================== */

.faq-strip {
    width: 100%;
    background: transparent;
    color: var(--ink);
}

.faq-strip-inner {
    width: 100%;
    max-width: 1450px;

    margin: auto;
    padding: 52px 5%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 60px;
}


/* ========================================================
   FAQ STRIP COPY
   ======================================================== */

.faq-strip-copy {
    flex: 1;
}

.faq-strip-eyebrow {
    display: block;

    margin-bottom: 8px;

    color: rgba(41,42,38,.58);

    font-size: 9px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 2.8px;
}

.faq-strip-copy h2 {
    max-width: 900px;

    font-family: var(--serif);

    font-size: clamp(30px,3vw,48px);
    font-weight: 500;

    line-height: 1.15;
    letter-spacing: -1.2px;
}


/* ========================================================
   EXPLORE FAQ — CLEAN TEXT LINK
   ======================================================== */

.faq-strip-action {
    position: relative;

    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;

    gap: 20px;

    width: auto;
    min-width: 0;
    min-height: 0;

    margin: 0;
    padding: 0 0 7px;

    /* Remove native button/link appearance */
    border: 0 !important;
    border-radius: 0 !important;

    outline: 0;

    background: transparent !important;
    background-color: transparent !important;

    box-shadow: none !important;

    appearance: none;
    -webkit-appearance: none;

    color: var(--ink);

    font-family: var(--sans);
    font-size: 9px;
    font-weight: 600;

    line-height: 1;

    text-transform: uppercase;
    letter-spacing: 1.8px;

    text-decoration: none;

    cursor: pointer;
}


/* Text */

.faq-strip-action-text {
    display: inline-block;
}


/* ========================================================
   EXPLORE FAQ — ANIMATED LINE
   ======================================================== */

.faq-strip-action::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 1px;

    background: var(--champagne);

    transform: scaleX(0);
    transform-origin: right;

    transition:
        transform .38s cubic-bezier(.77,0,.18,1);
}


/* ========================================================
   EXPLORE FAQ — ARROW
   ======================================================== */

.faq-strip-arrow {
    display: inline-block;

    font-size: 24px;
    font-weight: 400;

    line-height: 1;

    transition:
        transform .3s ease;
}


/* ========================================================
   EXPLORE FAQ — HOVER
   ONLY LINE + ARROW
   ======================================================== */

.faq-strip-action:hover {
    color: var(--ink);

    border: 0 !important;

    background: transparent !important;

    box-shadow: none !important;
}

.faq-strip-action:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.faq-strip-action:hover .faq-strip-arrow {
    transform: translateX(6px);
}


/* ========================================================
   EXPLORE FAQ — FOCUS
   ======================================================== */

.faq-strip-action:focus {
    outline: none;

    border: 0 !important;

    background: transparent !important;

    box-shadow: none !important;
}

.faq-strip-action:focus-visible {
    outline: none;

    border: 0 !important;

    background: transparent !important;

    box-shadow: none !important;
}

.faq-strip-action:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}


/* ========================================================
   DRAWER OVERLAY
   ======================================================== */

.faq-drawer {
    position: fixed;

    inset: 0;

    z-index: 2400;

    visibility: hidden;
    pointer-events: none;
}

.faq-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.faq-drawer-backdrop {
    position: absolute;

    inset: 0;

    background: rgba(31,30,27,.42);

    opacity: 0;

    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);

    transition:
        opacity .45s ease,
        backdrop-filter .45s ease,
        -webkit-backdrop-filter .45s ease;
}

.faq-drawer.is-open .faq-drawer-backdrop {
    opacity: 1;

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}


/* ========================================================
   DRAWER PANEL
   ======================================================== */

.faq-drawer-panel {
    position: absolute;

    top: 0;
    right: 0;

    width: min(82vw, 1180px);
    height: 100%;

    background: var(--cream);

    box-shadow:
        -25px 0 70px rgba(30,28,25,.16);

    transform: translateX(102%);

    transition:
        transform .7s cubic-bezier(.16,1,.3,1);

    display: flex;
    flex-direction: column;
}

.faq-drawer.is-open .faq-drawer-panel {
    transform: translateX(0);
}


/* ========================================================
   DRAWER HEADER
   ======================================================== */

.faq-drawer-header {
    flex-shrink: 0;

    padding: 34px 5% 28px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 40px;

    border-bottom: 1px solid var(--line);
}

.faq-drawer-eyebrow {
    margin-bottom: 9px;

    color: var(--champagne);

    font-size: 8px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 2.6px;
}

.faq-drawer-header h3 {
    max-width: 760px;

    font-family: var(--serif);

    font-size: clamp(34px,3.6vw,58px);
    font-weight: 500;

    line-height: 1.05;
    letter-spacing: -1.6px;
}

.faq-drawer-header h3 em {
    display: block;

    color: var(--champagne);

    font-weight: 500;
}


/* ========================================================
   DRAWER CLOSE
   ======================================================== */

.faq-drawer-close {
    flex-shrink: 0;

    display: flex;
    align-items: center;

    gap: 12px;

    margin: 0;
    padding: 0;

    border: 0;

    background: transparent;

    color: var(--ink);

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;
}

.faq-drawer-close span:first-child {
    font-size: 8px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 1.6px;
}

.faq-drawer-close span:last-child {
    font-size: 31px;

    line-height: 1;

    transition:
        transform .3s ease;
}

.faq-drawer-close:hover span:last-child {
    transform: rotate(90deg);
}


/* ========================================================
   DRAWER SCROLL AREA
   ======================================================== */

.faq-drawer-scroll {
    flex: 1;

    overflow-y: auto;

    padding: 24px 5% 60px;
}


/* ========================================================
   FAQ ACCORDION
   ======================================================== */

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-question {
    width: 100%;
    min-height: 88px;

    padding: 0;

    display: grid;

    grid-template-columns:
        70px 1fr 46px;

    gap: 24px;

    align-items: center;

    border: 0;

    background: transparent;

    color: var(--ink);

    cursor: pointer;

    text-align: left;

    appearance: none;
    -webkit-appearance: none;
}


/* ========================================================
   FAQ NUMBER
   ======================================================== */

.faq-number {
    color: var(--champagne);

    font-family: var(--serif);

    font-size: 17px;
}


/* ========================================================
   FAQ QUESTION TEXT
   ======================================================== */

.faq-question-text {
    font-family: var(--serif);

    font-size: clamp(21px,1.8vw,29px);

    line-height: 1.25;
}


/* ========================================================
   FAQ QUESTION ICON
   ======================================================== */

.faq-question-icon {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    justify-self: end;

    border:
        1px solid rgba(41,42,38,.18);

    border-radius: 50%;

    font-family: var(--serif);

    font-size: 21px;

    line-height: 1;

    transition:
        transform .35s ease,
        background .35s ease,
        color .35s ease;
}

.faq-question:hover .faq-question-icon {
    background: var(--ink);

    color: white;
}

.faq-question[aria-expanded="true"] .faq-question-icon {
    transform: rotate(45deg);
}


/* ========================================================
   FAQ ANSWERS
   ======================================================== */

.faq-answer {
    height: 0;

    overflow: hidden;

    opacity: 0;

    transition:
        height .5s cubic-bezier(.22,.61,.36,1),
        opacity .35s ease;
}

.faq-answer.is-open {
    opacity: 1;
}

.faq-answer-inner {
    padding:
        0 70px
        32px 94px;
}

.faq-answer p {
    max-width: 820px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.9;
}


/* ========================================================
   FAQ CONTACT CTA
   ======================================================== */

.faq-contact {
    margin-top: 56px;

    padding-top: 30px;

    border-top: 1px solid var(--line);

    display: flex;

    justify-content: space-between;
    align-items: flex-end;

    gap: 40px;
}

.faq-contact > div > span {
    display: block;

    margin-bottom: 6px;

    color: var(--champagne);

    font-size: 8px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 2px;
}

.faq-contact p {
    max-width: 560px;

    font-family: var(--serif);

    font-size: 24px;

    line-height: 1.35;
}

.faq-contact-link {
    flex-shrink: 0;
}


/* ========================================================
   TABLET
   ======================================================== */

@media (max-width: 900px) {

    .faq-drawer-panel {
        width: 92vw;
    }

}


/* ========================================================
   SMALL TABLET
   ======================================================== */

@media (max-width: 780px) {

    .faq-strip-inner {
        align-items: flex-start;

        flex-direction: column;

        gap: 30px;
    }

    .faq-strip-action {
        align-self: flex-end;
    }

    .faq-question {
        grid-template-columns:
            42px 1fr 40px;

        gap: 14px;
    }

    .faq-answer-inner {
        padding-left: 56px;
        padding-right: 20px;
    }

    .faq-contact {
        align-items: flex-start;

        flex-direction: column;
    }

}


/* ========================================================
   MOBILE
   ======================================================== */

@media (max-width: 620px) {

    .faq-strip-inner {
        padding: 42px 6%;
    }

    .faq-strip-action {
        align-self: flex-start;
    }

    .faq-drawer-panel {
        width: 100%;
    }

    .faq-drawer-header {
        padding: 24px 6% 22px;
    }

    .faq-drawer-header h3 {
        font-size:
            clamp(34px,10vw,48px);
    }

    .faq-drawer-close span:first-child {
        display: none;
    }

    .faq-drawer-scroll {
        padding: 18px 6% 48px;
    }

    .faq-question {
        min-height: 78px;
    }

    .faq-question-text {
        font-size: 20px;
    }

    .faq-answer-inner {
        padding:
            0 8px
            26px 56px;
    }

    .faq-answer p {
        font-size: 14px;
    }

}


/* ========================================================
   REDUCED MOTION
   ======================================================== */

@media (prefers-reduced-motion: reduce) {

    .faq-strip-action::after,
    .faq-strip-arrow,
    .faq-drawer-backdrop,
    .faq-drawer-panel,
    .faq-drawer-close span,
    .faq-answer,
    .faq-question-icon {
        transition: none !important;
    }

}