/* Image-free invitation collection. All effects are local and decorative. */
.ai-invitation {
  --ai-paper: #f1eee7; --ai-ink: #323b36; --ai-muted: #59635c;
  --ai-line: #c6cbc0; --ai-accent: #485c4c;
  color: var(--ai-ink); background: var(--ai-paper); border-radius: 24px;
  overflow: hidden; isolation: isolate;
}
.ai-invitation[data-ai-template="reveal_vow"] {
  --ai-paper: #f6f1e8; --ai-ink: #433e37; --ai-muted: #70685c;
  --ai-line: #c9baa4; --ai-accent: #655c4d;
}
.ai-invitation[data-ai-template="reveal_chapter"] {
  --ai-paper: #eee3da; --ai-ink: #493d39; --ai-muted: #71615c;
  --ai-line: #c7b1a5; --ai-accent: #72554c;
}
.ai-invitation[data-ai-template="reveal_studio"] {
  --ai-paper: #e8ede6; --ai-ink: #2f4037; --ai-muted: #526458;
  --ai-line: #b3c0b4; --ai-accent: #405c49;
}
.ai-invitation[data-ai-template="reveal_afterhours"] {
  --ai-paper: #29282e; --ai-ink: #eee8e1; --ai-muted: #c0b8b6;
  --ai-line: #635b63; --ai-accent: #ddd0c2;
}
.ai-invitation[data-ai-template="reveal_forum"] {
  --ai-paper: #e6e9ed; --ai-ink: #283342; --ai-muted: #526073;
  --ai-line: #aab4c0; --ai-accent: #344b65;
}
.ai-invitation[data-ai-template="reveal_assembly"] {
  --ai-paper: #eeece5; --ai-ink: #41443e; --ai-muted: #63665e;
  --ai-line: #c1c1b4; --ai-accent: #525c4b;
}
.ai-cover {
  position: relative; display: grid; align-content: center; justify-items: center;
  gap: 22px; min-height: min(680px, 85svh); padding: clamp(32px, 7vw, 90px) 28px;
  text-align: center; background: var(--ai-paper); color: var(--ai-ink);
}
.ai-cover > :not(.ai-ornament) { position: relative; z-index: 1; }
.ai-cover-kicker { margin: 0; color: var(--ai-muted); font: 500 11px/1.6 system-ui, sans-serif; letter-spacing: .22em; text-transform: uppercase; }
.ai-cover-title { max-width: 18ch; margin: 0; font: 400 clamp(32px, 6vw, 72px)/1.09 Georgia, serif; letter-spacing: -.045em; overflow-wrap: anywhere; text-wrap: balance; }
.ai-cover-date { max-width: 34ch; margin: 0; color: var(--ai-muted); font: 400 14px/1.8 system-ui, sans-serif; }
.ai-open-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  min-height: 48px; padding: 14px 25px; margin-top: 10px; border: 1px solid var(--ai-accent);
  border-radius: 999px; background: var(--ai-accent); color: var(--ai-paper);
  font: 500 13px/1.4 system-ui, sans-serif; letter-spacing: .025em;
  cursor: pointer; transition: opacity .18s ease, box-shadow .18s ease;
}
.ai-open-button::after { content: "\2192"; font-size: 18px; }
.ai-open-button:hover { opacity: .88; }
.ai-open-button:focus-visible { outline: 3px solid var(--ai-ink); outline-offset: 5px; }
.ai-ornament { position: absolute; inset: 25px; pointer-events: none; z-index: 0; }
.ai-ornament span { position: absolute; display: block; border: 1px solid var(--ai-line); }
[data-ai-template="reveal_vow"] .ai-ornament span:first-child { inset: 0 10%; border-radius: 50% 50% 3px 3px; }
[data-ai-template="reveal_vow"] .ai-ornament span:nth-child(2) { inset: 12px calc(10% + 12px); border-radius: 50% 50% 3px 3px; }
[data-ai-template="reveal_vow"] .ai-cover { padding-top: 120px; }
[data-ai-template="reveal_chapter"] .ai-cover { text-align: left; justify-items: start; padding-left: 11%; }
[data-ai-template="reveal_chapter"] .ai-cover-title { font-size: clamp(42px, 7vw, 88px); font-style: italic; max-width: 12ch; }
[data-ai-template="reveal_chapter"] .ai-ornament span:first-child { inset: 9% 6% 9% 3%; border-width: 1px 0; }
[data-ai-template="reveal_chapter"] .ai-ornament span:nth-child(2) { right: 3%; top: 15%; bottom: 15%; width: 9%; border-width: 0 1px; }
[data-ai-template="reveal_chapter"] .ai-open-button { border-radius: 6px; }
[data-ai-template="reveal_studio"] .ai-cover { padding-right: 18%; align-content: start; padding-top: 85px; text-align: left; justify-items: start; }
[data-ai-template="reveal_studio"] .ai-cover-title { font-family: system-ui, sans-serif; font-weight: 500; letter-spacing: -.065em; }
[data-ai-template="reveal_studio"] .ai-ornament span:first-child { right: 0; top: 0; bottom: 0; width: 13%; border-width: 0 0 0 1px; background: #d8e1d6; }
[data-ai-template="reveal_studio"] .ai-ornament span:nth-child(2) { left: 0; right: 18%; bottom: 32px; height: 70px; border-width: 1px 0; }
[data-ai-template="reveal_studio"] .ai-open-button { border-radius: 8px; }
[data-ai-template="reveal_afterhours"] .ai-ornament span:first-child { inset: 5% 3%; border-radius: 50%; }
[data-ai-template="reveal_afterhours"] .ai-ornament span:nth-child(2) { inset: 9% 8%; border-radius: 50%; }
[data-ai-template="reveal_afterhours"] .ai-cover-title { font-style: italic; max-width: 12ch; }
[data-ai-template="reveal_afterhours"] .ai-open-button { background: transparent; color: var(--ai-ink); }
[data-ai-template="reveal_forum"] .ai-cover { text-align: left; justify-items: start; padding-left: 12%; }
[data-ai-template="reveal_forum"] .ai-cover-title { font: 500 clamp(32px, 5vw, 66px)/1.07 system-ui, sans-serif; letter-spacing: -.055em; }
[data-ai-template="reveal_forum"] .ai-ornament span:first-child { left: 3%; top: 0; bottom: 0; width: 1px; border-width: 0 0 0 1px; }
[data-ai-template="reveal_forum"] .ai-ornament span:nth-child(2) { left: 0; right: 0; top: 6%; height: 1px; border-width: 1px 0 0; }
[data-ai-template="reveal_forum"] .ai-open-button { border-radius: 3px; }
[data-ai-template="reveal_assembly"] .ai-cover { padding-top: 110px; }
[data-ai-template="reveal_assembly"] .ai-ornament span:first-child { left: 7%; top: 3%; width: 32%; height: 22%; border-radius: 50% 50% 0 0; background: #dedfd4; }
[data-ai-template="reveal_assembly"] .ai-ornament span:nth-child(2) { right: 5%; bottom: 4%; width: 25%; height: 25%; border-radius: 50%; background: #e2ded2; }
.ai-invitation .public-hero { background: transparent; color: var(--ai-ink); }
.ai-invitation .public-hero h1 { color: var(--ai-ink); }
.ai-invitation .public-hero-image, .ai-invitation [data-preview-image] { display: none !important; }
.ai-invitation .public-hero.has-cover { min-height: auto; }
.ai-invitation .public-hero-copy { background: none; }
.ai-invitation .public-section, .ai-invitation .public-rsvp, .ai-invitation .public-footer { color: var(--ai-ink); border-color: var(--ai-line); }
.ai-invitation .public-date, .ai-invitation .public-location, .ai-invitation .eyebrow { color: var(--ai-muted); }
.ai-invitation .public-rsvp { background: var(--ai-paper); }
.ai-invitation .public-rsvp input, .ai-invitation .public-rsvp select, .ai-invitation .public-rsvp textarea { background: var(--ai-paper); color: var(--ai-ink); border-color: var(--ai-line); }
.ai-invitation .public-rsvp .button, .ai-invitation .hero-actions .button { background: var(--ai-accent); color: var(--ai-paper); border-color: var(--ai-accent); }
.ai-invitation .public-section a, .ai-invitation .public-footer a { color: var(--ai-ink); }
.ai-invitation .large-copy { white-space: pre-wrap; overflow-wrap: anywhere; }
.ai-invitation [hidden] { display: none !important; }
@media (max-width: 600px) {
  .ai-cover { min-height: 500px; gap: 18px; padding-inline: 24px; }
  .ai-cover-title { font-size: clamp(30px, 9vw, 48px); }
  .ai-ornament { inset: 16px; }
  [data-ai-template="reveal_vow"] .ai-cover { padding-top: 100px; }
  [data-ai-template="reveal_chapter"] .ai-cover-title { font-size: clamp(36px, 11vw, 56px); }
}
@media (prefers-reduced-motion: reduce) {
  .ai-invitation *, .ai-invitation *::before, .ai-invitation *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
