/* ============ Mercy & Victor — Romantic Keepsake (v4) ============ */
:root {
  --script-font: 'Dancing Script', cursive;
  --band-bg: #123B3A;
  --paper: #EFE8D8;
  --paper-2: #F3EDDF;
  --paper-edge: #E4DAC4;
  --red: #871C1C;
  --red-deep: #6E1414;
  --peach: #F3C89B;
  --peach-deep: #E8B074;
  --ink: #34281F;
  --ink-soft: #6A5B4C;
  --ink-faint: #A2917D;
  --cream-card: #F7F2E7;
  --pink-card: #F3E2E0;
  --blue-card: #DCE6E6;
  --line: #CBBEA6;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Courier Prime', 'Courier New', monospace;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
  background: var(--paper);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }

/* paper texture applied to light sections */
.paper {
  position: relative;
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,0.5), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(220,208,184,0.45), transparent 45%),
    repeating-linear-gradient(90deg, transparent 0 119px, rgba(180,165,140,0.07) 119px 120px);
}
.paper-2 { background-color: var(--paper-2); }

.script {
  font-family: var(--script-font);
  font-weight: 400;
  line-height: 0.95;
}
.type { font-family: 'Courier Prime', monospace; }
.caps {
  font-family: 'Courier Prime', monospace;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 12px;
}

/* highlighter tag */
.hl {
  background: var(--red);
  padding: 4px 12px;
  display: inline-block;
  transform: rotate(-0.6deg);
  color: var(--paper);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* polaroid */
.polaroid {
  background: #fff;
  padding: 12px 12px 44px;
  box-shadow: 0 18px 40px -16px rgba(52,40,31,0.45);
  position: relative;
}
.polaroid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.polaroid .ph { display: block; overflow: hidden; }
.polaroid figcaption {
  position: absolute;
  bottom: 12px; left: 0; right: 0;
  text-align: center;
  font-family: var(--script-font);
  font-size: 26px;
  color: var(--ink-soft);
  line-height: 1;
}
/* washi tape */
.tape {
  position: absolute;
  width: 92px; height: 28px;
  background: rgba(243,200,155,0.6);
  border-left: 1px dashed rgba(255,255,255,0.5);
  border-right: 1px dashed rgba(255,255,255,0.5);
  z-index: 5;
}
.tape.t1 { top: -12px; left: 30px; transform: rotate(-8deg); }
.tape.t2 { top: -12px; right: 30px; transform: rotate(7deg); }

/* margin scribble */
.scribble {
  font-family: var(--script-font);
  color: var(--ink-faint);
  opacity: 0.5;
  font-size: 22px;
  line-height: 1.1;
  position: absolute;
  transform: rotate(-12deg);
  pointer-events: none;
  max-width: 150px;
}

/* flower slot styling */
image-slot {
  --is-placeholder-bg: transparent;
  filter: drop-shadow(0 8px 14px rgba(52,40,31,0.18));
}

/* ============ Hero ============ */
.hero { position: relative; padding: 70px 6vw 90px; overflow: hidden; }
.hero-grid {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 50px; align-items: center;
}
.hero-poto-wrap { position: relative; }
.hero .polaroid {
  width: min(420px, 80%);
  transform: rotate(-4deg);
  margin: 20px auto;
}
.hero .polaroid .ph { aspect-ratio: 4/5; }
.hero-text { text-align: left; }
.hero-hash-corner {
  position: absolute; top: 28px; right: 6vw; z-index: 6;
  font-family: var(--script-font); font-size: 40px; color: var(--red);
  line-height: 0.8; transform: rotate(-4deg);
}
.hero-names {
  font-family: var(--script-font);
  font-size: clamp(72px, 10vw, 132px);
  color: var(--ink);
  line-height: 0.78;
}
.hero-names .and {
  display: block;
  font-size: 0.62em;
  color: var(--ink-soft);
  margin: 0.04em 0 0.04em 0.4em;
}
.hero-knot { margin-top: 22px; color: var(--ink); }
.hero-flourish { font-size: 30px; color: var(--ink-soft); margin: 10px 0; font-family: var(--script-font); }
.hero-join { margin-top: 16px; color: var(--ink-soft); max-width: 360px; }
.hero-date { margin-top: 16px; font-size: 17px; }
.hero-count {
  margin-top: 26px;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.hero-count .c { text-align: center; }
.hero-count .c .n {
  background: var(--red); color: var(--paper);
  font-size: 22px; padding: 6px 12px; min-width: 50px; display: inline-block;
  transform: rotate(-1deg);
}
.hero-count .c .l { display: block; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 6px; color: var(--ink-soft); }

/* decorative flower positions */
.floral-svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 6px 10px rgba(52,40,31,0.16)); }
.floral-img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(52,40,31,0.18)); }
.red-divider .floral-img, .foot-floral .floral-img { object-position: center; }
.flower { position: absolute; z-index: 1; }
.hero .polaroid .f-hero-tl { top: -58px; left: -58px; width: 185px; height: 185px; transform: rotate(-2deg); z-index: 3; }
.flower.f-hero-bl { bottom: 24px; left: 3vw; width: 130px; height: 130px; transform: rotate(8deg); }
.flower.f-sched-tl { top: 50px; left: 4vw; width: 130px; height: 130px; transform: rotate(-10deg); }
.flower.f-sched-r { bottom: 80px; right: 5vw; width: 120px; height: 150px; transform: rotate(8deg); }
.red-divider { display: block; width: 150px; height: 140px; margin: 4px auto; }

/* ============ Dark photo band ============ */
.darkband { background: var(--band-bg, #15110E); padding: 60px 6vw; }
.slider { max-width: 430px; margin: 0 auto; position: relative; }
.darkband .frame {
  width: 100%;
  background: #211a15;
  border: 1px solid #3a2f26;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8);
  position: relative;
  overflow: hidden;
}
.slider-track { display: flex; transition: transform 0.6s cubic-bezier(0.4,0,0.2,1); }
.slide { min-width: 100%; }
.slide .ph { display: block; border-radius: 6px; overflow: hidden; aspect-ratio: 3/4; }
.slide .ph img { width: 100%; height: 100%; object-fit: cover; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(33,26,21,0.82); color: var(--paper);
  border: 1px solid #4a3d30; cursor: pointer;
  font-size: 26px; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.slider-arrow:hover { background: var(--red); transform: translateY(-50%) scale(1.06); }
.slider-arrow.prev { left: -14px; }
.slider-arrow.next { right: -14px; }
.slider-dots { display: flex; gap: 9px; justify-content: center; margin-top: 22px; }
.slider-dots .dot {
  width: 9px; height: 9px; border-radius: 50%; padding: 0; cursor: pointer; border: 0;
  background: rgba(243,200,155,0.35); transition: all 0.2s;
}
.slider-dots .dot.on { background: var(--peach); transform: scale(1.25); }
.darkband img { filter: saturate(0.85) contrast(0.95) sepia(0.12); }

/* gallery: scrapbook scatter */
.darkband.gal-scatter { padding: 70px 6vw; }
.scatter {
  max-width: 940px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  align-items: start;
}
.scatter-item { width: 100%; }
.scatter-item .ph { display: block; overflow: hidden; aspect-ratio: 3/4; }
.scatter-item img { width: 100%; height: 100%; object-fit: cover; }
.scatter-item figcaption {
  position: absolute; bottom: 12px; left: 0; right: 0; text-align: center;
  font-family: var(--script-font); font-size: 22px; color: var(--ink-soft); line-height: 1;
}
.scatter-item { transition: transform 0.3s ease, z-index 0s; }
.scatter-item:hover { transform: rotate(0deg) scale(1.04) !important; z-index: 4; }

/* gallery: filmstrip */
.darkband.gal-filmstrip { padding: 54px 0; overflow: hidden; }
.filmstrip-wrap { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.filmstrip {
  display: flex; gap: 10px; width: max-content;
  padding: 14px 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 18px, #0c0a08 18px 30px) top/auto 14px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 18px, #0c0a08 18px 30px) bottom/auto 14px no-repeat,
    #1a1410;
  animation: filmroll 36s linear infinite;
}
.filmstrip-wrap:hover .filmstrip { animation-play-state: paused; }
@keyframes filmroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.film-frame { margin: 0; flex: 0 0 auto; width: 230px; border: 2px solid #0c0a08; background: #0c0a08; }
.film-frame .ph { display: block; overflow: hidden; aspect-ratio: 3/4; }
.film-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ============ Section scaffold ============ */
section { position: relative; }
.sec-pad { padding: 110px 6vw; }
.wrap { max-width: 1080px; margin: 0 auto; }

/* Story */
.story { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
.story .polaroid { width: min(360px, 90%); transform: rotate(-3deg); }
.story .polaroid .ph { aspect-ratio: 4/5; }
.story-figure { position: relative; }
.story-figure .f-story { position: absolute; top: -78px; right: -4%; width: 150px; height: 150px; transform: rotate(14deg); z-index: 3; }
.story-body { text-align: center; }
.story-body h2 {
  font-family: var(--script-font);
  font-size: clamp(52px, 7vw, 92px);
  color: var(--ink);
  line-height: 0.85;
  margin-bottom: 30px;
  text-align: right;
}
.story-body p { color: var(--ink-soft); max-width: 460px; margin: 0 auto 18px; text-wrap: pretty; }
.story-body p em { font-style: normal; background: var(--red); padding: 1px 7px; color: var(--paper); }

/* How We Met */
.hwm { position: relative; }
.hwm .f-hwm-tr { top: 50px; right: 4vw; width: 120px; height: 120px; transform: rotate(14deg); }
.hwm-head { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.hwm-head .caps { color: var(--red); display: block; margin-bottom: 10px; }
.hwm-head h2 { font-family: var(--script-font); font-size: clamp(56px, 8vw, 104px); color: var(--ink); line-height: 0.8; }
.hwm-head .hwm-intro { margin-top: 22px; color: var(--ink-soft); font-size: 16px; text-wrap: pretty; }
.hwm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; max-width: 940px; margin: 0 auto; }
.hwm-col { text-align: center; }
.hwm-col .polaroid { width: min(300px, 86%); margin: 0 auto; }
.hwm-col .polaroid.tilt-l { transform: rotate(-3deg); }
.hwm-col .polaroid.tilt-r { transform: rotate(3deg); }
.hwm-col .polaroid .ph { aspect-ratio: 4/5; }
.hwm-by { font-family: var(--script-font); font-size: 52px; color: var(--red); line-height: 0.8; margin: 26px 0 18px; }
.hwm-col p { color: var(--ink-soft); font-size: 14.5px; text-align: left; margin-bottom: 16px; text-wrap: pretty; }
.hwm-col p em { font-style: normal; background: var(--peach); padding: 1px 7px; }
.hwm-quote { text-align: center; font-family: var(--script-font); font-size: clamp(34px, 4.5vw, 56px); color: var(--ink); margin-top: 56px; opacity: 0.9; }

/* Red feature section */
.red { background: var(--feature-bg, #123B3A); color: var(--paper); position: relative; }
.red::before, .red::after {
  content: ''; position: absolute; left: 0; right: 0; height: 10px;
  background-image: radial-gradient(circle at 8px -2px, transparent 8px, var(--feature-bg, #123B3A) 9px);
  background-size: 18px 10px;
}
.red::before { top: -9px; transform: scaleY(-1); }
.red::after { bottom: -9px; }
.red-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.red h2 {
  font-family: var(--script-font);
  font-size: clamp(46px, 6.5vw, 84px);
  color: var(--paper);
  line-height: 0.9;
  margin-bottom: 30px;
}
.red .collage {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin: 0 auto 34px; min-height: 120px;
}
.red p { color: rgba(246,232,216,0.9); max-width: 600px; margin: 0 auto; }

/* two events inside red */
.events { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 14px; text-align: left; }
.event {
  border: 1px solid rgba(243,200,155,0.4);
  padding: 26px;
}
.event .city { font-family: 'Courier Prime', monospace; text-transform: uppercase; letter-spacing: 0.24em; font-size: 11px; color: var(--peach); }
.event .dt { font-family: var(--script-font); font-size: 46px; line-height: 0.9; margin: 8px 0 4px; color: var(--paper); }
.event .kind { font-size: 13px; color: rgba(246,232,216,0.85); margin-bottom: 16px; }
.event .row { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 5px 0; font-size: 13px; }
.event .row dt { color: var(--peach); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; padding-top: 3px; }
.event .row dd { color: var(--paper); }

/* Schedule */
.sched { position: relative; }
.sched-card {
  max-width: 540px; margin: 0 auto;
  background: var(--pink-card);
  padding: 48px 46px;
  box-shadow: 0 24px 50px -26px rgba(52,40,31,0.35);
  transform: rotate(-0.8deg);
  position: relative;
}
.sched-card .date-caps { text-align: center; }
.sched-card h2 { font-family: var(--script-font); font-size: clamp(48px, 6vw, 78px); text-align: center; color: var(--ink); line-height: 0.85; margin: 8px 0 30px; }
.sched-row { display: flex; align-items: baseline; gap: 14px; padding: 11px 0; }
.sched-row .tm { background: var(--peach); padding: 3px 10px; font-size: 13px; white-space: nowrap; transform: rotate(-1deg); }
.sched-row .leader { flex: 1; border-bottom: 1px dotted var(--ink-soft); transform: translateY(-4px); opacity: 0.5; }
.sched-row .ev { font-size: 14px; }

/* Wedding Details (red, cards) */
.details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; text-align: left; }
.dcard { padding: 26px 24px; box-shadow: 0 16px 34px -20px rgba(0,0,0,0.4); }
.dcard.c1 { background: var(--cream-card); transform: rotate(-1.2deg); }
.dcard.c2 { background: var(--pink-card); transform: rotate(0.6deg); }
.dcard.c3 { background: var(--blue-card); transform: rotate(-0.5deg); }
.dcard h3 { display: inline-block; background: var(--peach); padding: 3px 10px; font-family: 'Courier Prime', monospace; text-transform: uppercase; letter-spacing: 0.18em; font-size: 12px; color: var(--ink); margin-bottom: 16px; }
.dcard p { color: var(--ink-soft); font-size: 13.5px; line-height: 1.7; }

/* RSVP */
.rsvp { position: relative; }
.rsvp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 46px; flex-wrap: wrap; }
.rsvp-head h2 { font-family: var(--script-font); font-size: clamp(54px, 7vw, 96px); color: var(--ink); line-height: 0.8; }
.rsvp-h-rsvp, .faq-head { display: none; }
.rsvp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contacts .contact { padding: 16px 0; border-top: 1px solid var(--line); }
.contacts .contact .nm { background: var(--peach); display: inline-block; padding: 3px 10px; font-family: 'Courier Prime'; text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; margin-bottom: 12px; }
.contacts .contact .role { text-transform: uppercase; letter-spacing: 0.24em; font-size: 11px; color: var(--ink-soft); margin-bottom: 8px; }
.contacts .contact .lines { font-size: 13px; color: var(--ink-soft); }
.contacts .contact .lines span { display: block; }

/* FAQ */
.faq-item { padding: 18px 0; border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { font-family: var(--script-font); font-size: 30px; color: var(--red); line-height: 0.95; margin-bottom: 8px; }
.faq-a { font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
.faq-a strong { color: var(--ink); font-weight: 700; }

/* RSVP form (functional addition) */
.rsvp-form-wrap {
  background: var(--cream-card);
  padding: 34px 32px;
  box-shadow: 0 22px 46px -26px rgba(52,40,31,0.4);
  transform: rotate(0.5deg);
  position: relative;
}
.rsvp-form-wrap .tape { background: rgba(135,28,28,0.18); }
.rsvp-form-head { display: none; margin-bottom: 24px; }
.rsvp-form-head h3 { font-family: var(--script-font); font-size: 46px; color: var(--ink); line-height: 0.82; margin-bottom: 6px; }
.rsvp-form-head p { font-size: 13px; color: var(--ink-soft); }
.fr { margin-bottom: 18px; }
.fr.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fl { display: block; text-transform: uppercase; letter-spacing: 0.2em; font-size: 10px; color: var(--red); margin-bottom: 7px; }
.fi, .fs, .ft {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 8px 0; font-family: 'Courier Prime', monospace; font-size: 15px; color: var(--ink); outline: none;
}
.fi:focus, .fs:focus, .ft:focus { border-color: var(--red); }
.ft { border: 1px solid var(--line); padding: 10px; min-height: 64px; resize: vertical; }
.fe { font-size: 11px; color: var(--red); margin-top: 5px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { flex: 1; min-width: 120px; padding: 11px; border: 1px solid var(--line); text-align: center; cursor: pointer; font-size: 13px; transition: all 0.2s; user-select: none; background: transparent; }
.chip:hover { border-color: var(--peach-deep); }
.chip.on { background: var(--red); color: var(--paper); border-color: var(--red); }
.chip .s { display: block; text-transform: uppercase; letter-spacing: 0.16em; font-size: 8px; color: var(--red); margin-bottom: 4px; }
.chip.on .s { color: var(--peach); }
.fsub { width: 100%; margin-top: 8px; padding: 15px; background: var(--red); color: var(--paper); border: 0; cursor: pointer; font-family: 'Courier Prime', monospace; text-transform: uppercase; letter-spacing: 0.24em; font-size: 12px; transition: all 0.2s; }
.fsub:hover { background: var(--red-deep); letter-spacing: 0.3em; }
.ok { text-align: center; padding: 16px 0; }
.ok .seal { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--red); color: var(--red); display: inline-flex; align-items: center; justify-content: center; font-family: var(--script-font); font-size: 34px; margin-bottom: 14px; }
.ok h3 { font-family: var(--script-font); font-size: 48px; color: var(--ink); line-height: 0.8; margin-bottom: 10px; }
.ok p { color: var(--ink-soft); font-size: 14px; }
.ok .recap { margin-top: 20px; text-align: left; border-top: 1px solid var(--line); }
.ok .recap div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.ok .recap dt { text-transform: uppercase; letter-spacing: 0.16em; font-size: 9px; color: var(--red); padding-top: 3px; }
.ok .edit { margin-top: 16px; background: none; border: 0; color: var(--red); font-family: var(--script-font); font-size: 24px; cursor: pointer; }

/* Footer */
.foot { background: #0E2E2D; color: var(--paper); text-align: center; padding: 70px 6vw; }
.foot .foot-floral { display: block; width: 150px; height: 140px; margin: 0 auto 14px; opacity: 0.95; }
.foot .fnames { font-family: var(--script-font); font-size: 64px; line-height: 0.8; color: var(--paper); }
.foot .fhash { font-family: 'Courier Prime', monospace; letter-spacing: 0.2em; font-size: 13px; color: var(--peach); margin-top: 18px; }
.foot .fsub { font-size: 11px; color: #C77BE0; margin-top: 6px; letter-spacing: 0.1em; }

/* Travel mini inside RSVP area */
.colors-line { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 40px; flex-wrap: wrap; }
.colors-line .lab { text-transform: uppercase; letter-spacing: 0.24em; font-size: 10px; color: var(--ink-soft); }
.colors-line .pill { display: flex; align-items: center; gap: 8px; font-family: var(--script-font); font-size: 24px; color: var(--ink); }
.colors-line .cd { width: 16px; height: 16px; border-radius: 50%; }
.colors-line .cd.red { background: var(--red); }
.colors-line .cd.peach { background: var(--peach-deep); }

/* Responsive */
@media (max-width: 880px) {
  .sec-pad { padding: 70px 22px; }
  .hero { padding: 50px 22px 60px; }
  .hero-hash-corner { font-size: 30px; top: 16px; right: 22px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-text { text-align: center; }
  .hero-join, .hero-names .and { margin-left: auto; margin-right: auto; }
  .hero-count { justify-content: center; }
  .hero .polaroid .f-hero-tl { width: 132px; height: 132px; top: -42px; left: -42px; }
  .flower.f-hero-bl { display: none; }
  .story { grid-template-columns: 1fr; gap: 36px; }
  .story-figure { order: -1; }
  .story-body h2, .story-body p { text-align: center; }
  .hwm-grid { grid-template-columns: 1fr; gap: 50px; }
  .hwm .f-hwm-tr { display: none; }
  .events { grid-template-columns: 1fr; }
  .details-grid { grid-template-columns: 1fr; }
  .rsvp-grid { grid-template-columns: 1fr; gap: 36px; }
  .rsvp-form-wrap { order: -1; }
  .faq { order: 0; }
  /* Split the combined heading into two distinct section headings on mobile */
  .rsvp-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .rsvp-h-full { display: none; }
  .rsvp-h-rsvp { display: block; }
  .faq-head { display: block; font-size: clamp(46px, 13vw, 64px); color: var(--ink); line-height: 0.82; margin-bottom: 20px; }
  .fr.two { grid-template-columns: 1fr; }
  .scatter { grid-template-columns: 1fr 1fr; gap: 14px; max-width: 420px; }
  .film-frame { width: 170px; }
}

/* ============ Alternate theme: Teal & Plum ============ */
:root[data-theme="tealplum"] {
  --paper: #ECE7DE;
  --paper-2: #F1ECE3;
  --paper-edge: #DFD8CC;
  --red: #5C3A6E;
  --red-deep: #43264F;
  --peach: #A4D4CE;
  --peach-deep: #79BDB5;
  --ink: #2E2833;
  --ink-soft: #5C5263;
  --ink-faint: #978C9C;
  --cream-card: #F5F0E9;
  --pink-card: #EBE2F0;
  --blue-card: #D8E8E6;
  --line: #CBC1C7;
}
:root[data-theme="tealplum"] .rsvp-form-wrap .tape { background: rgba(92,58,110,0.18); }
:root[data-theme="tealplum"] .darkband img { filter: saturate(0.94) contrast(0.97); }

/* hashtag visibility tweak */
body.no-hashtag .hero-hash-corner { display: none; }

/* ============ Tweaks panel (vanilla) ============ */
#mv-tweaks {
  position: fixed; top: 20px; right: 20px; z-index: 99999; width: 250px;
  background: #fffdf8; border: 1px solid #E2DCCB; border-radius: 12px;
  box-shadow: 0 24px 60px -18px rgba(40,28,20,0.4);
  font-family: 'Courier Prime', 'Courier New', monospace; color: #34281F;
  display: none; overflow: hidden; user-select: none;
}
#mv-tweaks.open { display: block; }
#mv-tweaks .tw-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-bottom: 1px solid #EEE7D6; background: #FAF6EC; cursor: move;
}
#mv-tweaks .tw-title { text-transform: uppercase; letter-spacing: 0.22em; font-size: 11px; font-weight: 700; }
#mv-tweaks .tw-close {
  border: 0; background: none; cursor: pointer; font-size: 18px; line-height: 1;
  color: #A2917D; padding: 0 2px;
}
#mv-tweaks .tw-close:hover { color: #34281F; }
#mv-tweaks .tw-body { padding: 16px 14px; display: flex; flex-direction: column; gap: 20px; }
#mv-tweaks .tw-label {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 10px;
  color: #8A7E6C; margin-bottom: 9px; display: block;
}
#mv-tweaks .tw-seg { display: flex; border: 1px solid #DDD5C2; border-radius: 8px; overflow: hidden; }
#mv-tweaks .tw-seg button {
  flex: 1; border: 0; border-left: 1px solid #DDD5C2; background: #fff;
  padding: 10px 6px; font-family: inherit; font-size: 12px; cursor: pointer; color: #34281F;
  transition: background 0.15s, color 0.15s;
}
#mv-tweaks .tw-seg button:first-child { border-left: 0; }
#mv-tweaks .tw-seg button.on { background: #34281F; color: #fff; }
#mv-tweaks .tw-swatches { display: flex; gap: 7px; margin-top: 10px; }
#mv-tweaks .tw-sw { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px #fffdf8, 0 0 0 1px #d8d0c2; }
#mv-tweaks .tw-toggle { display: flex; align-items: center; justify-content: space-between; }
#mv-tweaks .tw-toggle .tw-label { margin: 0; }
#mv-tweaks .tw-switch {
  width: 42px; height: 23px; border-radius: 20px; background: #D8D0C2; position: relative;
  cursor: pointer; transition: background 0.2s; border: 0; flex: none;
}
#mv-tweaks .tw-switch.on { background: var(--red, #5C3A6E); }
#mv-tweaks .tw-switch::after {
  content: ''; position: absolute; top: 2px; left: 2px; width: 19px; height: 19px;
  border-radius: 50%; background: #fff; transition: transform 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
#mv-tweaks .tw-switch.on::after { transform: translateX(19px); }
#mv-tweaks .tw-select {
  width: 100%; padding: 9px 10px; border: 1px solid #DDD5C2; border-radius: 8px;
  background: #fff; font-family: inherit; font-size: 13px; color: #34281F; cursor: pointer;
}
#mv-tweaks .tw-preview {
  margin-top: 10px; text-align: center; font-size: 34px; line-height: 1;
  color: var(--red, #5C3A6E); padding: 6px 0 2px;
}
#mv-tweaks .tw-bandrow { display: flex; gap: 8px; }
#mv-tweaks .tw-band-sw {
  width: 30px; height: 30px; border-radius: 7px; cursor: pointer; padding: 0;
  border: 1px solid rgba(0,0,0,0.15); box-shadow: inset 0 0 0 0 #fffdf8;
  transition: transform 0.12s, box-shadow 0.12s;
}
#mv-tweaks .tw-band-sw:hover { transform: translateY(-1px); }
#mv-tweaks .tw-band-sw.on { box-shadow: inset 0 0 0 2px #fffdf8, 0 0 0 2px #34281F; }
#mv-tweaks .tw-bandname {
  margin-top: 8px; font-size: 11px; letter-spacing: 0.1em; color: #8A7E6C; text-align: center;
}
