/* =========================================================
   CHRISTMAS WITH NUVO CHURCH — /christmas/
   Palette from the Christmas artwork.
   ========================================================= */
.page-xmas {
  --x-wine: #652C35; --x-pine: #293B2B; --x-paper: #E9E6DD; --x-blue: #526989;
  --x-gold: #B98A3A; --x-gold-2: #D9B66A; --x-ink: #1F1A17;
  background: var(--x-paper); color: var(--x-ink);
}
.page-xmas .eyebrow { color: var(--x-wine); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.xserif { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -.01em; }
.xbtn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 999px; font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; transition: transform .2s, background .2s, box-shadow .2s; }
.xbtn--wine { background: var(--x-wine); color: #fff; box-shadow: 0 10px 24px rgba(101, 44, 53, .28); }
.xbtn--wine:hover { background: #7A3642; transform: translateY(-2px); }
.xbtn--paper { background: var(--x-paper); color: var(--x-pine); }
.xbtn--paper:hover { background: #fff; transform: translateY(-2px); }
.xlink { font-family: var(--font-display); font-weight: 700; color: var(--x-pine); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }

/* ---------- hero ---------- */
.xhero { position: relative; padding: clamp(110px, 12vw, 150px) 0 clamp(40px, 6vw, 70px); text-align: center;
  background: #EFE6D6; }
.xhero picture { display: block; }
.xhero__art { display: block; width: min(1200px, 100%); height: auto; margin: 0 auto; }
@media (max-width: 759px) { .xhero__art { width: 120%; max-width: none; margin-left: -10%; } .xhero { overflow: hidden; } }
.xhero__date { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(14px, 1.6vw, 17px); letter-spacing: .22em; text-transform: uppercase; color: var(--x-pine); }
.xhero__date span { color: var(--x-gold); margin: 0 .5em; }
.xhero__lede { max-width: 40ch; margin: 18px auto 28px; font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.5; color: #4A433D; }
.xhero__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 26px; }

/* ---------- at a glance ---------- */
.xglance { background: var(--x-pine); color: var(--x-paper); padding: clamp(30px, 4vw, 48px) 0; }
.xglance__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.xglance__item span { display: block; margin-bottom: 8px; font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--x-gold-2); }
.xglance__item strong { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.15; }
.xglance__item small { display: block; margin-top: 4px; opacity: .75; font-size: 14px; }

/* ---------- candlelight ---------- */
.xcandle { background: #120D0B; color: #F4EBDD; padding: clamp(70px, 9vw, 120px) 0; overflow: hidden; }
.xcandle__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.xcandle .eyebrow { color: var(--x-gold-2); }
.xcandle h2 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); line-height: 1; margin: 0 0 22px; color: #F7EEDF; }
.xcandle h2 em { color: var(--x-gold-2); }
.xcandle p { font-size: 1.1rem; line-height: 1.7; color: rgba(244, 235, 221, .82); max-width: 46ch; }
.xcandle__pics { position: relative; height: clamp(440px, 52vw, 640px); }
.xcandle__pics img { position: absolute; width: 62%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 0 80px rgba(217, 182, 106, .12); }
.xcandle__pics img:first-child { left: 0; top: 0; }
.xcandle__pics img:last-child { right: 0; bottom: 0; }
.xglow { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 182, 106, .22), transparent 65%); left: 30%; top: 25%; pointer-events: none; }

/* ---------- what to expect ---------- */
.xexpect { padding: clamp(70px, 9vw, 120px) 0; }
.xexpect__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.xh2 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); line-height: 1.02; margin: 0 0 16px; color: var(--x-ink); }
.xh2 em { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; color: var(--x-wine); }
.xlede { font-size: 1.15rem; line-height: 1.6; color: #4A433D; max-width: 40ch; }
.xchecks { list-style: none; margin: 0; padding: 0; }
.xchecks li { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid rgba(31, 26, 23, .14); }
.xchecks li:last-child { border-bottom: 1px solid rgba(31, 26, 23, .14); }
.xchecks i { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--x-wine); display: grid; place-items: center; color: #fff; font-style: normal; font-size: 20px; }
.xchecks h3 { margin: 4px 0 6px; font-size: 1.25rem; font-weight: 800; }
.xchecks p { margin: 0; color: #4A433D; line-height: 1.6; }

/* ---------- kids ---------- */
.xkids { padding: clamp(60px, 8vw, 110px) 0; background: #F3F1EB; }
.xkids__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.xkids__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.xkids__pics img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }
.xkids__pics img:nth-child(2) { margin-top: 44px; }
.xpill { display: inline-flex; align-items: center; gap: 8px; margin: 6px 8px 0 0; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid rgba(31, 26, 23, .12); font-weight: 600; font-size: 15px; }
.xpill b { color: var(--x-wine); }

/* ---------- gallery ---------- */
.xgallery { padding: clamp(60px, 8vw, 110px) 0; }
.xgallery__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(24px, 4vw, 40px); }
.xgrid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 240px); gap: 12px; }
.xgrid figure { margin: 0; overflow: hidden; border-radius: 16px; }
.xgrid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.xgrid figure:hover img { transform: scale(1.04); }
.xgrid .t2 { grid-row: span 2; }
.xgrid .w2 { grid-column: span 2; }

/* ---------- RSVP card ---------- */
.xrsvp { padding: 0 0 clamp(60px, 8vw, 100px); }
.xrsvp__card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 50px); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 28px; background: var(--x-pine); color: var(--x-paper); }
.xrsvp__card::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 182, 106, .28), transparent 65%); pointer-events: none; }
.xrsvp .eyebrow { color: var(--x-gold-2); }
.xrsvp h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.02; color: var(--x-paper); margin: 0; }
.xrsvp h2 em { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; color: var(--x-gold-2); }
.xrsvp ol { margin: 0 0 24px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.xrsvp li { counter-increment: s; display: flex; gap: 14px; align-items: baseline; line-height: 1.5; color: rgba(233, 230, 221, .9); }
.xrsvp li::before { content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(233, 230, 221, .14); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 13px; color: var(--x-gold-2); }
.xrsvp li b { color: #fff; }

/* ---------- invite ---------- */
.xinvite { padding: clamp(60px, 8vw, 100px) 0; background: var(--x-wine); color: #F6EEE6; text-align: center; }
.xinvite .eyebrow { color: var(--x-gold-2); justify-content: center; display: flex; }
.xinvite h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.04; color: #fff; margin: 0 auto 16px; max-width: 18ch; }
.xinvite h2 em { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; color: var(--x-gold-2); }
.xinvite p { max-width: 50ch; margin: 0 auto 26px; font-size: 1.1rem; line-height: 1.6; color: rgba(246, 238, 230, .85); }
.xinvite__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.xinvite .xbtn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); }
.xinvite .xbtn--ghost:hover { background: rgba(255, 255, 255, .1); }

/* ---------- FAQ ---------- */
.xfaq { padding: clamp(70px, 9vw, 120px) 0; }
.xfaq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.xfaq details { border-top: 1px solid rgba(31, 26, 23, .14); }
.xfaq details:last-child { border-bottom: 1px solid rgba(31, 26, 23, .14); }
.xfaq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.xfaq summary::-webkit-details-marker { display: none; }
.xfaq summary::after { content: "+"; color: var(--x-wine); font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.xfaq details[open] summary::after { transform: rotate(45deg); }
.xfaq details p { margin: 0 0 22px; color: #4A433D; line-height: 1.65; max-width: 60ch; }
.xfaq a { color: var(--x-wine); }

/* ---------- closing ---------- */
.xclose { position: relative; padding: clamp(80px, 10vw, 140px) 0; text-align: center; color: #F4EBDD;
  background: linear-gradient(rgba(18, 13, 11, .55), rgba(18, 13, 11, .8)), url(/assets/images/christmas/candlelight-service-christmas-nuvo-church-dublin-ohio.webp) center 35% / cover no-repeat; }
.xclose h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: clamp(2.8rem, 6.5vw, 5.4rem); line-height: 1; margin: 0 auto 14px; max-width: 14ch; color: #fff; }
.xclose p { margin: 0 auto 30px; font-family: var(--font-display); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: 14px; color: var(--x-gold-2); }
.xclose .xlink { color: #F4EBDD; }

@media (max-width: 900px) {
  .xglance__grid { grid-template-columns: repeat(2, 1fr); }
  .xcandle__grid, .xexpect__grid, .xkids__grid, .xrsvp__card, .xfaq__grid { grid-template-columns: minmax(0, 1fr); }
  .xcandle__pics { height: clamp(380px, 100vw, 520px); }
  .xgrid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(150px, 42vw, 240px); }
}

@media (min-width: 760px) { .xhero__art { -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 70%, transparent 100%); mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 70%, transparent 100%); } }
@media (max-width: 900px) { .xgrid figure:first-child { grid-column: span 2; } }
