/*
 * 247Invites 2027 redesign: homepage.
 * Ported from the Angular app's homepage.component.scss (invites-home__* → rd-home__*).
 * Uses the tokens defined in redesign-2027.css.
 */
.rd-home__sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.rd-home {
  --rd-blush: #f6e7e3;
  color: var(--rd-ink);
  background: var(--rd-ivory);
  font-family: var(--rd-sans);
  font-size: 15px;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
.rd-home h1, .rd-home h2, .rd-home h3, .rd-home p, .rd-home ol, .rd-home ul, .rd-home figure, .rd-home blockquote { margin: 0; }
.rd-home ol, .rd-home ul { padding: 0; list-style: none; }
.rd-home a, .rd-home a:hover { text-decoration: none; }
.rd-home button { cursor: pointer; }
.rd-home svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- shared ---------- */
.rd-home__wrap { width: min(100% - 48px, 1400px); margin-inline: auto; }
.rd-home__center { margin-top: 44px; text-align: center; }
.rd-home .rd-home__kicker { margin-bottom: 10px; color: var(--rd-gold); font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.rd-home .rd-home__title { color: var(--rd-plum-dark); font-family: var(--rd-serif); font-size: clamp(30px, 3vw, 42px); font-weight: 400; letter-spacing: -.01em; line-height: 1.14; text-transform: none; }
.rd-home__title em { color: var(--rd-gold); font-style: italic; }
.rd-home__lead { color: var(--rd-muted); font-size: 16px; line-height: 1.65; }
.rd-home__head { display: flex; flex-direction: column; align-items: center; gap: 4px; max-width: 640px; margin: 0 auto 48px; text-align: center; }
.rd-home__head .rd-home__lead { margin-top: 10px; }
.rd-home__ornament { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; color: var(--rd-gold); }
.rd-home__ornament i { width: 80px; height: 1px; background: linear-gradient(90deg, transparent, var(--rd-gold)); }
.rd-home__ornament i:last-child { background: linear-gradient(90deg, var(--rd-gold), transparent); }
.rd-home .rd-home__ornament svg { width: 22px; height: 22px; }

.rd-home__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 52px; padding: 0 34px; border: 1px solid transparent; border-radius: 99px;
  font-family: var(--rd-serif); font-size: 17px; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.rd-home .rd-home__btn svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.rd-home__btn:hover { transform: translateY(-2px); }
.rd-home__btn--primary, .rd-home__btn--primary:hover { color: #fff; }
.rd-home__btn--primary { background: var(--rd-plum); box-shadow: 0 12px 26px rgba(100, 24, 59, .22); }
.rd-home__btn--primary:hover { background: var(--rd-plum-dark); }
.rd-home__btn--outline { color: var(--rd-plum); border-color: var(--rd-plum); background: transparent; }
.rd-home__btn--outline:hover { color: #fff; background: var(--rd-plum); }
.rd-home__btn--light, .rd-home__btn--light:hover { color: var(--rd-plum); }
.rd-home__btn--light { background: var(--rd-ivory); }
.rd-home__btn--light:hover { box-shadow: 0 12px 26px rgba(0, 0, 0, .2); }
.rd-home__link { display: inline-flex; align-items: center; gap: 10px; padding: 0; color: var(--rd-plum); border: 0; background: none; font-family: var(--rd-serif); font-size: 16px; white-space: nowrap; }
.rd-home__link:hover { color: var(--rd-gold); }

/* ---------- hero ---------- */
.rd-home__hero { position: relative; display: flex; min-height: clamp(560px, 36vw, 720px); background: #fbf3ea; }
.rd-home__hero-media {
  position: absolute; top: 0; right: 0; bottom: 0;
  aspect-ratio: 1672 / 941;
  container-type: inline-size;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%);
  mask-image: linear-gradient(90deg, transparent 0, #000 30%);
}
.rd-home__hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* sits over the blank card in the hero photo; cqw keeps it aligned at every size */
.rd-home__hero-card {
  position: absolute; left: 69.7%; top: 25%; width: 18.7%; height: 37.5%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #e9c98b; text-align: center;
}
.rd-home__hero-card small { max-width: 80%; font-size: .82cqw; letter-spacing: .18em; line-height: 1.6; text-transform: uppercase; }
.rd-home__hero-card strong { margin: .6cqw 0 .8cqw; font-family: var(--rd-script); font-size: 3.85cqw; font-weight: 400; line-height: .95; }
.rd-home__hero-date { display: flex; align-items: center; gap: .8cqw; margin-top: .8cqw; font-size: .86cqw; letter-spacing: .2em; }
.rd-home__hero-date b { padding: 0 .8cqw; border-inline: 1px solid rgba(233, 201, 139, .5); font-family: var(--rd-serif); font-size: 1.8cqw; font-weight: 400; letter-spacing: 0; }
.rd-home__hero-inner { position: relative; display: flex; align-items: center; }
.rd-home__hero-copy { width: min(52%, 640px); padding: 48px 0; text-align: center; background: radial-gradient(closest-side, rgba(251, 243, 234, .9) 60%, rgba(251, 243, 234, 0)); }
.rd-home .rd-home__hero h1 { color: var(--rd-plum-dark); font-family: var(--rd-serif); font-size: clamp(44px, 4.6vw, 70px); font-weight: 400; letter-spacing: -.025em; line-height: 1.03; text-transform: none; }
.rd-home__hero h1 em { color: var(--rd-gold); }
.rd-home__hero .rd-home__ornament { margin: 22px 0 18px; }
.rd-home__hero .rd-home__lead { max-width: 460px; margin: 0 auto 30px; color: #5e5457; font-size: 18px; }
.rd-home .rd-home__benefits { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; margin-top: 34px; color: #6d6361; font-size: 13px; }
.rd-home__benefits li { display: flex; align-items: center; gap: 9px; padding: 0 20px; border-left: 1px solid var(--rd-line); }
.rd-home__benefits li:first-child { border-left: 0; }
.rd-home .rd-home__benefits svg { width: 22px; height: 22px; color: var(--rd-gold); }

/* ---------- popular occasions + caricature videos ---------- */
.rd-home__featured { padding: 26px 0 96px; }
.rd-home__tabs { display: flex; justify-content: center; gap: 12px; padding: 0 24px 48px; overflow-x: auto; scrollbar-width: none; }
.rd-home__tabs::-webkit-scrollbar { display: none; }
.rd-home__tabs a {
  flex: none; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 22px 0 6px;
  color: #4f3943; border: 1px solid #ddd0c6; border-radius: 99px; background: #fffaf5;
  font-family: var(--rd-serif); font-size: 15px; transition: background .2s, color .2s, border-color .2s;
}
.rd-home__tabs a.is-more { padding-left: 22px; color: var(--rd-plum); }
.rd-home__tabs a:hover { color: #fff; border-color: var(--rd-plum); background: var(--rd-plum); }
.rd-home__tab-img { display: block; width: 32px; height: 32px; overflow: hidden; border-radius: 50%; background: var(--rd-cream); }
.rd-home__tab-img img { width: 100%; height: 100%; object-fit: cover; }
.rd-home__row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.rd-home__row-head .rd-home__lead { max-width: 620px; margin-top: 10px; }
.rd-home__design-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.rd-home__design {
  display: block; padding: 10px; color: var(--rd-ink); border: 1px solid var(--rd-line); border-radius: 14px; background: #fff;
  box-shadow: 0 10px 28px rgba(71, 42, 42, .07); transition: transform .25s, box-shadow .25s;
}
.rd-home__design:hover { color: var(--rd-ink); transform: translateY(-6px); box-shadow: 0 18px 38px rgba(71, 42, 42, .14); }
.rd-home__design:hover img { transform: scale(1.04); }
.rd-home__design-art { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 9px; background: var(--rd-cream); }
.rd-home__design-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s; }
.rd-home__design-type, .rd-home__design-time {
  position: absolute; bottom: 10px; display: flex; align-items: center; gap: 6px; padding: 5px 11px;
  border-radius: 99px; font-size: 10.5px; font-weight: 600; letter-spacing: .08em;
}
.rd-home__design-type { left: 10px; color: var(--rd-plum); background: rgba(255, 255, 255, .93); text-transform: uppercase; }
.rd-home__design-time { right: 10px; color: #fff; background: rgba(47, 10, 28, .7); }
.rd-home .rd-home__design-type svg { width: 11px; height: 11px; fill: currentColor; stroke: none; }
.rd-home .rd-home__design-time svg { width: 12px; height: 12px; stroke-width: 2; }
.rd-home__design-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 6px 6px; }
.rd-home .rd-home__design-meta h3 { color: var(--rd-ink); font-family: var(--rd-serif); font-size: 16px; font-weight: 400; line-height: 1.3; }
.rd-home__design-meta small { display: block; margin-top: 3px; color: var(--rd-muted); font-size: 13px; }
.rd-home__design-meta > span { flex: none; color: var(--rd-plum); font-size: 14px; font-weight: 600; }

.rd-home__play {
  position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 56px; height: 56px; color: var(--rd-plum);
  border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transform: translate(-50%, -50%);
}
.rd-home .rd-home__play svg { width: 20px; height: 20px; margin-left: 3px; fill: currentColor; stroke: none; }

/* ---------- browse categories ---------- */
.rd-home__occasions { padding: 96px 0; background: var(--rd-cream); }
.rd-home__occasion-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px; }
.rd-home__occasion {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 10px 18px;
  border: 1px solid var(--rd-line); border-radius: 14px; background: #fffaf4; text-align: center;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.rd-home__occasion b { margin-top: 8px; color: var(--rd-plum-dark); font-family: var(--rd-serif); font-size: 15px; font-weight: 400; line-height: 1.2; }
.rd-home__occasion:hover { border-color: var(--rd-gold-soft); transform: translateY(-4px); box-shadow: 0 12px 26px rgba(71, 42, 42, .08); }
.rd-home__occasion.is-featured { border-color: var(--rd-plum); background: var(--rd-plum); }
.rd-home__occasion.is-featured b { color: #fff; }
.rd-home__occasion-icon {
  display: block; width: 72px; height: 72px; overflow: hidden; padding: 3px;
  border: 1px solid #ead7bf; border-radius: 50%; background: #fff;
}
.rd-home__occasion-icon img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.is-featured .rd-home__occasion-icon { border-color: rgba(216, 179, 114, .6); background: var(--rd-plum-dark); }

/* ---------- video or card ---------- */
.rd-home__style { position: relative; padding: 100px 0; color: #f3e6dc; background: var(--rd-plum-deep); }
.rd-home__style::before {
  position: absolute; inset: 0; content: '';
  background: radial-gradient(circle at 20% 50%, rgba(164, 118, 67, .22), transparent 45%), radial-gradient(circle at 90% 10%, rgba(100, 24, 59, .85), transparent 50%);
}
.rd-home__style-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.rd-home__style .rd-home__kicker { color: var(--rd-gold-soft); }
.rd-home__style .rd-home__title { color: #fff; }
.rd-home__style .rd-home__title em { color: var(--rd-gold-soft); }
.rd-home__style .rd-home__lead { color: #d9c5c9; }
.rd-home__style-intro { margin-top: 14px; }
.rd-home__devices { position: relative; height: 520px; }
.rd-home__phone {
  position: absolute; z-index: 2; left: 10%; top: 0; width: 250px; height: 510px; padding: 12px;
  border-radius: 38px; background: #140409; box-shadow: 0 30px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(216, 179, 114, .35);
  transition: transform .5s, z-index 0s .25s;
}
.rd-home__phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 28px; }
.rd-home__phone-screen img, .rd-home__paper img { width: 100%; height: 100%; object-fit: cover; }
.rd-home__phone .rd-home__play { top: 72%; width: 64px; height: 64px; }
.rd-home__phone-names {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 50% 22% 0;
  color: #e9c98b; font-family: var(--rd-serif); font-size: 9px; letter-spacing: .2em; line-height: 1.6; text-align: center; text-transform: uppercase;
}
.rd-home__phone-names i, .rd-home__paper-names i { font-family: var(--rd-script); font-style: normal; letter-spacing: 0; line-height: 1; text-transform: none; }
.rd-home__phone-names i { margin-top: 8px; font-size: 34px; }
.rd-home__paper {
  position: absolute; z-index: 1; left: 46%; top: 60px; width: 270px; height: 380px; overflow: hidden;
  border: 6px solid #fff8ee; border-radius: 10px; box-shadow: 0 26px 50px rgba(0, 0, 0, .4); transform: rotate(7deg);
  transition: transform .5s, z-index 0s .25s;
}
.rd-home__paper-names {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 20%;
  color: var(--rd-plum-dark); font-family: var(--rd-serif); font-size: 9px; letter-spacing: .2em; text-align: center; text-transform: uppercase;
}
.rd-home__paper-names i { margin-bottom: 8px; font-size: 30px; }
[data-rd-style="card"] .rd-home__phone { z-index: 1; transform: scale(.92) translateX(-20px); }
[data-rd-style="card"] .rd-home__paper { z-index: 3; transform: rotate(3deg) scale(1.06); }
.rd-home__switch { display: inline-flex; margin: 26px 0 24px; padding: 5px; border: 1px solid rgba(216, 179, 114, .4); border-radius: 99px; }
.rd-home__switch button {
  padding: 9px 30px; color: #f3e6dc; border: 0; border-radius: 99px; background: transparent;
  font-family: var(--rd-sans); font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; transition: background .2s, color .2s;
}
.rd-home__switch button.is-active { color: var(--rd-plum-deep); background: var(--rd-gold-soft); }
.rd-home .rd-home__checks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 26px; margin: 26px 0 36px; }
.rd-home__checks li { display: flex; align-items: flex-start; gap: 12px; color: #f3e6dc; font-size: 15px; line-height: 1.4; }
.rd-home .rd-home__checks svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--rd-gold-soft); }

/* ---------- how it works ---------- */
.rd-home__how { padding: 100px 0; }
.rd-home__steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.rd-home__steps::before { position: absolute; top: 58px; left: 18%; right: 18%; content: ''; border-top: 1px dashed #d4bfa6; }
.rd-home__steps li { position: relative; padding: 0 20px; text-align: center; }
.rd-home .rd-home__steps h3 { margin-bottom: 10px; color: var(--rd-plum-dark); font-family: var(--rd-serif); font-size: 23px; font-weight: 400; }
.rd-home .rd-home__steps p { max-width: 290px; margin: auto; color: var(--rd-muted); line-height: 1.6; }
.rd-home__step-icon {
  position: relative; display: grid; place-items: center; width: 116px; height: 116px; margin: 0 auto 26px; color: var(--rd-plum);
  border: 1px solid var(--rd-line); border-radius: 50%; background: #fff; box-shadow: 0 10px 26px rgba(71, 42, 42, .06);
}
.rd-home .rd-home__step-icon svg { width: 40px; height: 40px; stroke-width: 1.2; }
.rd-home__step-icon em {
  position: absolute; top: -4px; right: -4px; display: grid; place-items: center; width: 36px; height: 36px;
  color: var(--rd-gold-soft); border-radius: 50%; background: var(--rd-plum); font-family: var(--rd-serif); font-size: 15px; font-style: normal;
}

/* ---------- custom invitation ---------- */
.rd-home__custom { padding-bottom: 100px; }
.rd-home__custom-box { display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden; border: 1px solid #edd8d1; border-radius: 22px; background: var(--rd-blush); }
.rd-home__custom-copy { padding: 64px 60px; }
.rd-home__custom-copy .rd-home__lead { margin: 14px 0 26px; }
.rd-home .rd-home__custom-steps { margin-bottom: 36px; }
.rd-home__custom-steps li { display: flex; gap: 18px; padding: 15px 0; border-bottom: 1px solid #e7cdc5; }
.rd-home__custom-steps li:last-child { border-bottom: 0; }
.rd-home__custom-steps em { flex: none; width: 30px; color: var(--rd-gold); font-family: var(--rd-serif); font-size: 20px; font-style: normal; }
.rd-home__custom-steps b { display: block; margin-bottom: 3px; color: var(--rd-plum-dark); font-family: var(--rd-serif); font-size: 18px; font-weight: 500; }
.rd-home__custom-steps span { display: block; color: var(--rd-muted); font-size: 14px; line-height: 1.55; }
.rd-home__custom-art { position: relative; min-height: 560px; overflow: hidden; background: linear-gradient(160deg, #8a2a52, var(--rd-plum-deep)); }
.rd-home__custom-art::before { position: absolute; inset: 26px; content: ''; border: 1px solid rgba(216, 179, 114, .35); border-radius: 14px; }
.rd-home__custom-card { position: absolute; top: 50%; overflow: hidden; aspect-ratio: 5 / 7; border: 5px solid #fff8ee; border-radius: 8px; box-shadow: 0 22px 44px rgba(0, 0, 0, .4); }
.rd-home__custom-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rd-home__custom-card--left { left: 7%; margin-top: -30%; width: 40%; transform: rotate(-8deg); }
.rd-home__custom-card--center { z-index: 2; left: 27%; margin-top: -40%; width: 46%; }
.rd-home__custom-card--right { right: 7%; margin-top: -29%; width: 40%; transform: rotate(8deg); }
.rd-home__custom-note {
  position: absolute; z-index: 3; left: 50%; bottom: 8%; display: flex; align-items: center; gap: 14px; width: max-content; padding: 14px 22px;
  border-radius: 12px; background: #fff8ee; box-shadow: 0 14px 30px rgba(0, 0, 0, .25); transform: translateX(-50%);
}
.rd-home .rd-home__custom-note svg { width: 30px; height: 30px; color: var(--rd-gold); }
.rd-home__custom-note b { display: block; color: var(--rd-plum-dark); font-family: var(--rd-serif); font-weight: 500; }
.rd-home__custom-note span { color: var(--rd-muted); font-size: 13px; }

/* ---------- reviews ---------- */
.rd-home__reviews { padding: 96px 0; background: linear-gradient(180deg, var(--rd-blush), var(--rd-ivory)); }
.rd-home__reviews .rd-home__head { margin-bottom: 30px; }
.rd-home__stats { display: flex; justify-content: center; margin-bottom: 50px; }
.rd-home__stats div { padding: 0 48px; text-align: center; border-left: 1px solid #e3cbc2; }
.rd-home__stats div:first-child { border-left: 0; }
.rd-home__stats b { display: block; color: var(--rd-plum); font-family: var(--rd-serif); font-size: 38px; font-weight: 400; }
.rd-home__stats span { color: var(--rd-muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.rd-home__review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rd-home__review { position: relative; display: flex; flex-direction: column; padding: 32px 30px; border: 1px solid #efdcd4; border-radius: 16px; background: #fff; }
.rd-home__review::before { position: absolute; top: 4px; right: 24px; content: '\201C'; color: #f0e0d0; font-family: var(--rd-serif); font-size: 90px; line-height: 1; }
.rd-home .rd-home__review blockquote { flex: 1; margin: 16px 0 24px; color: var(--rd-ink); font-family: var(--rd-serif); font-size: 17px; font-style: italic; line-height: 1.6; }
.rd-home__review figcaption { display: flex; align-items: center; gap: 14px; }
.rd-home__review i { display: grid; place-items: center; width: 44px; height: 44px; color: var(--rd-gold-soft); border-radius: 50%; background: var(--rd-plum); font-family: var(--rd-serif); font-size: 16px; font-style: normal; }
.rd-home__review b { display: block; font-weight: 500; }
.rd-home__stars { color: #c8963e; font-size: 16px; letter-spacing: 3px; }

/* ---------- faq ---------- */
.rd-home__faq { padding: 40px 0 100px; }
.rd-home__faq-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.rd-home__faq-side .rd-home__lead { margin: 16px 0 30px; }
.rd-home__help { display: flex; flex-direction: column; gap: 6px; padding: 26px 28px; color: #fff; border-radius: 16px; background: var(--rd-plum); }
.rd-home__help b { font-family: var(--rd-serif); font-size: 22px; font-weight: 400; }
.rd-home__help > span { margin-bottom: 12px; color: #e6cfd9; font-size: 14px; }
.rd-home__help .rd-home__btn { align-self: flex-start; height: 44px; padding: 0 24px; font-size: 15px; }
.rd-home__qa { border-bottom: 1px solid var(--rd-line); }
.rd-home__qa:first-child { border-top: 1px solid var(--rd-line); }
.rd-home__qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0;
  color: var(--rd-plum-dark); font-family: var(--rd-serif); font-size: 19px; list-style: none; cursor: pointer;
}
.rd-home__qa summary::-webkit-details-marker { display: none; }
.rd-home__qa summary i {
  flex: none; position: relative; width: 30px; height: 30px; color: var(--rd-gold);
  border: 1px solid var(--rd-line); border-radius: 50%; transition: background .2s, border-color .2s, color .2s;
}
.rd-home__qa summary i::before, .rd-home__qa summary i::after { position: absolute; top: 50%; left: 50%; width: 11px; height: 1.5px; content: ''; background: currentColor; transform: translate(-50%, -50%); }
.rd-home__qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.rd-home__qa[open] summary i { color: #fff; border-color: var(--rd-plum); background: var(--rd-plum); }
.rd-home__qa[open] summary i::after { display: none; }
.rd-home__qa-answer { margin-top: -8px; padding: 0 50px 22px 0; color: var(--rd-muted); line-height: 1.7; }
.rd-home__qa-answer p + p { margin-top: 10px; }
.rd-home__qa-answer a { color: var(--rd-plum); text-decoration: underline; }

/* ---------- popular searches ---------- */
.rd-home__searches { padding: 64px 0 80px; border-top: 1px solid var(--rd-line); }
.rd-home .rd-home__searches h2 { margin-bottom: 22px; color: var(--rd-plum-dark); font-family: var(--rd-serif); font-size: 24px; font-weight: 400; text-transform: none; }
.rd-home__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.rd-home__chips a { padding: 8px 16px; color: #5e5457; border: 1px solid var(--rd-line); border-radius: 99px; background: #fff; font-size: 13px; transition: border-color .2s, color .2s; }
.rd-home__chips a:hover, .rd-home__chips a.is-more { color: var(--rd-plum); border-color: var(--rd-plum); }

/* ---------- closing ---------- */
.rd-home__closing { position: relative; padding: 100px 0; text-align: center; background: var(--rd-plum) var(--rd-closing-bg) center / cover; }
.rd-home__closing::before { position: absolute; inset: 0; content: ''; background: rgba(55, 10, 32, .87); }
.rd-home__closing .rd-home__wrap { position: relative; }
.rd-home__closing .rd-home__kicker { color: var(--rd-gold-soft); }
.rd-home .rd-home__closing .rd-home__title { margin: 6px 0 32px; color: #fff; font-size: clamp(32px, 3.4vw, 48px); }
.rd-home__closing .rd-home__title em { color: var(--rd-gold-soft); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .rd-home__occasion-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rd-home__style-inner, .rd-home__faq-inner { gap: 48px; }
  .rd-home__custom-copy { padding: 48px 40px; }
}

@media (max-width: 900px) {
  .rd-home__hero { flex-direction: column; min-height: 0; }
  .rd-home__hero-media {
    position: relative; order: 2; width: 100%; height: auto;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%);
    mask-image: linear-gradient(180deg, transparent 0, #000 22%);
  }
  .rd-home__hero-copy { width: 100%; padding: 44px 0 8px; }
  .rd-home__row-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .rd-home__design-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .rd-home__style-inner { grid-template-columns: 1fr; }
  .rd-home__devices { order: 2; width: min(100%, 460px); margin: 0 auto; }
  .rd-home__custom-box, .rd-home__faq-inner { grid-template-columns: 1fr; }
  .rd-home__custom-art { min-height: 440px; }
  .rd-home__review-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .rd-home__wrap { width: calc(100% - 32px); }
  .rd-home__head { margin-bottom: 32px; }
  .rd-home .rd-home__hero h1 { font-size: 40px; }
  .rd-home__hero .rd-home__lead { font-size: 16px; }
  .rd-home .rd-home__benefits { font-size: 12px; }
  .rd-home__benefits li { padding: 0 12px; }
  .rd-home__featured { padding: 24px 0 64px; }
  .rd-home__tabs { justify-content: flex-start; padding: 0 16px 28px; }
  .rd-home__tabs a { height: 40px; font-size: 14px; }
  .rd-home__design-grid { gap: 12px; }
  .rd-home__design { padding: 6px; }
  .rd-home__design-meta { padding: 10px 4px 4px; }
  .rd-home .rd-home__design-meta h3 { font-size: 14px; }
  .rd-home__design-meta > span, .rd-home__design-time { display: none; }
  .rd-home__play { width: 44px; height: 44px; }
  .rd-home__occasions, .rd-home__style, .rd-home__how, .rd-home__reviews, .rd-home__faq { padding: 64px 0; }
  .rd-home__occasion-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .rd-home__occasion { gap: 2px; padding: 12px 4px; border-radius: 12px; }
  .rd-home__occasion b { font-size: 12px; }
  .rd-home__occasion-icon { width: 48px; height: 48px; padding: 2px; }
  .rd-home__devices { height: 400px; }
  .rd-home__phone { left: 4%; width: 190px; height: 390px; }
  .rd-home__phone-names { padding: 52% 16% 0; font-size: 7px; }
  .rd-home__phone-names i { font-size: 26px; }
  .rd-home__paper { left: 42%; width: 200px; height: 280px; }
  .rd-home .rd-home__checks { grid-template-columns: 1fr; }
  .rd-home__steps { grid-template-columns: 1fr; gap: 40px; }
  .rd-home__steps::before { display: none; }
  .rd-home__custom { padding-bottom: 64px; }
  .rd-home__custom-copy { padding: 40px 24px; }
  .rd-home__custom-art { min-height: 380px; }
  .rd-home__custom-note { bottom: 6%; padding: 12px 16px; }
  .rd-home__stats div { padding: 0 16px; }
  .rd-home__stats b { font-size: 26px; }
  .rd-home__review:nth-child(n+4) { display: none; }
  .rd-home__qa summary { font-size: 17px; }
  .rd-home__qa-answer { padding-right: 0; }
  .rd-home__closing { padding: 72px 0; }
}

/* ==========================================================================
   App parity: icon pills, featured designs, icon occasion tiles, envelope,
   caricature and envelope dialog — values from homepage.component.scss.
   ========================================================================== */
.rd-home__tabs a { padding: 0 24px; }
.rd-home .rd-home__tabs svg { width: 22px; height: 22px; color: var(--rd-plum); }
.rd-home__tabs a:hover svg { color: var(--rd-gold-soft); }

.rd-home__design-art { aspect-ratio: 4 / 5; container-type: inline-size; color: #6b2443; }
.rd-home__design-art.is-dark { color: #e9c98b; }
.rd-home__design-art img { object-position: center; }
.rd-home__design-names {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5cqw;
  padding: 0 18%; text-align: center; font-family: var(--rd-serif); font-size: 5cqw; letter-spacing: .2em; text-transform: uppercase;
}
.rd-home__design-names i { margin-bottom: 3cqw; font-family: var(--rd-script); font-size: 10cqw; font-style: normal; letter-spacing: 0; line-height: 1.05; text-transform: none; }

.rd-home__occasion small { color: var(--rd-muted); font-size: 11.5px; line-height: 1.35; }
.rd-home__occasion.is-featured small { color: #e6cfd9; }
.rd-home__occasion-icon {
  display: grid; place-items: center; width: 64px; height: 64px; padding: 0; overflow: visible; color: var(--rd-plum);
  border: 1px solid #ead7bf; border-radius: 50%; background: radial-gradient(circle, #fff 55%, #f3e4d2 56%);
}
.rd-home .rd-home__occasion-icon svg { width: 30px; height: 30px; }
.is-featured .rd-home__occasion-icon { color: var(--rd-gold-soft); border-color: rgba(216, 179, 114, .5); background: radial-gradient(circle, var(--rd-plum-dark) 55%, rgba(216, 179, 114, .25) 56%); }

.rd-home__review figcaption span { color: var(--rd-muted); font-size: 13px; }

.rd-home__envelope {
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 60px; margin-top: 40px; padding: 24px;
  border: 1px solid var(--rd-line); border-radius: 22px; background: #fff;
}
.rd-home__envelope > img { display: block; width: 100%; border-radius: 14px; }
.rd-home__envelope .rd-home__lead { margin: 14px 0 26px; }
.rd-home__envelope--caricature { grid-template-columns: 1.1fr 1fr; background: var(--rd-blush); border-color: #edd8d1; }
.rd-home__envelope--caricature > div { padding: 16px 0 16px 36px; }
.rd-home__envelope--caricature > img { max-height: 460px; object-fit: cover; }
.rd-home .rd-home__caricature-points { display: grid; gap: 12px; margin: -6px 0 28px; }
.rd-home__caricature-points li { display: flex; align-items: center; gap: 12px; color: var(--rd-ink); font-size: 15px; }
.rd-home .rd-home__caricature-points svg { flex: none; width: 20px; height: 20px; color: var(--rd-gold); }

.rd-envelope-dialog { width: min(980px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 36px; color: var(--rd-ink); border: 1px solid var(--rd-line); border-radius: 22px; background: #fffdf9; box-shadow: 0 30px 80px rgba(47, 10, 28, .35); font-family: var(--rd-sans); }
.rd-envelope-dialog::backdrop { background: rgba(22, 17, 19, .58); backdrop-filter: blur(2px); }
.rd-envelope-dialog__close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 40px; height: 40px; color: var(--rd-plum); border: 0; border-radius: 50%; background: var(--rd-cream); font-size: 24px; cursor: pointer; }
.rd-envelope-dialog__close:hover { color: #fff; background: var(--rd-plum); }
.rd-envelope-dialog__grid { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 40px; }
.rd-envelope-dialog__phone { width: 280px; height: 560px; padding: 10px; border-radius: 38px; background: #140409; box-shadow: 0 20px 44px rgba(0, 0, 0, .3); }
.rd-envelope-dialog__phone iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: 28px; background: #fff; }
.rd-envelope-dialog .rd-home__kicker { margin-bottom: 10px; color: var(--rd-gold); font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.rd-envelope-dialog .rd-home__title { margin: 0; color: var(--rd-plum-dark); font-family: var(--rd-serif); font-size: clamp(28px, 3vw, 38px); font-weight: 400; line-height: 1.15; }
.rd-envelope-dialog .rd-home__title em { color: var(--rd-gold); }
.rd-envelope-dialog .rd-home__lead { margin: 14px 0 20px; color: var(--rd-muted); font-size: 16px; line-height: 1.65; }
.rd-envelope-dialog__list { margin: 0; padding: 0; list-style: none; }
.rd-envelope-dialog__list li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid var(--rd-line); font-size: 15px; line-height: 1.5; }
.rd-envelope-dialog__list li::before { position: absolute; top: 12px; left: 0; content: '✦'; color: var(--rd-gold); font-size: 13px; }

@media (max-width: 900px) {
  .rd-home__envelope, .rd-home__envelope--caricature { grid-template-columns: 1fr; gap: 24px; }
  .rd-home__envelope--caricature > div { padding: 8px 8px 0; }
  .rd-envelope-dialog__grid { grid-template-columns: 1fr; justify-items: center; }
}
@media (max-width: 600px) {
  .rd-home__tabs a { padding: 0 18px; }
  .rd-home__occasion-icon { width: 44px; height: 44px; }
  .rd-home .rd-home__occasion-icon svg { width: 22px; height: 22px; }
  .rd-home__occasion small { display: none; }
  .rd-home__envelope { padding: 14px; }
  .rd-envelope-dialog { padding: 24px 18px; }
  .rd-envelope-dialog__phone { width: 220px; height: 440px; }
}

/* The app's global list style renders the hero benefits at 15px in near-black (measured on app). */
.rd-home .rd-home__benefits li { color: #282828; font-size: 15px; }

/* ---------- caricature invitations (WordPress-only section, app styling) ---------- */
.rd-home__caricature { padding-bottom: 100px; }
.rd-home__caricature-box { display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden; border: 1px solid #edd8d1; border-radius: 22px; background: var(--rd-blush); }
.rd-home__caricature-copy { padding: 60px; }
.rd-home__caricature-copy .rd-home__lead { margin: 14px 0 22px; }
.rd-home .rd-home__caricature-steps { margin-bottom: 32px; }
.rd-home__caricature-steps li { display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px solid #e7cdc5; }
.rd-home__caricature-steps li:last-child { border-bottom: 0; }
.rd-home__caricature-steps em { flex: none; width: 30px; color: var(--rd-gold); font-family: var(--rd-serif); font-size: 20px; font-style: normal; }
.rd-home__caricature-steps b { display: block; margin-bottom: 3px; color: var(--rd-plum-dark); font-family: var(--rd-serif); font-size: 18px; font-weight: 500; }
.rd-home__caricature-steps span { color: var(--rd-muted); font-size: 14px; }
.rd-home .rd-home__caricature-copy .rd-home__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.rd-home__caricature-art { position: relative; display: grid; place-items: center; min-height: 520px; padding: 50px 40px 110px; overflow: hidden; background: linear-gradient(160deg, #8a2a52, var(--rd-plum-deep)); }
.rd-home__caricature-art::before { position: absolute; inset: 26px; content: ''; border: 1px solid rgba(216, 179, 114, .35); border-radius: 14px; }
.rd-home__caricature-card { position: relative; z-index: 1; width: min(62%, 300px); aspect-ratio: 5 / 7; overflow: hidden; border: 6px solid #fff8ee; border-radius: 10px; box-shadow: 0 26px 50px rgba(0, 0, 0, .4); transform: rotate(-3deg); }
.rd-home__caricature-card img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.rd-home__caricature-head { margin-top: 56px; }
.rd-home__caricature-head .rd-home__title { font-size: clamp(24px, 2.4vw, 32px); }
.rd-home__caricature .rd-home__design-art { aspect-ratio: 3 / 4; }
.rd-home__caricature .rd-home__design-art img { object-position: top; }

@media (max-width: 900px) {
  .rd-home__caricature-box { grid-template-columns: 1fr; }
  .rd-home__caricature-copy { padding: 44px 32px; }
  .rd-home__caricature-art { min-height: 440px; }
}
@media (max-width: 600px) {
  .rd-home__caricature { padding-bottom: 64px; }
  .rd-home__caricature-copy { padding: 36px 22px; }
  .rd-home__caricature-copy .rd-home__btn { width: 100%; }
  .rd-home__caricature-art { min-height: 380px; padding: 40px 24px 100px; }
  .rd-home__caricature-head { margin-top: 40px; }
}

/* Hovered/focused occasion tile takes the dark "selected" look; Wedding is only dark when nothing else is. */
.rd-home__occasion:hover, .rd-home__occasion:focus-visible { border-color: var(--rd-plum); background: var(--rd-plum); }
.rd-home__occasion:hover b, .rd-home__occasion:focus-visible b { color: #fff; }
.rd-home__occasion:hover small, .rd-home__occasion:focus-visible small { color: #e6cfd9; }
.rd-home__occasion:hover .rd-home__occasion-icon, .rd-home__occasion:focus-visible .rd-home__occasion-icon { color: var(--rd-gold-soft); border-color: rgba(216, 179, 114, .5); background: radial-gradient(circle, var(--rd-plum-dark) 55%, rgba(216, 179, 114, .25) 56%); }
.rd-home__occasion-grid:hover .rd-home__occasion.is-featured:not(:hover) { border-color: var(--rd-line); background: #fffaf4; }
.rd-home__occasion-grid:hover .rd-home__occasion.is-featured:not(:hover) b { color: var(--rd-plum-dark); }
.rd-home__occasion-grid:hover .rd-home__occasion.is-featured:not(:hover) small { color: var(--rd-muted); }
.rd-home__occasion-grid:hover .rd-home__occasion.is-featured:not(:hover) .rd-home__occasion-icon { color: var(--rd-plum); border-color: #ead7bf; background: radial-gradient(circle, #fff 55%, #f3e4d2 56%); }

/* caricature: sample videos live inside the plum panel (one combined section) */
.rd-home__caricature-art { display: flex; flex-direction: column; justify-content: center; padding: 50px 48px; }
.rd-home__caricature-label { position: relative; z-index: 1; margin: 0 0 16px; color: var(--rd-gold-soft); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.rd-home__caricature-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rd-home__caricature-sample { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border: 4px solid #fff8ee; border-radius: 10px; box-shadow: 0 16px 34px rgba(0, 0, 0, .35); transition: transform .25s; }
.rd-home__caricature-sample:hover { transform: translateY(-4px); }
.rd-home__caricature-sample img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.rd-home__caricature-sample::after { position: absolute; inset: 55% 0 0; content: ''; background: linear-gradient(transparent, rgba(30, 6, 18, .85)); }
.rd-home__caricature-sample .rd-home__play { top: 42%; width: 44px; height: 44px; }
.rd-home__caricature-title { position: absolute; z-index: 1; right: 10px; bottom: 9px; left: 10px; color: #fff; font-family: var(--rd-serif); font-size: 13.5px; line-height: 1.25; }
@media (max-width: 600px) {
  .rd-home__caricature-art { padding: 36px 20px; }
  .rd-home__caricature-grid { gap: 10px; }
  .rd-home__caricature-title { font-size: 12px; }
}
/* Light phone artwork (royal palace) needs plum text instead of gold. */
.rd-home__phone-names--light { padding-top: 62%; color: var(--rd-plum-dark); }
/* Keep the card sample's text inside the cream arch, clear of the palms. */
.rd-home__paper-names { padding: 0 29% 18%; line-height: 1.7; }
