/*
 * Baraka Rewards page — Figma 10_Rewards_Desktop (1:11735, 1440 wide, 1240 content)
 * and 10_Rewards_Mobile (8:13548, 375 wide, 335 content). Values from Figma's
 * design context. Weights carry !important: the site's legacy custom CSS forces
 * "h1–h6, p, a { font-weight: inherit !important }".
 */

.bh-rw { background: #fff; }

/* ---------------------------------------------------------------- hero (1:12017) */
.bh-rw-hero { position: relative; height: 560px; overflow: hidden; background: var(--bh-walnut); color: #fff; }
.bh-rw-hero__img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.bh-rw-hero__img--default { object-position: center 46%; } /* The design's own photo: the band 46% down it. */
.bh-rw-hero__shade { position: absolute; inset: 0; background: linear-gradient(to right, rgba(48, 35, 28, .9) 0%, rgba(48, 35, 28, .66) 52%, rgba(48, 35, 28, .2) 100%); }
[dir="rtl"] .bh-rw-hero__shade { background: linear-gradient(to left, rgba(48, 35, 28, .9) 0%, rgba(48, 35, 28, .66) 52%, rgba(48, 35, 28, .2) 100%); }
.bh-rw-hero__body { position: absolute; inset: 150px 0 auto; max-width: calc(var(--bh-wrap) + 2 * var(--bh-gutter)); margin-inline: auto; padding-inline: var(--bh-gutter); }
.bh-rw-hero__kicker { font-size: 11.5px; font-weight: 400 !important; letter-spacing: 2.07px; line-height: 16.1px; text-transform: uppercase; color: #e2cdbe; }
.bh .bh-rw-hero__title { margin-top: 14px; font-size: 56px; font-weight: 500 !important; line-height: 58.24px; letter-spacing: -1.12px; color: #fff; }
.bh .bh-rw-hero__text { max-width: 470px; margin-top: 16px; font-size: 17.5px; font-weight: 300 !important; line-height: 28px; color: #eadcd2; }
.bh-rw-hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px !important; }

.bh .bh-rw-btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding-inline: 32px; border-radius: 999px; font-size: 13px; font-weight: 500 !important; letter-spacing: 1.3px; text-transform: uppercase; white-space: nowrap; }
.bh .bh-rw-btn--light { background: #fff; color: var(--bh-coffee); }
.bh .bh-rw-btn--light:hover { background: var(--bh-pill); color: var(--bh-walnut); }
.bh .bh-rw-btn--ghost { padding-inline: 30px; border: 1px solid #a8968c; color: #fff; }
.bh .bh-rw-btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ------------------------------------------------------- sections (88 top, 1240) */
.bh-rw-sec { max-width: calc(var(--bh-wrap) + 2 * var(--bh-gutter)); margin-inline: auto; padding: 88px var(--bh-gutter) 0; }
.bh-rw-sec .bh-kicker { font-weight: 400 !important; }
.bh-rw-sec .bh-title { margin-bottom: 34px; }
.bh-rw-card { padding: 28px 26px; border: 1px solid var(--bh-line); border-radius: 18px; background: #fff; }
.bh-rw-card--cream { background: var(--bh-cream); }
.bh .bh-rw-card h3 { font-size: 18px; font-weight: 500 !important; line-height: 28.8px; color: var(--bh-ink); }
.bh .bh-rw-card p { font-size: 15px; font-weight: 300 !important; line-height: 24.75px; color: var(--bh-desc); }

/* How it works (1:11742): 3 × 400, 20 gap, radius 16, badge 38. */
.bh-rw-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bh-rw-steps .bh-rw-card { min-height: 196px; border-radius: 16px; }
.bh-rw-num { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 999px; background: var(--bh-pill); font-size: 14px; font-weight: 500 !important; color: var(--bh-coffee); }
.bh .bh-rw-steps h3 { margin-bottom: 10px; font-size: 19px; line-height: normal; }

/* Tiers (1:11773): 3 × 400, min-height 318, radius 18. */
.bh-rw-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bh-rw-tier { display: flex; flex-direction: column; gap: 12px; min-height: 318px; }
.bh .bh-rw-tier__name { display: flex; align-items: center; gap: 10px; font-size: 24px; line-height: normal; }
.bh-rw-tier__name span { flex: none; width: 9px; height: 9px; border-radius: 999px; background: currentColor; }
.bh .bh-rw-tier--member .bh-rw-tier__name { color: #5a7a63; }
.bh .bh-rw-tier--insider .bh-rw-tier__name { color: #775c50; }
.bh .bh-rw-tier--curator .bh-rw-tier__name { color: #7a5a94; }
.bh .bh-rw-tier__from { font-size: 14.5px; line-height: normal; color: var(--bh-desc); }
.bh .bh-rw-tier__rate { padding-bottom: 14px; border-bottom: 1px solid var(--bh-line); font-size: 14.5px; font-weight: 400 !important; line-height: normal; color: var(--bh-ink); }

.bh-rw-list { display: flex; flex-direction: column; gap: 9px; }
.bh-rw-list li { position: relative; padding-inline-start: 18px; font-size: 14.5px; font-weight: 300 !important; line-height: 21.75px; color: var(--bh-body); }
.bh-rw-list li::before { content: "·"; position: absolute; inset-inline-start: 2px; color: var(--bh-khaki); }

/* Redeeming points (1:11845): 2 × 610, min-height 300. */
.bh-rw-redeem { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bh-rw-redeem > .bh-rw-card { min-height: 300px; }
.bh .bh-rw-redeem h3 { margin-bottom: 14px; }
.bh-rw-redeem .bh-rw-list { gap: 10px; }
.bh-rw-redeem .bh-rw-list li { font-size: 15px; line-height: 24px; }
.bh-rw-example { display: flex; flex-direction: column; }
.bh .bh-rw-example > p:not(.bh-rw-example__sum) { line-height: 27px; color: var(--bh-body); }
.bh .bh-rw-example__sum { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--bh-line); }
.bh .bh-rw-example__sum strong { font-size: 30px; font-weight: 500 !important; color: var(--bh-coffee); }

/* Closing band (1:11885): 56 top, radius 22, 52 padding. */
.bh-rw-sec--cta { padding-top: 56px; padding-bottom: 88px; }
.bh-rw-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 52px; border-radius: 22px; background: var(--bh-walnut); color: #fff; }
.bh .bh-rw-cta__kicker { font-size: 11.5px; font-weight: 400 !important; letter-spacing: 2.07px; text-transform: uppercase; color: var(--bh-khaki); }
.bh .bh-rw-cta__title { margin-top: 10px; font-size: 34px; font-weight: 500 !important; line-height: 1.2; letter-spacing: -.34px; color: #fff; }
.bh .bh-rw-cta__text { margin-top: 10px; font-size: 15.5px; font-weight: 300 !important; line-height: 24.8px; color: #e2cdbe; }
.bh .bh-rw-cta .bh-rw-btn { height: 56px; padding-inline: 34px; font-weight: 400 !important; }

@media (max-width: 1080px) {
	.bh-rw-steps, .bh-rw-tiers { grid-template-columns: 1fr; }
	.bh-rw-tier { min-height: 0; }
	.bh-rw-redeem { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------- mobile (8:13548, 375) */
@media (max-width: 780px) {
	.bh-rw { --bh-gutter: 20px; }
	.bh-rw-hero { height: 520px; }
	.bh-rw-hero__shade, [dir="rtl"] .bh-rw-hero__shade { background: linear-gradient(to top, rgba(48, 35, 28, .92) 18%, rgba(48, 35, 28, .6) 60%, rgba(48, 35, 28, .26) 100%); }
	.bh-rw-hero__body { inset: auto 0 40px; }
	.bh .bh-rw-hero__title { font-size: 38px; line-height: 39.52px; letter-spacing: -.76px; }
	.bh .bh-rw-hero__text { font-size: 16px; line-height: 25.6px; }
	.bh-rw-hero__btns { margin-top: 26px !important; }

	.bh-rw-sec { padding-top: 48px; }
	.bh .bh-rw-sec .bh-title { margin-top: 12px; margin-bottom: 22px; font-size: 30px; line-height: 33px; letter-spacing: -.3px; }
	.bh-rw-card { padding: 22px 20px; }
	.bh-rw-steps { gap: 12px; }
	.bh-rw-steps .bh-rw-card { min-height: 0; }
	.bh-rw-tiers, .bh-rw-redeem { gap: 14px; }
	.bh-rw-redeem > .bh-rw-card { min-height: 0; }
	.bh-rw-redeem > .bh-rw-example { min-height: 280px; }

	.bh-rw-sec--cta { padding-top: 32px; padding-bottom: 48px; }
	.bh-rw-cta { flex-direction: column; align-items: flex-start; gap: 22px; padding: 32px 24px; }
	.bh .bh-rw-cta__title { font-size: 26px; letter-spacing: -.26px; }
}
