.xm.bf2 {
  --pine: #062b21;
  --ivory: #fbf7eb;
  --gold: #f7d591;
  --ink: #173629;
  background: var(--ivory);
  color: var(--ink);
  font-family: inherit;
  overflow: clip;
}
.xm section[id], .xm #question { scroll-margin-top: 95px; }
.xm h1, .xm h2, .xm h3, .xm p { text-wrap: pretty; }
.xm h2 { font-size: clamp(1.85rem, 3.2vw, 3rem); color: inherit; letter-spacing: -.04em; line-height: 1.12; max-width: 30ch; }
.xm p { font-size: 1rem; line-height: 1.6; }
.xm a:focus-visible, .xm button:focus-visible { outline: 3px solid #0988dc; outline-offset: 4px; }
.xm .xm-hero { background: #02251c; color: var(--ivory); border-bottom: 4px solid #c6a267; }
.xm .xm-hero-layout { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; min-height: clamp(32rem, 47vw, 43rem); }
.xm .xm-hero-copy { position: relative; z-index: 1; padding: clamp(2rem,5vw,5rem) 0; }
.xm .xm-date { color: var(--gold); font-weight: 650; margin-bottom: 1.2rem; }
.xm .xm-date i { margin-right: .35rem; }
.xm .xm-hero h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3.25rem,6.4vw,6rem); letter-spacing: -.065em; line-height: .98; color: var(--ivory); margin: 0 0 1.2rem; font-weight: 500; }
.xm .xm-hero h1 span { display: block; color: var(--gold); font-size: .66em; margin-top: .12em; letter-spacing: -.04em; }
.xm .xm-hero .xm-lead { font-size: clamp(1.2rem,2.1vw,1.75rem); font-weight: 700; line-height: 1.25; max-width: 30ch; margin-bottom: .6rem; }
.xm .xm-hero-copy > p:not(.xm-date) { max-width: 52ch; }
.xm .xm-status { color: var(--gold); border-inline-start: 2px solid #c5a062; padding-inline-start: .7rem; font-size: .95rem; }
.xm .xm-actions { display: flex; gap: .65rem; flex-wrap: wrap; }
.xm .bf2-button { padding: .64rem 1.15rem; min-height: 44px; border-radius: .6rem; font-size: 1rem; line-height: 1.35; font-weight: 650; text-align: center; text-decoration: none; }
.xm .xm-primary { background: #a72238; border: 1px solid #e78089; color: white; }
.xm .xm-secondary { background: transparent; color: var(--ivory); border: 1px solid #b4bb9c; }
.xm .xm-primary:hover, .xm .xm-secondary:hover { color: #173629; background: var(--gold); }
.xm .xm-scene { margin: 0; text-align: center; }
.xm .xm-scene img { width: 100%; height: auto; display: block; mask-image: linear-gradient(90deg,transparent,#000 9%,#000 92%,transparent),linear-gradient(0deg,transparent,#000 8%,#000 90%,transparent); mask-composite: intersect; }
.xm .xm-scene figcaption { color: var(--gold); font-style: italic; font-size: 1rem; }
.xm .xm-section { padding-block: clamp(2.8rem,5vw,5rem); }
.xm .xm-section > h2 { margin-bottom: .8rem; }
.xm .xm-inline-status { font-size: .95rem; font-weight: 600; }
.xm .bf2-services { margin-top: 1.6rem; gap: 1rem; }
.xm .xm-gifts { grid-template-columns: repeat(3,minmax(0,1fr)); }
.xm .xm-services { grid-template-columns: repeat(4,minmax(0,1fr)); }
.xm .bf2-card { grid-column: auto; padding: clamp(1.2rem,2.2vw,2rem); box-shadow: none; transform: none; }
.xm .bf2-card a { width: fit-content; margin-top: auto; font-weight: 650; text-decoration: underline; text-underline-offset: .2em; }
.xm .xm-gift { background: #123d30; color: var(--ivory); border-color: #385744; }
.xm .xm-gift:nth-child(2) { background: #712432; border-color: #884653; }
.xm .xm-gift:nth-child(3) { background: #463623; border-color: #655034; }
.xm .xm-gift .xm-gift-label { color: var(--gold); font-weight: 650; display: flex; gap: .55rem; align-items: center; }
.xm .xm-gift h3 { font-size: 1.35rem; color: var(--ivory); letter-spacing: -.02em; }
.xm .xm-gift strong { display: block; color: var(--gold); font: 500 clamp(3.6rem,5vw,5.3rem)/1.04 Georgia,serif; letter-spacing: -.06em; margin-bottom: .3rem; }
.xm .xm-gift .xm-duration { font-size: .95rem; border-top: 1px solid #ffffff40; padding-top: .75rem; }
.xm .xm-gift a { color: var(--gold); }
.xm .xm-renew { background: #702434; color: var(--ivory); padding: clamp(1.45rem,3.4vw,3.25rem); border-radius: 1.1rem; display: flex; gap: 1.25rem; align-items: center; justify-content: space-between; }
.xm .xm-renew h2 { margin-bottom: .65rem; }
.xm .xm-renew p { max-width: 65ch; margin-bottom: .6rem; }
.xm .xm-renew a { flex-shrink: 0; }
.xm .xm-services .bf2-card { background: #fffdf6; color: var(--ink); border-color: #d9d5c4; }
.xm .xm-services h3 { color: var(--ink); font-size: 1.3rem; letter-spacing: -.025em; }
.xm .xm-services .bi { color: #8d293b; font-size: 1.6rem; margin-bottom: 1rem; }
.xm .xm-services a { color: #7d2435; }
.xm .xm-calendar { background: #0a3025; color: var(--ivory); }
.xm .xm-doors { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: .6rem; padding: 0; list-style: none; margin: 1.6rem 0 0; }
.xm .xm-doors a, .xm .xm-doors button { display: flex; width: 100%; flex-direction: column; align-items: center; padding: .65rem .15rem; gap: .2rem; border-radius: .65rem; border: 1px solid #7e927e; background: #173e31; color: #e6eadf; text-decoration: none; }
.xm .xm-doors a { background: #f6e5c0; color: #42271d; border-color: #c6a670; }
.xm .xm-doors a:hover, .xm .xm-doors a[aria-current] { background: var(--gold); }
.xm .xm-doors strong { font: 550 2rem/1.1 Georgia,serif; }
.xm .xm-doors span { font-size: .875rem; }
.xm .xm-question { margin-top: 1.5rem; padding: 1.4rem; border: 1px solid #8c9c7f; border-radius: .75rem; }
.xm .xm-question h3 { color: var(--ivory); }
.xm .xm-question legend { font-size: 1rem; }
.xm .xm-question p:last-child { margin: 0; }
.xm .xm-terms .bf2-note { text-align: start; font-size: 1rem; color: var(--ink); margin: 0; max-width: 85ch; }
@media (max-width: 991px) {
  .xm .xm-services { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .xm .xm-doors { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .xm .xm-renew { align-items: start; flex-direction: column; }
}
@media (max-width: 767px) {
  .xm .xm-hero-layout { display: flex; flex-direction: column; align-items: stretch; }
  .xm .xm-hero-copy { padding: 2rem 0 .5rem; }
  .xm .xm-scene { width: min(100%, 32rem); margin: 0 auto 1.6rem; }
  .xm .xm-scene img { max-height: 18rem; object-fit: contain; }
  .xm .xm-gifts { grid-template-columns: 1fr; }
  .xm .xm-doors { grid-template-columns: repeat(4,minmax(0,1fr)); gap: .4rem; }
}
@media (max-width: 540px) {
  .xm .xm-services { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .xm *, .xm *::before, .xm *::after { animation: none !important; transition: none !important; }
}
