/* =========================================================
   SUGAR & STIX — HOW IT WORKS
   Page-specific stylesheet. Loads after styles.css.
   ========================================================= */

.hiw-hero {
    padding: 110px 0;
    background:
        radial-gradient(circle at 78% 18%, rgba(201,149,67,.20), transparent 28%),
        radial-gradient(circle at 12% 85%, rgba(217,133,127,.14), transparent 26%),
        #2b1b14;
    color: #fff;
}

.hiw-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .55fr);
    align-items: center;
    gap: 100px;
}

.hiw-hero-copy {
    max-width: 780px;
}

.hiw-hero h1 {
    margin: 0 0 30px;
    max-width: 760px;
    color: #fff;
    font-size: clamp(3.8rem, 7vw, 6.8rem);
    line-height: .94;
}

.hiw-hero-lede {
    max-width: 600px;
    margin: 0 0 38px;
    color: rgba(255,255,255,.74);
    font-size: 1.08rem;
    line-height: 1.8;
}

.hiw-hero-button {
    min-width: 170px;
    background: var(--blush);
    border-color: var(--blush);
    color: #fff;
}

.hiw-hero-button:hover {
    background: #e3938d;
    border-color: #e3938d;
}

.hiw-hero-card {
    padding: 36px;
    border-radius: 28px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
}

.hiw-hero-card > span,
.hiw-weekend-box > span {
    display: block;
    margin-bottom: 12px;
    color: var(--gold-soft);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.hiw-hero-card strong {
    display: block;
    margin-bottom: 16px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.65rem;
    line-height: 1.15;
}

.hiw-hero-card p {
    margin: 0;
    color: rgba(255,255,255,.68);
}

/* shared heading */
.hiw-heading {
    margin-bottom: 54px;
}

.hiw-heading h2 {
    margin-bottom: 0;
}

.hiw-heading-split {
    display: grid;
    grid-template-columns: 1fr .7fr;
    gap: 70px;
    align-items: end;
}

.hiw-heading-split > p {
    margin: 0 0 6px;
    max-width: 500px;
    justify-self: end;
    color: var(--espresso-soft);
}

/* steps */
.hiw-flow {
    padding: 120px 0;
    background: #fffaf4;
}

.hiw-flow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.hiw-flow-grid article {
    min-height: 270px;
    padding: 38px 34px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(53,35,24,.07);
    box-shadow: 0 16px 42px rgba(53,35,24,.065);
}

.hiw-flow-grid article > span {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 48px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--gold);
    font-weight: 800;
}

.hiw-flow-grid h3,
.hiw-option-card h3 {
    margin-bottom: 12px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.55rem;
}

.hiw-flow-grid p,
.hiw-option-card p {
    margin: 0;
    color: var(--espresso-soft);
}

/* fulfillment */
.hiw-options {
    padding: 120px 0;
    background: #eddbc6;
}

.hiw-options-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.hiw-option-card {
    padding: 34px;
    border-radius: 26px;
    background: rgba(255,250,244,.92);
    border: 1px solid rgba(53,35,24,.07);
}

.hiw-option-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 36px;
    border-radius: 50%;
    background: var(--espresso);
    color: var(--gold-soft);
    font-weight: 800;
}

/* limited availability */
.hiw-limited {
    padding: 112px 0;
    background: #70483d;
    color: #fff;
}

.hiw-limited-grid {
    display: grid;
    grid-template-columns: 1.1fr .55fr;
    gap: 90px;
    align-items: center;
}

.hiw-limited h2 {
    margin-bottom: 20px;
    color: #fff;
}

.hiw-limited-grid > div:first-child > p:not(.eyebrow) {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.76);
    line-height: 1.75;
}

.hiw-weekend-box {
    padding: 34px;
    border-radius: 26px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
}

.hiw-weekend-box strong {
    display: block;
    margin-bottom: 8px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.8rem;
}

.hiw-weekend-box p {
    margin: 0 0 26px;
    color: rgba(255,255,255,.72);
}

.hiw-weekend-box a {
    display: inline-block;
    color: #fff;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,.38);
    padding-bottom: 3px;
}

.hiw-weekend-box a b {
    margin-left: 5px;
}

/* larger order */
.hiw-large {
    padding: 108px 0;
    background: #fff;
}

.hiw-large-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 70px;
    align-items: center;
    padding: 58px 62px;
    border-radius: 32px;
    background:
        radial-gradient(circle at 90% 15%, rgba(201,149,67,.12), transparent 25%),
        linear-gradient(120deg, #fbf3e8 0%, #f3d8d4 100%);
}

.hiw-large-card h2 {
    margin-bottom: 16px;
}

.hiw-large-card p:not(.eyebrow) {
    max-width: 680px;
    margin: 0;
    color: var(--espresso-soft);
}

/* FAQ */
.hiw-faq {
    padding: 118px 0;
    background: #f3e7d8;
}

.hiw-faq-grid {
    display: grid;
    grid-template-columns: .58fr 1fr;
    gap: 90px;
    align-items: start;
}

.hiw-faq-intro h2 {
    margin-bottom: 0;
}

.hiw-faq-list {
    display: grid;
    gap: 16px;
}

.hiw-faq details {
    overflow: hidden;
    border-radius: 18px;
    background: #fffaf4;
    border: 1px solid rgba(53,35,24,.08);
}

.hiw-faq summary {
    position: relative;
    cursor: pointer;
    list-style: none;
    padding: 24px 62px 24px 26px;
    font-weight: 700;
}

.hiw-faq summary::-webkit-details-marker {
    display: none;
}

.hiw-faq summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 26px;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 1.45rem;
    font-weight: 400;
}

.hiw-faq details[open] summary::after {
    content: "–";
}

.hiw-faq details p {
    margin: 0;
    padding: 0 26px 26px;
    color: var(--espresso-soft);
}

/* Final section deliberately dark to create separation from light footer brand band */
.hiw-final {
    padding: 100px 0;
    background: #c77872;
    color: #fff;
    text-align: center;
}

.hiw-final h2 {
    margin-bottom: 30px;
    color: #fff;
}

.hiw-final .eyebrow.light {
    color: #fff4db;
}

/* responsive */
@media (max-width: 920px) {
    .hiw-hero-grid,
    .hiw-heading-split,
    .hiw-limited-grid,
    .hiw-faq-grid {
        grid-template-columns: 1fr;
    }

    .hiw-hero-grid {
        gap: 54px;
    }

    .hiw-hero-card {
        max-width: 520px;
    }

    .hiw-heading-split {
        gap: 14px;
    }

    .hiw-heading-split > p {
        justify-self: start;
    }

    .hiw-flow-grid,
    .hiw-options-grid {
        grid-template-columns: 1fr;
    }

    .hiw-flow-grid article {
        min-height: 0;
    }

    .hiw-limited-grid,
    .hiw-faq-grid {
        gap: 46px;
    }

    .hiw-large-card {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hiw-large-card .button {
        justify-self: start;
    }
}

@media (max-width: 560px) {
    .hiw-hero,
    .hiw-flow,
    .hiw-options,
    .hiw-limited,
    .hiw-faq {
        padding: 78px 0;
    }

    .hiw-large,
    .hiw-final {
        padding: 72px 0;
    }

    .hiw-hero h1 {
        font-size: clamp(3rem, 14vw, 4.6rem);
    }

    .hiw-heading {
        margin-bottom: 38px;
    }

    .hiw-flow-grid article,
    .hiw-option-card {
        padding: 30px 26px;
    }

    .hiw-flow-grid article > span {
        margin-bottom: 30px;
    }

    .hiw-large-card {
        padding: 40px 26px;
        border-radius: 26px;
    }

    .hiw-large-card .button {
        width: 100%;
    }

    .hiw-faq summary {
        padding: 22px 54px 22px 22px;
    }

    .hiw-faq summary::after {
        right: 22px;
    }

    .hiw-faq details p {
        padding: 0 22px 24px;
    }
}
