/* =========================================================
   Wedding card – shared layout. Colours & fonts come from themes/*.css
   ========================================================= */
:root {
  --bg: #fbf6ec;
  --bg-2: #f4ead6;
  --primary: #6b1d2a;
  --primary-2: #4e1220;
  --accent: #b8893b;
  --accent-light: #d8b26a;
  --accent-pale: #f3dfb1;
  --ink: #3b2a22;
  --muted: #7d6a5c;
  --line: rgba(184, 137, 59, 0.35);
  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Great Vibes", "Brush Script MT", cursive;
  --sans: "Jost", system-ui, sans-serif;
  --radius: 22px;
  --seal-bg: radial-gradient(circle at 35% 30%, #f6dfa6, var(--accent) 60%, #8d6526);
  --glow-1: rgba(216, 178, 106, .25);
  --glow-2: rgba(107, 29, 42, .08);
  --door-bg: var(--primary);
  --door-edge: var(--accent);
  --door-line: rgba(216, 178, 106, .55);
  --door-line-soft: rgba(216, 178, 106, .3);
  --gate-face: color-mix(in srgb, var(--bg) 78%, var(--primary) 22%);
  --curtain-face: color-mix(in srgb, var(--bg) 78%, var(--primary) 22%);
  --curtain-valance: color-mix(in srgb, var(--bg) 68%, var(--primary) 32%);
  --card-bg: #fff;
  --alt-bg: #160a10;
  --alt-ink: #f3dfb1;
  --alt-muted: rgba(243, 223, 177, .82);
  --topbar-bg: rgba(251, 246, 236, .86);
  --hero-veil: rgba(251, 246, 236, .62);
  --event-bg: #f4ead6;
  --family-ink: #8a5a63;
  --header-font: var(--serif);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.7; overflow-x: hidden; }
body.is-locked { overflow: hidden; height: 100vh; }
body.entrance-none .cover,
body.entrance-video .cover { display: none; }
body.entrance-video .countdown div {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 15px 2px;
  box-shadow: 0 10px 26px var(--glow-2);
}
body:not(.entrance-brush) .wtd-petal-layer,
body:not(.entrance-brush) .wtd-petal-hint { display: none !important; }
body.entrance-none .topbar { transform: none; }
body.entrance-none .reveal { opacity: 1; transform: none; }
body.is-thumb { overflow: hidden; height: 100vh; background: var(--bg); }
body.is-thumb .cover,
body.is-thumb .topbar,
body.is-thumb .preview-bar,
body.is-thumb .petals,
body.is-thumb .wtd-petal-layer,
body.is-thumb #main > :not(.hero) { display: none; }
body.is-thumb .hero {
  min-height: 100vh;
  height: 100vh;
  justify-content: flex-start;
  padding: 36px 0 20px;
  overflow: hidden;
}
body.is-thumb .hero .scroll-cue { display: none; }
body.is-thumb .reveal { opacity: 1; transform: none; }
body.is-start-shot { overflow: hidden; height: 100vh; width: 100vw; }
body.is-start-shot .topbar,
body.is-start-shot .preview-bar,
body.is-start-shot .petals,
body.is-start-shot .wtd-petal-layer,
body.is-start-shot .sample-offer,
body.is-start-shot .wa-help { display: none !important; }
body.is-start-shot:not(.entrance-none) #main { display: none !important; }
body.is-start-shot.entrance-none #main > :not(.hero) { display: none !important; }
body.is-start-shot.entrance-none .hero { min-height: 100vh; height: 100vh; padding: 36px 0 20px; overflow: hidden; }
body.is-start-shot .reveal { opacity: 1; transform: none; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(980px, 100% - 40px); margin-inline: auto; position: relative; }
.script { font-family: var(--script); font-weight: 400; color: var(--primary); }
.section { padding: 84px 0; position: relative; }
.section-title { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 5vw, 46px); color: var(--primary); text-align: center; margin: 0 0 36px; letter-spacing: .01em; }
.section-title::after { content: ""; display: block; width: 90px; height: 10px; margin: 14px auto 0; background:
  radial-gradient(circle, var(--accent) 3px, transparent 3.5px) center / 10px 10px no-repeat,
  linear-gradient(var(--accent), var(--accent)) left center / 38px 1px no-repeat,
  linear-gradient(var(--accent), var(--accent)) right center / 38px 1px no-repeat; }
.eyebrow { font-family: var(--sans); font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin: 0 0 14px; }

/* Kasavu (gold-bordered) stripe */
.border-strip { height: 16px; background:
  linear-gradient(to bottom, transparent 0 3px, var(--accent) 3px 5px, transparent 5px 7px, var(--accent-light) 7px 11px, transparent 11px 13px, var(--accent) 13px 15px, transparent 15px); }

/* Ornament divider */
.ornament { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 22px auto; }
.ornament span { height: 1px; width: 70px; background: linear-gradient(90deg, transparent, var(--accent)); }
.ornament span:last-child { background: linear-gradient(90deg, var(--accent), transparent); }
.ornament i { width: 10px; height: 10px; border: 1.5px solid var(--accent); transform: rotate(45deg); }
.ornament.small { margin: 18px auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: .04em; padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-accent { background: linear-gradient(135deg, var(--accent-light), var(--accent)); color: #fff; box-shadow: 0 10px 24px rgba(184, 137, 59, .35); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-2); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); background: var(--card-bg); }
:focus-visible { outline: 3px solid rgba(184, 137, 59, .6); outline-offset: 3px; }

/* ================= COVER ================= */
.cover { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; perspective: 1600px; background: var(--door-bg); }
.door { position: absolute; top: 0; bottom: 0; width: 50.5%; background: linear-gradient(90deg, var(--glow-2), transparent 42%, var(--glow-2)), var(--gate-face, var(--door-bg)); transition: transform 1.6s cubic-bezier(.65, 0, .25, 1); overflow: hidden; box-shadow: inset 0 0 0 2px var(--door-edge); }
.door-left { left: 0; transform-origin: left center; border-right: 2px solid var(--door-edge); }
.door-right { right: 0; transform-origin: right center; border-left: 2px solid var(--door-edge); }
.door-pattern { position: absolute; inset: 18px; border: 1.5px solid var(--door-line); border-radius: 6px; background:
  radial-gradient(circle at 50% 50%, var(--primary) 0 1.15px, transparent 1.6px) 0 0 / 26px 26px,
  linear-gradient(135deg, var(--glow-1), transparent 60%); }
.door-pattern::after { content: ""; position: absolute; inset: 10px; border: 1px solid var(--door-line-soft); border-radius: 4px; }
.cover-content { position: relative; z-index: 2; text-align: center; color: var(--cover-ink, var(--accent-pale)); padding: 24px; transition: opacity .5s ease, transform .5s ease; }
.cover-kicker { font-family: var(--serif); font-style: italic; font-size: 22px; letter-spacing: .06em; margin: 0 0 22px; }
.seal { width: 156px; height: 156px; margin: 0 auto 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--seal-bg); box-shadow: 0 0 0 6px rgba(216, 178, 106, .25), 0 18px 40px rgba(0, 0, 0, .35); animation: seal-glow 3s ease-in-out infinite; }
.seal span { font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--primary); white-space: nowrap; }
.seal.has-image, .theme-muslim .seal.has-image { transform: none; border-radius: 50%; background: transparent; overflow: hidden; }
.seal.has-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
@keyframes seal-glow { 50% { box-shadow: 0 0 0 12px rgba(216, 178, 106, .12), 0 18px 40px rgba(0, 0, 0, .35); } }
.cover-names { font-family: var(--script); font-weight: 400; font-size: clamp(46px, 11vw, 80px); color: var(--cover-ink, #fff); margin: 0; line-height: 1.1; }
.cover-names em { font-style: normal; color: var(--cover-em, var(--accent-light)); font-size: .7em; }
.cover-date { font-family: var(--serif); letter-spacing: .3em; font-size: 18px; margin: 10px 0 30px; }
.cover-btn { animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.05); } }
.cover.is-open .door-left { transform: rotateY(-105deg); }
.cover.is-open .door-right { transform: rotateY(105deg); }
.cover.is-open .cover-content { opacity: 0; transform: scale(.92); pointer-events: none; }
body.entrance-click .door,
body.entrance-click .seal { display: none; }
body.entrance-door .door,
body.entrance-envelope .door,
body.entrance-curtain .door,
body.entrance-scratch .door { visibility: hidden; }
body.entrance-door .cover,
body.entrance-curtain .cover,
body.entrance-scratch .cover,
body.entrance-envelope .cover { background: transparent; }
body.entrance-door .cover-content,
body.entrance-curtain .cover-content,
body.entrance-scratch .cover-content,
body.entrance-envelope .cover-content { opacity: 0; visibility: hidden; pointer-events: none; }
body.entrance-door .hero .reveal,
body.entrance-curtain .hero .reveal,
body.entrance-scratch .hero .reveal,
body.entrance-envelope .hero .reveal { opacity: 1; transform: none; }
body.entrance-envelope:not(.wtd-envelope-open) #main { opacity: 0; visibility: hidden; pointer-events: none; }
body.entrance-envelope.wtd-envelope-open #main { opacity: 1; visibility: visible; }
body.entrance-click .cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 28px;
  background: var(--bg);
  transition: opacity 1.2s ease;
}
body.entrance-click .cover-content {
  width: min(520px, 100%);
  min-height: min(78vh, 700px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 28px 28px;
  box-sizing: border-box;
  z-index: 3;
  transition: opacity 1.2s ease, filter 1.2s ease, transform 1.2s ease;
}
body.entrance-click .cover-btn { margin-top: auto; }
body.entrance-click .cover.is-open {
  opacity: 0;
  pointer-events: none;
}
body.entrance-click .cover.is-open .door { transform: none; }
body.entrance-click .cover.is-open .cover-content {
  opacity: 0;
  filter: blur(14px);
  transform: scale(1.04);
  pointer-events: none;
}
.cover.is-gone { display: none; }

/* ================= TOP BAR ================= */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 10px 18px; background: var(--topbar-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transform: translateY(-100%); transition: transform .5s ease; }
.topbar.is-visible { transform: none; }
.topbar-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.mini-seal { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: var(--accent-pale); display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; border: 1.5px solid var(--accent-light); }
.mini-seal.has-image { overflow: hidden; background: transparent; padding: 0; }
.mini-seal.has-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.topbar-names { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--primary); }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--card-bg); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
#music-btn { position: fixed; top: 12px; right: 14px; z-index: 60; }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn.is-playing { background: var(--primary); color: var(--accent-pale); animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ================= HERO ================= */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; text-align: center; padding: 110px 0 60px; background:
  radial-gradient(ellipse at 50% 0%, var(--glow-1), transparent 60%),
  radial-gradient(ellipse at 50% 100%, var(--glow-2), transparent 60%), var(--bg); position: relative; }
.hero.has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--hero-veil), var(--hero-veil)),
    var(--hero-image) center / cover no-repeat;
}
.section-bg-video,
.section-bg-photo {
  opacity: .5;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}
.section-bg-photo .section-title{
  color: var(--primary);
}
.hero .section-bg-photo,
.hero .section-bg-video { opacity: var(--hero-bg-opacity, 1); }
.section-bg-video::-webkit-media-controls,
.section-bg-video::-webkit-media-controls-enclosure,
.section-bg-video::-webkit-media-controls-start-playback-button,
.section-bg-video::-webkit-media-controls-overlay-play-button {
  display: none !important;
  -webkit-appearance: none;
  appearance: none;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
}
.section-bg-video.is-phone,
.section-bg-photo.is-phone { display: none; }
.hero.has-media-el::before,
.countdown-section.has-media-el::before { background: var(--hero-veil); }
.hero.has-video-bg::before,
.countdown-section.has-video-bg::before {
  background: var(--hero-veil);
}
.countdown-section { position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.hero .border-strip { position: absolute; top: 0; left: 0; right: 0; z-index: 1; }
.blessing { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2.6vw, 24px); color: var(--muted); max-width: 560px; margin: 0 auto; }
.invite-text { max-width: 560px; margin: 0 auto 10px; color: var(--muted); }
.couple { margin: 8px 0 6px; display: flex; flex-direction: column; align-items: center; line-height: 1; font-weight: 400; }
.couple .script { font-size: clamp(72px, 15vw, 132px); }
.couple .with { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--accent); letter-spacing: .2em; margin: 6px 0 12px; }
.tagline { font-family: var(--serif); font-size: clamp(20px, 2.8vw, 26px); color: var(--primary); margin: 18px 0 40px; }
.scroll-cue { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; font-size: 13px; letter-spacing: .25em; text-transform: uppercase; color: var(--accent); text-decoration: none; }
.scroll-cue span { font-size: 22px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* ================= FAMILIES ================= */
.families { background: var(--bg-2); }
.family-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.family-card { background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 28px; text-align: center; position: relative; }
.family-card::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--door-line-soft); border-radius: 16px; pointer-events: none; }
body:not(.entrance-video) .family-card::before { border-radius: 82px 82px 16px 16px !important; }
.portrait { width: 218px; height: 229px; margin: 0 auto 12px; position: relative; z-index: 1; display: block; overflow: hidden; border-radius: 109px 109px 0 0; background: linear-gradient(180deg, var(--accent-light), var(--accent)); box-shadow: 0 10px 22px rgba(0, 0, 0, .12); }
.portrait img { position: absolute; inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); object-fit: cover; object-position: center; border-radius: 102px 102px 0 0; }
.family-role { font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); margin: 0; font-weight: 500; }
.family-card h3 { font-size: 64px; margin: 4px 0 6px; line-height: 1.1; }
.family-rel { font-family: var(--serif); font-style: italic; color: var(--muted); margin: 0; font-size: 18px; }
.family-parents { font-family: var(--serif); font-weight: 600; font-size: 21px; color: var(--ink); margin: 2px 0 14px; }
.family-home { margin: 0; color: var(--muted); font-size: 15px; }
.family-home strong { color: var(--primary); font-weight: 500; }
.family-amp { font-family: var(--script); font-size: 70px; color: var(--accent); }

/* ================= EVENT CARDS ================= */
.event-card { background: var(--event-bg); color: var(--ink); border-radius: 28px; padding: 48px 32px; text-align: center; position: relative; box-shadow: 0 24px 60px var(--glow-2); }
.event-card::before { content: ""; position: absolute; inset: 10px; border: 1.5px solid var(--door-edge); border-radius: 20px; pointer-events: none; }
.event-card::after { content: ""; position: absolute; inset: 16px; border: 1px solid var(--door-line-soft); border-radius: 15px; pointer-events: none; }
.event-main { max-width: 640px; margin: 0 auto; }
.date-block { display: flex; align-items: center; justify-content: center; gap: 18px; font-family: var(--serif); color: var(--primary); }
.date-day, .date-month { font-size: 19px; letter-spacing: .14em; text-transform: uppercase; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 6px 0; min-width: 130px; }
.date-num { font-size: 76px; font-weight: 700; line-height: 1; color: var(--accent); }
.event-main .event-date { font-family: var(--serif); font-size: 26px; margin: 0; color: var(--primary); line-height: 1.2; }
.event-main .event-day { font-family: var(--serif); font-size: 22px; margin: 4px 0 0; color: var(--muted); line-height: 1.2; }
.event-main .event-date { font-family: var(--serif); font-size: 26px; margin: 0; color: var(--primary); line-height: 1.2; }
.event-main .event-day { font-family: var(--serif); font-size: 22px; margin: 4px 0 0; color: var(--muted); line-height: 1.2; }
.trad-date { font-family: var(--serif); font-style: italic; color: var(--muted); margin: 12px 0 0; font-size: 19px; }
.venue { font-family: var(--serif); font-weight: 700; font-size: 27px; color: var(--primary); margin: 0; line-height: 1.25; }
.place { margin: 2px 0 0; color: var(--muted); }
.muhurtham { display: inline-flex; flex-direction: column; gap: 2px; margin: 24px 0 6px; background: var(--bg); border: 1px dashed var(--door-edge); border-radius: 16px; padding:10px 12px !important }
.muhurtham-label { display: block; margin: 12px 0 0; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.muhurtham strong { font-family: var(--serif); font-size: 24px; color: var(--primary); }
.card-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px;margin-bottom: 20px; position: relative; z-index: 1; }

.event-other { display: grid; grid-template-columns: 1fr 220px; gap: 32px; align-items: center; text-align: left; background: var(--alt-bg); color: var(--alt-ink); }
.event-other::before { border-color: var(--door-line); }
.event-other::after { border-color: var(--door-line-soft); }
.event-other .eyebrow { color: var(--accent-light); }
.event-other .venue { color: var(--alt-ink); }
.event-other .place { color: var(--alt-muted); }
.other-date { font-family: var(--serif); font-size: 26px; margin: 0; color: var(--alt-ink); }
.other-time { font-family: var(--serif); font-size: 22px; color: var(--accent-light); margin: 0 0 16px; }
.event-other .card-actions { justify-content: flex-start; }
.event-other .btn-primary { background: var(--accent); }
.event-other .btn-primary:hover { background: var(--accent-light); color: var(--primary-2); }
.event-other .btn-ghost { color: var(--accent-pale); border-color: var(--door-line); }
.event-other .btn-ghost:hover { background: var(--glow-1); }
.qr-box { margin: 0; text-align: center; position: relative; z-index: 1; }
.qr { background: #fff; padding: 12px; border-radius: 16px; display: inline-block; line-height: 0; }
.qr img, .qr svg { width: 168px; height: 168px; }
.qr-box figcaption { font-size: 13px; letter-spacing: .24em; text-transform: uppercase; margin-top: 10px; color: var(--accent-light); }

/* ================= COUNTDOWN ================= */
.countdown-section { text-align: center; background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.countdown-section.has-bg { position: relative; background-image: var(--count-image); background-size: cover; background-position: center; background-repeat: no-repeat; }
.countdown-section.has-bg::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--hero-veil); }
.countdown-section.has-bg .wrap { position: relative; z-index: 1; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 620px; margin: 0 auto; }
.countdown div { background: var(--alt-bg); border: 1px solid var(--line); border-radius: 18px; padding: 18px 6px 14px; box-shadow: 0 10px 26px var(--glow-2); }
.countdown strong { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(34px, 7vw, 54px); color: var(--door-edge); line-height: 1.05; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--door-edge); }
.countdown-done { font-family: var(--script); font-size: 44px; color: var(--door-edge); margin: 0; }
html body .sd-weekday,
html body [class*="theme-"] .sd-weekday { color: var(--muted); }
html body .event-other .sd-weekday { color: var(--accent-pale); }

/* ================= GALLERY ================= */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery button:hover img { transform: scale(1.06); }
.gallery button::after { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 12px; pointer-events: none; }

.lightbox { position: fixed; inset: 0; z-index: 1100; background: rgba(30, 10, 14, .94); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lb-figure { margin: 0; max-width: min(900px, 100%); text-align: center; }
.lb-figure img { max-height: 80vh; margin: 0 auto; border-radius: 12px; }
.lb-figure figcaption { color: var(--accent-pale); font-family: var(--serif); font-style: italic; font-size: 20px; margin-top: 12px; }
.lb-btn { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .25); width: 52px; height: 52px; border-radius: 50%; font-size: 32px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ================= FIND US ================= */
.find-section { background: var(--bg-2); }
.find-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.find-card { background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 26px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.find-icon { width: 62px; height: 62px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.find-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.find-card h3 { font-family: var(--sans); font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; font-weight: 500; }
.find-card .venue { font-size: 24px; }
.find-when { color: var(--muted); margin: 12px 0 20px; flex: 1; }
.find-events { width: 100%; display: grid; gap: 18px; margin: 16px 0 20px; }
.find-event h3 { margin: 0 0 6px; }
.find-card-combined .find-when { margin: 0; flex: none; }

/* ================= CLOSING ================= */
.closing { background:var(--muted); color: var(--accent-pale); text-align: center; padding: 96px 0 80px; position: relative; overflow: hidden; }
.closing .border-strip { position: absolute; top: 0; left: 0; right: 0; }
.closing::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1px solid var(--door-line-soft); left: 50%; top: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 40px var(--glow-2), 0 0 0 80px var(--glow-1); }
.closing-lines { font-family: var(--serif); font-size: clamp(28px, 5vw, 40px); line-height: 1.3; margin: 0; color: var(--accent-pale); }
.closing-lines span { font-style: italic; color: var(--accent-light); }
.closing-sign { font-size: clamp(54px, 10vw, 84px); color: var(--primary) !important; margin: 18px 0 0; line-height: 1.2; }
/* A groom or bride name longer than 14 letters. Large script themes step
   down to 40px / 37px. Compact themes stay under their own type size. */
html body .couple.is-long-name .script { font-size: 40px; }
html body .closing-sign.is-long-name { font-size: 37px; }
html body .cover-names.is-long-name { font-size: 34px; }
html body .family-card h3.is-long-name { font-size: 28px; }
html body.theme-atelier .couple.is-long-name .script,
html body.theme-chapel .couple.is-long-name .script,
html body.theme-editorial .couple.is-long-name .script { font-size: clamp(22px, 5vw, 36px); }
html body.theme-atelier .closing-sign.is-long-name { font-size: clamp(22px, 4.8vw, 32px); }
html body.theme-atelier .cover-names.is-long-name,
html body.theme-chapel .cover-names.is-long-name,
html body.theme-editorial .cover-names.is-long-name { font-size: clamp(18px, 4.4vw, 28px); }
html body.theme-atelier .family-card h3.is-long-name { font-size: clamp(18px, 4vw, 24px); }
.closing-date { font-family: var(--serif); letter-spacing: .4em; font-size: 20px; margin: 4px 0 18px; color: var(--accent-pale); }
.closing-note { max-width: 460px; margin: 0 auto 30px; color: var(--alt-muted); }
.share-msg { margin: 14px 0 0; font-size: 14px; color: var(--accent-light); }
html body .closing .closing-lines span,
html body .closing .closing-sign,
html body .closing .closing-note,
html body .closing .share-msg {
  
  color: var(--door-edge);
}
html body .closing .btn-accent {
  background: var(--bg);
  color: var(--primary);
  box-shadow: none;
}
html body .closing .btn-accent:hover {
  background: var(--bg-2);
  color: var(--primary);
}

/* ================= CONTACTS ================= */
.contacts { background: var(--bg); color: var(--ink); padding: 14px 0 16px; text-align: center; }
.contacts-title { font-family: var(--serif); font-weight: 600; font-size: 26px; margin: 0 0 18px; color: var(--ink); }
.contact-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.contact-list a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; padding: 10px 20px 10px 10px; border: 1px solid var(--door-line); border-radius: 999px; transition: background .2s ease; }
.contact-list a:hover { background: var(--bg-2); }
.contact-list .call-icon { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--bg); display: inline-flex; align-items: center; justify-content: center; }
.contact-list .call-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-list small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-align: left; }
.contact-list strong { font-weight: 500; color: var(--ink); font-size: 17px; }
.made-with { margin: 0; font-size: 13px; color: var(--ink); }

/* ================= PETALS + REVEAL ================= */
.petals { position: fixed; inset: 0; pointer-events: none; z-index: 40; overflow: hidden; }
.petal { position: absolute; top: -40px; width: 14px; height: 18px; border-radius: 80% 0 80% 0; background: linear-gradient(135deg, #f3b2a6, #d9707a); opacity: .85; animation: fall linear forwards; }
.petal.gold { background: linear-gradient(135deg, var(--accent-pale), var(--accent)); }
@keyframes fall {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  100% { transform: translate3d(var(--drift, 60px), 110vh, 0) rotate(var(--spin, 540deg)); opacity: .4; }
}
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-in { opacity: 1; transform: none; }


/* ================= DYNAMIC CARD EXTRAS ================= */
.preview-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200; background: #1f2937; color: #fff; font-family: var(--sans); font-size: 14px; text-align: center; padding: 12px 14px; }
body:has(.preview-bar) .contacts { padding-bottom: 78px; }
.preview-bar a { color: #fcd34d; font-weight: 500; margin-left: 8px; }
.preview-bar .preview-publish { display: inline-flex; align-items: center; justify-content: center; margin: 0; min-height: 48px; padding: 12px 28px; border-radius: 999px; background: #e3c88a; color: #2a1621; font-size: 18px; font-weight: 650; text-decoration: none; }
.preview-bar .preview-unpublished { color: #fcd34d; font-size: 16px; font-weight: 600; margin-left: 0; text-decoration: underline; }
.checkout-modal { position: fixed; inset: 0; z-index: 5000; background: rgba(42, 22, 33, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.checkout-modal[hidden] { display: none !important; }
.checkout-modal-card { width: min(920px, 100%); height: min(880px, calc(100dvh - 32px)); background: #fff; border-radius: 18px; overflow: hidden; position: relative; box-shadow: 0 24px 60px rgba(42, 22, 33, .28); }
.checkout-modal iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.checkout-modal-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #2a1621; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.btn-block { width: 100%; }
.wtd-site-ui {
  --ink: #2a1621;
  --ink-2: #3d2232;
  --rose: #a9802f;
  --blush: #f8e9e7;
  --gold: #c9a24d;
  --ivory: #fcf8f3;
  --muted: #7a6670;
  --line: #ecdfd9;
  --primary: #a9802f;
  --primary-2: #8a6824;
  --bg: #fcf8f3;
  --card-bg: #ffffff;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  color: #2a1621;
  font-family: "Jost", system-ui, sans-serif;
}
.invite-pay-card {
  width: min(400px, calc(100vw - 24px));
  height: auto;
  max-height: min(88dvh, 560px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fcf8f3;
  color: #2a1621;
  font-family: "Jost", system-ui, sans-serif;
}
.invite-pay-body { padding: 44px 18px 12px; overflow: auto; background: #fcf8f3; }
.invite-pay-copy { margin: 0 0 16px; font-size: 15px; font-weight: 500; line-height: 1.45; color: #2a1621; }
.invite-pay-plans { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.invite-pay-plan { position: relative; display: block; cursor: pointer; color: #2a1621; }
.invite-pay-plan input { position: absolute; opacity: 0; }
.invite-pay-plan span {
  display: block;
  border: 1.5px solid #ecdfd9;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  color: #2a1621;
  font-size: 16px;
  font-weight: 600;
}
.invite-pay-plan.is-premium span { background: #fffaf6; color: #2a1621; }
.invite-pay-plan.is-selected span,
.invite-pay-plan input:checked + span { border-color: #a9802f; box-shadow: 0 0 0 1px #a9802f; }
.invite-pay-selected { display: none; }
.invite-pay-plan.is-selected .invite-pay-selected { display: inline; }
.invite-pay-dock {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid #ecdfd9;
}
.wtd-site-ui .checkout-dock-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 6px;
  border: 1.5px solid #ecdfd9;
  border-radius: 12px;
  background: #fff;
  color: #2a1621;
  font-family: "Jost", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.wtd-site-ui .checkout-dock-btn.is-primary {
  background: #a9802f;
  border-color: #a9802f;
  color: #fff;
}
.invite-pay-dock .dock-update { display: none; }
@media (max-width: 1024px) {
  .invite-pay-dock .dock-copy { display: none; }
  .invite-pay-dock .dock-update { display: inline-flex; }
}
.pay-modal[hidden] { display: none; }
.pay-modal {
  position: fixed;
  inset: 0;
  z-index: 5100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  background: rgba(42, 22, 33, .55);
}
.wtd-site-ui .pay-modal-card {
  width: min(400px, 100%);
  max-height: min(92vh, 720px);
  overflow: auto;
  background: #fcf8f3;
  color: #2a1621;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(42, 22, 33, .28);
  font-family: "Jost", system-ui, sans-serif;
}
.wtd-site-ui .pay-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #ecdfd9;
  background: #fcf8f3;
}
.wtd-site-ui .pay-modal-head h2 { margin: 0; font-size: 20px; font-family: "Cormorant Garamond", Georgia, serif; color: #2a1621; }
.wtd-site-ui .pay-modal-head .layout-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f8e9e7;
  color: #2a1621;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.wtd-site-ui .pay-modal-body { padding: 16px; background: #fcf8f3; }
.wtd-site-ui .pay-qr { background: #fff; text-align: center; color: #2a1621; border-radius: 16px; padding: 12px; }
.wtd-site-ui .pay-qr .q { width: 200px; height: 200px; margin: 0 auto 12px; }
.wtd-site-ui .pay-qr .q svg { width: 100%; height: 100%; }
.wtd-site-ui .pay-qr strong { display: block; font-size: 16px; color: #2a1621; }
.wtd-site-ui .pay-qr .muted { color: #7a6670; font-size: 14px; margin: 0 0 10px; }
.wtd-site-ui .upi-id { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; margin: 6px 0 12px; color: #7a6670; }
.wtd-site-ui .pay-modal-body .btn { margin-top: 10px; }
.wtd-site-ui .btn-primary {
  background: #a9802f !important;
  border-color: #a9802f !important;
  color: #fff !important;
}
.wtd-site-ui .btn-wa {
  background: #25d366 !important;
  color: #fff !important;
}
.plan-float { position: fixed; left: 18px; bottom: 18px; z-index: 1300; background: #2a1621; color: #fff; border-radius: 16px; padding: 14px 42px 14px 16px; box-shadow: 0 16px 40px rgba(42, 22, 33, .28); font-family: var(--sans); }
.plan-float strong { font-family: var(--serif, Georgia, serif); font-size: 18px; font-weight: 600; }
.plan-float-close { position: absolute; top: 6px; right: 8px; border: 0; background: transparent; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
body:has(.preview-bar) .plan-float { bottom: 88px; }
.cover-header { font-family: var(--header-font); font-size: 22px; letter-spacing: .08em; color: var(--cover-ink, var(--accent-light)); margin: 0 0 10px; }
.header-line { font-family: var(--header-font); font-size: clamp(20px, 3vw, 26px); color: var(--primary); letter-spacing: .06em; margin: 0 0 14px; }
.verse { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--muted); max-width: 560px; margin: -18px auto 34px; padding: 0 10px; }
.hero-photo { width: 190px; height: 190px; margin: 0 auto 26px; border-radius: 50%; padding: 6px; background: linear-gradient(135deg, var(--accent-light), var(--accent)); box-shadow: 0 18px 40px rgba(0, 0, 0, .12); position: relative; z-index: 1; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid var(--bg); }
.family-about { font-size: 15px; color: var(--muted); margin: -2px 0 12px; }
.find-grid.one { grid-template-columns: minmax(0, 480px); justify-content: center; }
.event-other:not(:has(.qr-box)) { grid-template-columns: 1fr; text-align: center; }
.event-other:not(:has(.qr-box)) .card-actions { justify-content: center; }
.other-date { font-family: var(--serif); font-size: 26px; margin: 0; color: #fff; }
.studio-credit { margin: 30px 0 0; font-size: 13px; }
.studio-credit a, .studio-credit { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.studio-credit img { height: 34px; width: auto; max-width: 120px; object-fit: contain; background: #fff; padding: 4px 8px; border-radius: 8px; }
.studio-credit strong { color: var(--ink); font-weight: 500; }
@media (max-width: 760px) { .hero-photo { width: 150px; height: 150px; } .portrait { width: 195px; height: 205px; border-radius: 98px 98px 0 0; } .portrait img { border-radius: 91px 91px 0 0; } .event-other { text-align: center; } }

/* ================= RESPONSIVE ================= */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .family-grid { grid-template-columns: 1fr; gap: 6px; }
  .family-amp { text-align: center; font-size: 56px; line-height: 1; }
  .event-card { padding: 40px 22px; }
  .event-other { grid-template-columns: 1fr; text-align: center; }
  .event-other .card-actions { justify-content: center; }
  .date-block { gap: 10px; }
  .date-day, .date-month { font-size: 14px; min-width: 0; padding: 6px 4px; }
  .date-num { font-size: 60px; }
  .countdown { gap: 8px; }
  .countdown div { padding: 14px 2px 10px; border-radius: 14px; }
  .countdown span { font-size: 10px; letter-spacing: .12em; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .find-grid { grid-template-columns: 1fr; }
  .lb-prev, .lb-next { top: auto; bottom: 22px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .card-actions .btn { width: 100%; }
  .topbar-names { font-size: 17px; }
  .hero.has-phone-bg::before {
    background:
      linear-gradient(var(--hero-veil), var(--hero-veil)),
      var(--hero-image-phone) center / cover no-repeat;
  }
  .countdown-section.has-phone-bg { background-image: var(--count-image-phone); background-size: cover; background-position: center; background-repeat: no-repeat; }
  .has-phone-bg .section-bg-video.is-desktop,
  .has-phone-bg .section-bg-photo.is-desktop { display: none; }
  .has-phone-bg .section-bg-video.is-phone,
  .has-phone-bg .section-bg-photo.is-phone { display: block; }
  .hero.has-phone-bg.has-video-bg::before,
  .countdown-section.has-phone-bg.has-video-bg::before { background: var(--hero-veil); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ================= SYMBOL (Ganesha, cross, Bismillah ...) ================= */
.sym { display: block; width: 92px; height: 92px; margin: 0 auto 16px; background: currentColor;
  -webkit-mask: var(--sym) center / contain no-repeat; mask: var(--sym) center / contain no-repeat; }
.sym-wide { width: min(440px, 88vw); height: 76px; }
.cover-content .sym { color: var(--accent-light); width: 78px; height: 78px; margin-bottom: 10px; }
.cover-content .sym-wide { width: min(400px, 84vw); height: 66px; }
.hero .sym { color: var(--accent); }
.theme-modern .cover-content .sym { color: var(--accent); }
@media (max-width: 760px) { .sym { width: 76px; height: 76px; } .sym-wide { width: 88vw; height: 60px; } }

/* ================= Web the Date additions: personal greeting + RSVP ================= */
.cover-guest { font-family: var(--serif); font-size: 21px; color: var(--cover-ink, #fff); margin: 0 0 6px; }
.cover-guest b { color: var(--accent-light); font-weight: 600; }
.guest-greeting { font-family: var(--serif); font-size: clamp(22px, 3vw, 28px); color: var(--primary); margin: 0 0 10px; }
.guest-greeting b { font-weight: 700; }
.rsvp-section { text-align: center; }
.rsvp-card { max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px 26px; }
.rsvp-card p { color: var(--muted); }
.rsvp-row { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 18px 0; flex-wrap: wrap; }
.rsvp-count { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.rsvp-count button { width: 44px; height: 44px; border: 0; background: var(--bg-2); font-size: 22px; cursor: pointer; color: var(--primary); }
.rsvp-count output { min-width: 54px; text-align: center; font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--primary); }
.rsvp-name { width: 100%; max-width: 360px; font: inherit; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--bg); }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1fb558; }
.made-with a { color: var(--ink); }

/* Sample page offer */
.sample-offer { position: fixed; right: 0; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 1300; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; max-width: calc(100% - 16px); font-family: var(--sans); }
.sample-tabs { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.sample-pop { position: relative; width: min(260px, 100%); display: grid; gap: 6px; margin-right: 14px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; padding: 10px 12px; box-shadow: 0 16px 40px rgba(42, 22, 33, .22); }
.sample-pop p { margin: 0; padding-right: 22px; font-size: 14px; font-weight: 500; line-height: 1.25; }
.sample-pop .btn { width: 100%; padding: 8px 12px; font-size: 14px; }
.sample-pop-close { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.sample-offer-btn { display: inline-flex; align-items: center; justify-content: center; border: 0; background: var(--primary); color: #fff; font-family: var(--sans); font-size: 14px; font-weight: 500; border-radius: 12px 0 0 12px; padding: 12px 16px; cursor: pointer; text-decoration: none; box-shadow: 0 10px 24px rgba(42, 22, 33, .25); }
.sample-switch { background: #fff; color: var(--primary); font-size: 16px; font-weight: 600; padding: 15px 22px; }
.sample-back { background: var(--ink); color: #fff; }

html body .hero.has-bg::before {
  background:
    linear-gradient(var(--hero-veil), var(--hero-veil)),
    var(--hero-image) center / cover no-repeat;
}
html body .countdown-section.has-bg::before {
  background: var(--hero-veil);
}
@media (max-width: 760px) {
  html body .hero.has-phone-bg::before {
    background:
      linear-gradient(var(--hero-veil), var(--hero-veil)),
      var(--hero-image-phone) center / cover no-repeat;
  }
}
html body .hero.has-bg.has-video-bg::before,
html body .hero.has-bg.has-media-el::before,
html body .countdown-section.has-bg.has-video-bg::before,
html body .countdown-section.has-bg.has-media-el::before { background: var(--hero-veil); }
@media (max-width: 760px) {
  html body .hero.has-phone-bg.has-video-bg::before,
  html body .hero.has-phone-bg.has-media-el::before { background: var(--hero-veil); }
}
html body .event-card.event-main {
  background: var(--event-bg);
  background-color: var(--event-bg);
  color: var(--ink);
}
html body.tone-dark .event-card.event-main {
  color: var(--bg);
}
html body.tone-dark .event-card.event-main .date-block,
html body.tone-dark .event-card.event-main .date-day,
html body.tone-dark .event-card.event-main .date-month,
html body.tone-dark .event-card.event-main .date-num,
html body.tone-dark .event-card.event-main .event-date,
html body.tone-dark .event-card.event-main .event-day,
html body.tone-dark .event-card.event-main .trad-date,
html body.tone-dark .event-card.event-main .venue,
html body.tone-dark .event-card.event-main .place {
  color: var(--bg);
}
html body.tone-dark .event-card.event-main .btn-primary {
  background: var(--bg);
  color: var(--primary);
}
html body.tone-dark .event-card.event-main .btn-ghost {
  color: var(--bg);
  border-color: var(--bg);
}
html body.tone-dark .family-card {
  background: color-mix(in srgb, var(--bg) 14%, #fff);
  color: var(--family-ink);
}
html body .family-card,
html body .family-card .family-role,
html body .family-card h3,
html body .family-card .family-rel,
html body .family-card .family-parents,
html body .family-card .family-about,
html body .family-card .family-home,
html body .family-card .family-home strong {
  color: var(--family-ink);
}
html body.tone-light .cover-names,
html body.tone-light .cover-names em,
html body.tone-light .couple .script,
html body.tone-light .family-card h3,
html body.tone-light .seal span {
  color: var(--primary);
}
html body.tone-dark .family-card h3 {
  color: var(--family-ink);
}
html body.tone-dark .hero,
html body.tone-dark .hero .header-line,
html body.tone-dark .hero .blessing,
html body.tone-dark .hero .invite-text,
html body.tone-dark .hero .guest-greeting,
html body.tone-dark .hero .couple .script,
html body.tone-dark .hero .couple .with,
html body.tone-dark .hero .tagline,
html body.tone-dark .hero .scroll-cue,
html body.tone-dark .hero .sym {
  color: var(--ink);
}

html body.tone-dark .hero .tagline{
  padding: 0 10px;
}
html body .countdown-section,
html body .countdown-section .section-title,
html body .countdown strong,
html body .countdown span,
html body .countdown-done {
  color: var(--door-edge);
}
html body .event-card.event-other {
  background: var(--alt-bg);
  background-color: var(--alt-bg);
  color: var(--alt-ink);
}
html body.tone-dark .event-card.event-other .card-actions .btn-accent,
html body.tone-dark .event-card.event-other .card-actions .btn-primary,
html body.tone-dark .event-card.event-other .card-actions .btn-ghost {
  background: var(--bg);
  color: var(--primary);
  border-color: var(--bg);
  box-shadow: none;
}
html body.tone-dark .find-card .btn,
html body.tone-dark .find-card .btn-primary {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--ink);
}
html body.tone-dark .find-card h3 {
  color: var(--accent-light);
}
html body.tone-dark .find-card {
  color: var(--family-ink);
}
html body.tone-dark .find-card .venue,
html body.tone-dark .find-card .place,
html body.tone-dark .find-card .find-when {
  color: #fff;
}
html body footer.contacts,
html body .contacts {
  background: var(--bg);
  background-color: var(--bg);
  color: var(--ink);
}
html body .contacts .contacts-title,
html body .contacts .made-with,
html body .contacts .made-with a,
html body .contacts .contact-list a,
html body .contacts .contact-list small,
html body .contacts .contact-list strong,
html body .contacts .studio-credit,
html body .contacts .studio-credit a,
html body .contacts .studio-credit strong {
  color: var(--ink);
}
html body .topbar,
html body .border-strip { display: none; }
html body.tone-dark .cover-content,
html body.tone-dark .cover-content .cover-header,
html body.tone-dark .cover-content .cover-kicker,
html body.tone-dark .cover-content .cover-names,
html body.tone-dark .cover-content .cover-names em,
html body.tone-dark .cover-content .cover-date,
html body.tone-dark .cover-content .cover-guest,
html body.tone-dark .cover-content .cover-guest b,
html body.tone-dark .cover-content .sym {
  color: var(--bg);
}
html body.tone-dark .cover-content .btn-accent {
  background: var(--bg);
  color: var(--primary);
  box-shadow: none;
}
html body.entrance-click.tone-dark .cover-content,
html body.entrance-click.tone-dark .cover-content .cover-header,
html body.entrance-click.tone-dark .cover-content .cover-kicker,
html body.entrance-click.tone-dark .cover-content .cover-names,
html body.entrance-click.tone-dark .cover-content .cover-names em,
html body.entrance-click.tone-dark .cover-content .cover-date,
html body.entrance-click.tone-dark .cover-content .cover-guest,
html body.entrance-click.tone-dark .cover-content .cover-guest b,
html body.entrance-click.tone-dark .cover-content .sym {
  color: var(--ink);
}
html body.entrance-click.tone-dark .cover-content .btn-accent {
  background: var(--ink);
  color: var(--bg);
}
