/* Minang touches: adat titles above the names, the event subtitle, and the songket button. */
#couple .profile-copy .profile-role {
  margin: 0 0 2px; padding-left: .3em;
  font: 500 10px/1.8 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: #d9bf8c;
}
#invitation-content #celebration .event-block > .event-subtitle {
  margin: -6px auto 4px; font: italic clamp(.95rem, 3.4vw, 1.05rem)/1.6 var(--serif); color: #e9d8bf;
}

/* Buttons share one antique-gold pucuak rabuang frame (fixed 16px / 24px slices: only its plain
   rules stretch, so the corner motifs keep their proportions on narrow or two-line buttons) and
   one lettering, but each ground gets its own fill:
   - the curtain and the opening film (cover, closing curtain): a deep plate with a warm glow,
     so the way in stands out from the busy weave;
   - the dark panels and the stage: no fill, the velvet shows through the frame;
   - the ivory cards: solid wine for the main action, bare paper with wine lettering for the
     small copy buttons. */
.button {
  min-height: 56px; padding: 14px 28px;
  font: 600 14px/1.5 var(--serif); letter-spacing: .12em; text-transform: uppercase;
}
.button:is(.gold-button, .outline-button, .burgundy-button) {
  --button-fill: #401426; --button-hover: #4c2335; --button-press: #341322; --button-ink: #f4e7d2;
  color: var(--button-ink); text-shadow: none;
  border: 1px solid #b8a078; border-radius: 4px;
  border-image: url('assets/decorations/songket/button-frame.svg') 16 24 / 16px 24px / 0 stretch;
  background: var(--button-fill);
  box-shadow: 0 2px 5px #1908101f;
  transition: background-color .2s ease, color .2s ease;
}
/* Curtain and film */
.button.gold-button, #cover .button.outline-button {
  --button-fill: #2c0913; --button-hover: #3a0d1c; --button-press: #22060e; --button-ink: #f3deb0;
  box-shadow: 0 0 0 1px #e3c27a40, 0 6px 22px #0a0205b3, 0 0 28px #e3c27a2b;
}
/* Dark panels and stage */
#invitation-content .button.outline-button {
  --button-fill: #1a060c33; --button-hover: #b8a07826; --button-press: #b8a07814;
  box-shadow: none;
}
/* Ivory cards */
#invitation-content .rsvp-card .button.outline-button {
  --button-fill: #40142608; --button-hover: #40142614; --button-press: #4014261f; --button-ink: #401426;
}
.button:is(.gold-button, .outline-button, .burgundy-button) svg {
  stroke: currentColor; stroke-width: 1.4; filter: none;
}
/* Keep the existing shared hover/active lift from moving this quiet frame. */
.button:is(.gold-button, .outline-button, .burgundy-button):is(:hover, :active) { transform: none; }
@media (hover: hover) and (pointer: fine) {
  .button:is(.gold-button, .outline-button, .burgundy-button):not(:disabled):hover { background-color: var(--button-hover); }
}
.button:is(.gold-button, .outline-button, .burgundy-button):not(:disabled):active { background-color: var(--button-press); }
.button:is(.gold-button, .outline-button, .burgundy-button):focus-visible { outline: 2px solid #ecd3a0; outline-offset: 3px; }
.rsvp-card .button:focus-visible { outline-color: #401426; }
.button:is(.gold-button, .outline-button, .burgundy-button):disabled { opacity: .6; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) {
  .button:is(.gold-button, .outline-button, .burgundy-button) { transition: none; }
}
