/* Taman Sage: white roses on linen, arched windows and fine rules. */

/* ===== Structure shared by the floral premium themes (layout, rhythm, states). ===== */
body.theme-thm15 {
    margin: 0;
    background: var(--fl-paper);
    color: var(--fl-ink);
    font: 400 15px/1.8 var(--invie-font-body, "Manrope"), system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.theme-thm15 *, .theme-thm15 *::before, .theme-thm15 *::after { box-sizing: border-box; }
.theme-thm15 :is(h1, h2, h3, p, figure, blockquote) { margin: 0; }
.theme-thm15 :is(h1, h2, h3) { font-family: var(--invie-font-heading, "Cormorant Garamond"), Georgia, serif; font-weight: 500; line-height: 1.08; overflow-wrap: anywhere; color: var(--fl-heading); }
.theme-thm15 h2 { font-size: clamp(2.5rem, 4.4vw, 4.2rem); }
.theme-thm15 h3 { font-size: clamp(1.9rem, 2.8vw, 2.6rem); }
.theme-thm15 p { text-wrap: pretty; }
.theme-thm15 :is(a, button, input, textarea, select) { -webkit-tap-highlight-color: transparent; }
.theme-thm15 a { color: inherit; text-decoration: none; }
.theme-thm15 button { cursor: pointer; font: inherit; }
.theme-thm15 button:disabled { opacity: .55; cursor: wait; }
.theme-thm15 img { display: block; max-width: 100%; }
.theme-thm15 :is(button, input, textarea, select) { max-width: 100%; }
.theme-thm15 [hidden] { display: none !important; }
.theme-thm15 ::selection { color: var(--fl-paper); background: var(--fl-accent); }
.theme-thm15:not([data-theme-state="open"]) { overflow: hidden; }
.theme-thm15 :focus-visible { outline: 2px solid var(--fl-accent); outline-offset: 3px; }

.thm15-page { width: 100%; position: relative; overflow-x: clip; }
.theme-thm15 .thm15-invitation { visibility: visible; opacity: 1; outline: 0; }
.theme-thm15 [data-theme-section] { content-visibility: visible; contain-intrinsic-size: none; scroll-margin-top: 20px; }

.thm15-kicker { color: var(--fl-accent); font-size: 12px; font-weight: 700; letter-spacing: .2em; line-height: 1.9; text-transform: uppercase; }

.thm15-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 13px 26px; border: 1px solid var(--fl-accent); border-radius: var(--fl-button-radius); background: var(--fl-accent); color: var(--fl-on-accent); font-size: 13px; font-weight: 700; letter-spacing: .06em; transition: box-shadow .25s, transform .25s, background .25s; }
.thm15-button:hover { transform: translateY(-2px); box-shadow: 0 12px 26px var(--fl-shadow); }
.theme-thm15 a.thm15-button { color: var(--fl-on-accent); }
.theme-thm15 .thm15-button.thm15-button--gold { background: var(--fl-accent); color: var(--fl-on-accent); }
.theme-thm15 .thm15-button.thm15-button--ink { background: var(--fl-heading); border-color: var(--fl-heading); color: var(--fl-paper); }
.theme-thm15 .thm15-button.thm15-button--paper { background: transparent; color: var(--fl-accent); }
.theme-thm15 .thm15-button.thm15-button--paper:hover { background: var(--fl-wash); }

.thm15-text-link { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; padding-block: 8px; border: 0; border-bottom: 1px solid var(--fl-line); background: transparent; color: var(--fl-accent) !important; font-size: 13px; font-weight: 600; }

.thm15-divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 22px 0; }
.thm15-divider::before, .thm15-divider::after { content: ""; width: 64px; height: 1px; background: linear-gradient(90deg, transparent, var(--fl-accent)); }
.thm15-divider::after { transform: rotate(180deg); }
.thm15-divider span { width: 22px; height: 22px; background: var(--fl-accent); -webkit-mask: var(--fl-mark) center / contain no-repeat; mask: var(--fl-mark) center / contain no-repeat; }

/* Cover --------------------------------------------------------------------- */
.thm15-cover { position: fixed !important; z-index: 50; inset: 0; display: grid; place-items: center; overflow: hidden; isolation: isolate; padding: 36px 20px; background: var(--fl-cover-ground); transition: opacity .85s ease, visibility .85s; }
.thm15-cover__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: var(--fl-cover-photo-opacity); z-index: -2; }
.thm15-cover__bloom { position: absolute; z-index: -1; width: clamp(240px, 34vw, 520px); height: auto; pointer-events: none; animation: thm15-breathe 12s ease-in-out infinite; }
.thm15-cover__bloom--top { top: -6%; left: -5%; }
.thm15-cover__bloom--bottom { bottom: -7%; right: -5%; transform: rotate(180deg); animation-delay: -6s; }
.thm15-cover__textile { position: absolute; top: 0; bottom: 0; z-index: -1; display: grid; place-items: end center; width: 17%; pointer-events: none; }
.thm15-cover__textile img { width: min(100%, 260px); height: auto; max-height: 92%; animation: thm15-sway 11s ease-in-out infinite; transform-origin: 50% 100%; }
.thm15-cover__textile--left { left: 2%; }
.thm15-cover__textile--right { right: 2%; }
.thm15-cover__textile--right img { scale: -1 1; animation-delay: -5.5s; }
.thm15-cover__frame { position: relative; width: min(100%, 470px); margin: auto; text-align: center; animation: thm15-enter 1.4s ease both; }
.thm15-cover__crest { display: block; margin: 0 auto 10px; background: var(--fl-accent); -webkit-mask: var(--fl-crest) center / contain no-repeat; mask: var(--fl-crest) center / contain no-repeat; }
.thm15-cover h1 { margin: 12px 0 0; font-size: clamp(3.6rem, 6vw, 5.6rem); letter-spacing: -.01em; }
.thm15-cover h1 span { display: block; }
.thm15-cover h1 i { display: block; margin-block: 2px; font: 400 .5em/1 var(--fl-script); color: var(--fl-accent); }
.thm15-cover--long h1 { font-size: clamp(2.3rem, 4vw, 3.6rem); }
.thm15-cover time { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.thm15-cover__guest { display: grid; gap: 4px; margin: 24px auto 20px; overflow-wrap: anywhere; }
.thm15-cover__guest span { color: var(--fl-muted); font-size: 12px; }
.thm15-cover__guest strong { font-weight: 600; font-size: 16px; }
.theme-thm15.thm15-is-open .thm15-cover { opacity: 0; visibility: hidden; pointer-events: none; }
.theme-thm15.thm15-is-opening .thm15-intro__grid { animation: thm15-enter 1.2s ease both; }

/* Drifting petals ------------------------------------------------------------ */
.thm15-ornaments { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.thm15-petals { position: absolute; inset: 0; }
.thm15-petals i { position: absolute; top: -6%; width: 18px; height: 18px; background: var(--fl-petal); opacity: 0; -webkit-mask: var(--fl-mark) center / contain no-repeat; mask: var(--fl-mark) center / contain no-repeat; animation: thm15-fall 16s linear infinite; }
.thm15-petals i:nth-child(1) { left: 8%; animation-delay: -2s; }
.thm15-petals i:nth-child(2) { left: 22%; animation-delay: -9s; width: 13px; height: 13px; }
.thm15-petals i:nth-child(3) { left: 37%; animation-delay: -5s; }
.thm15-petals i:nth-child(4) { left: 51%; animation-delay: -12s; width: 12px; height: 12px; }
.thm15-petals i:nth-child(5) { left: 64%; animation-delay: -1s; width: 15px; height: 15px; }
.thm15-petals i:nth-child(6) { left: 76%; animation-delay: -7s; }
.thm15-petals i:nth-child(7) { left: 88%; animation-delay: -14s; width: 12px; height: 12px; }
.thm15-petals i:nth-child(8) { left: 45%; animation-delay: -10.5s; width: 10px; height: 10px; }
.thm15-petals i:nth-child(9) { left: 94%; animation-delay: -4s; width: 14px; height: 14px; }

@keyframes thm15-enter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes thm15-breathe { 0%, 100% { scale: 1; } 50% { scale: 1.025; } }
@keyframes thm15-sway { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }
@keyframes thm15-fall {
    0% { opacity: 0; transform: translate(0, 0) rotate(0); }
    10% { opacity: .75; }
    85% { opacity: .55; }
    100% { opacity: 0; transform: translate(70px, 108vh) rotate(260deg); }
}

.thm15-motion-ready [data-thm15-reveal] { transition: opacity .85s ease, transform .85s ease; }
.thm15-motion-ready [data-thm15-reveal]:not(.is-visible) { opacity: 0; transform: translateY(24px); }
.theme-thm15[data-motion-paused="true"] :is(.thm15-petals i, .thm15-cover__bloom, .thm15-cover__textile img) { animation-play-state: paused !important; }
.theme-thm15[data-motion-paused="true"] .thm15-petals { display: none; }
.theme-thm15[data-motion-paused="true"] [data-thm15-reveal] { opacity: 1; transform: none; }

/* Sections --------------------------------------------------------------------- */
.thm15-section { position: relative; overflow-x: clip; padding: 104px max(7vw, calc((100vw - 1140px) / 2)); }
.thm15-section > :not(dialog) { position: relative; z-index: 1; min-width: 0; }
.thm15-section > .thm15-ornaments { position: absolute; z-index: 0; }

.thm15-heading { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.thm15-heading::before { content: ""; display: block; margin: 0 auto 18px; background: var(--fl-accent); -webkit-mask: var(--fl-crest) center / contain no-repeat; mask: var(--fl-crest) center / contain no-repeat; }
.thm15-heading .thm15-kicker { margin-bottom: 12px; }
.thm15-heading p:not(.thm15-kicker) { max-width: 520px; margin: 18px auto 0; color: var(--fl-muted); }
.thm15-heading--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 40px; align-items: end; max-width: none; text-align: left; }
.thm15-heading--split::before { display: none; }
.thm15-heading--split p:not(.thm15-kicker) { margin: 0; }

/* Intro */
.thm15-intro { padding-top: 0; overflow: hidden; }
.thm15-nav { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--fl-line); }
.thm15-nav__brand { font: 500 30px/1.1 var(--invie-font-heading, "Cormorant Garamond"), serif; color: var(--fl-accent) !important; letter-spacing: .04em; }
.thm15-nav__links { display: flex; gap: 26px; flex-wrap: wrap; }
.thm15-nav__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.thm15-nav__links a:hover { color: var(--fl-accent); }
.thm15-intro__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 9%; align-items: center; padding: 96px 0 70px; }
.thm15-intro__copy h2 { font-size: clamp(3.4rem, 5.6vw, 5.8rem); margin-top: 20px; }
.thm15-intro__copy em { font-style: italic; color: var(--fl-accent); }
.thm15-intro__copy .thm15-divider { justify-content: flex-start; }
.thm15-intro__copy > p:not(.thm15-kicker) { max-width: 430px; color: var(--fl-muted); }
.thm15-intro__copy .thm15-text-link { margin-top: 20px; }
.thm15-intro__portrait { position: relative; padding: 14px; }
.thm15-intro__hero { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 3 / 4; background: var(--fl-wash); }
.thm15-intro__hero > img { width: 100%; height: 100%; object-fit: cover; }
.thm15-intro__hero figcaption { position: absolute; inset: auto 0 0; padding: 50px 20px 20px; text-align: center; color: #fff; background: linear-gradient(transparent, rgb(0 0 0 / 45%)); font: italic 30px var(--invie-font-heading, "Cormorant Garamond"), serif; }
.thm15-intro__monogram { font: 100px var(--invie-font-heading, "Cormorant Garamond"), serif; color: var(--fl-accent); }
.thm15-intro__ornament { position: absolute; z-index: 2; left: 50%; top: -11%; width: 92%; max-width: none; height: auto; transform: translateX(-50%); pointer-events: none; }

.thm15-countdown { display: flex; justify-content: center; align-items: center; gap: 34px; padding-top: 40px; border-top: 1px solid var(--fl-line); }
.thm15-countdown > p { max-width: 150px; }
.thm15-countdown > div { display: grid; min-width: 58px; text-align: center; }
.thm15-countdown strong { color: var(--fl-heading); font: 500 46px/1.2 var(--invie-font-heading, "Cormorant Garamond"), serif; font-variant-numeric: lining-nums tabular-nums; }
.thm15-countdown span { color: var(--fl-muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

/* Couple */
.thm15-couple__profiles { display: grid; grid-template-columns: 1fr 1fr; gap: 9%; max-width: 960px; margin: 0 auto; }
.thm15-profile { min-width: 0; text-align: center; }
.thm15-profile__media { position: relative; width: min(100%, 300px); aspect-ratio: 3 / 4; }
.theme-thm15 .thm15-profile__media { margin: 0 auto 30px; }
.thm15-profile__media img, .thm15-profile__monogram { width: 100%; height: 100%; object-fit: cover; }
.thm15-profile__monogram { display: grid; place-items: center; color: var(--fl-accent); font: 90px var(--invie-font-heading, "Cormorant Garamond"), serif; background: var(--fl-wash); }
.thm15-profile__copy h3 { margin: 10px auto 16px; max-width: 420px; }
.thm15-profile__copy > p:not(.thm15-kicker) { max-width: 330px; margin: auto; color: var(--fl-muted); }
.thm15-profile__copy .thm15-text-link { margin-top: 10px; }
.thm15-profile--name-long h3, .thm15-profile--name-xlong h3 { font-size: 2rem; }

/* Events */
.thm15-events__tickets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.thm15-event { position: relative; padding: 38px 30px; text-align: center; background: var(--fl-card); border: 1px solid var(--fl-line); }
.thm15-event__date time { display: grid; color: var(--fl-accent); }
.thm15-event__date span, .thm15-event__date small { font-size: 12px; font-weight: 600; letter-spacing: .2em; }
.thm15-event__date strong { margin: 6px 0; color: var(--fl-heading); font: 500 76px/1 var(--invie-font-heading, "Cormorant Garamond"), serif; }
.thm15-event__copy { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--fl-line); }
.thm15-event__copy h3 { margin: 6px 0 14px; }
.thm15-event__copy > strong { display: block; margin: 18px 0 6px; font-size: 15px; }
.thm15-event__copy address { font-style: normal; color: var(--fl-muted); font-size: 13px; }
.thm15-event__time { font-weight: 600; }
.thm15-event__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; margin-top: 24px; }
/* One map control: open, the map takes the card's width; the button and the maps link stay centred like the card. */
.thm15-event__map[open] { align-self: stretch; }
.thm15-event__map > summary { margin-inline: auto; }
.thm15-event__map .theme-v2-map__open { justify-self: center; color: var(--fl-accent); font-size: 13px; }

/* Quote */
.thm15-quote { text-align: center; }
.thm15-quote__brush { display: block; height: 90px; margin-bottom: 26px; background: var(--fl-accent); -webkit-mask: var(--fl-crest) center / contain no-repeat; mask: var(--fl-crest) center / contain no-repeat; }
.thm15-quote blockquote { max-width: 760px; margin: auto; }
.thm15-quote__mark { display: none; }
.thm15-quote blockquote p { color: var(--fl-heading); font: italic 500 clamp(1.6rem, 2.6vw, 2.3rem)/1.5 var(--invie-font-heading, "Cormorant Garamond"), serif; }
.thm15-quote cite { display: block; margin-top: 28px; color: var(--fl-accent); font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

/* Story */
.thm15-story__timeline { max-width: 960px; margin: auto; }
.thm15-story-entry { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 40px 0; }
.thm15-story-entry--even .thm15-story-entry__visual { order: 2; }
.thm15-story-entry__visual figure { position: relative; }
.thm15-story-entry__visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.thm15-story-entry__visual figcaption { position: absolute; right: 18px; bottom: 14px; color: #fff; font: italic 40px var(--invie-font-heading, "Cormorant Garamond"), serif; text-shadow: 0 2px 12px rgb(0 0 0 / 45%); font-variant-numeric: lining-nums; }
.thm15-story-entry__placeholder { display: grid; place-items: center; min-height: 220px; background: var(--fl-wash); color: var(--fl-accent); font: 60px var(--invie-font-heading, "Cormorant Garamond"), serif; }
.thm15-story-entry__placeholder span { display: none; }
.thm15-story-entry__chapter { color: var(--fl-accent); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.thm15-story-entry__copy time { color: var(--fl-muted); font-size: 13px; }
.thm15-story-entry__copy h3 { margin: 12px 0; }
.thm15-story-entry__copy > p:last-child { color: var(--fl-muted); }

/* Gallery */
/* Two tracks per photo let a short last row sit centred instead of leaving a hole. */
.thm15-gallery__collage { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; align-items: start; }
.thm15-gallery__piece { grid-column: span 2; }
.thm15-gallery__piece:last-child:nth-child(3n+1) { grid-column: 3 / span 2; }
.thm15-gallery__piece:nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; }
.thm15-gallery__piece { position: relative; min-width: 0; padding: 0; border: 0; background: transparent; color: #fff; overflow: hidden; }
.thm15-gallery__piece img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s ease; }
.thm15-gallery__piece:hover img { transform: scale(1.04); }
.thm15-gallery__piece:nth-child(3n+2) { margin-top: 48px; }
.thm15-gallery__piece > span { position: absolute; right: 16px; bottom: 12px; font-size: 12px; font-weight: 700; text-shadow: 0 1px 6px rgb(0 0 0 / 50%); }
.thm15-gallery__piece small { display: block; padding: 10px; color: var(--fl-muted); }
.thm15-gallery-dialog { width: min(900px, 94vw); max-height: 94dvh; padding: 18px; color: var(--fl-ink); background: var(--fl-paper); border: 0; border-radius: var(--fl-card-radius); box-shadow: 0 30px 80px rgb(0 0 0 / 30%); }
.thm15-gallery-dialog::backdrop { background: var(--fl-backdrop); backdrop-filter: blur(4px); }
.thm15-gallery-dialog button { min-height: 44px; padding: 8px 14px; border: 1px solid var(--fl-line); border-radius: var(--fl-button-radius); color: var(--fl-ink); background: var(--fl-card); }
.thm15-gallery-dialog__bar, .thm15-gallery-dialog__controls { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: 13px; }
.thm15-gallery-dialog figure { margin: 14px 0; }
.thm15-gallery-dialog figure img { width: 100%; max-height: 65dvh; object-fit: contain; }
.thm15-gallery-dialog figcaption { text-align: center; font-size: 13px; }

/* RSVP and wishes */
.thm15-rsvp__layout, .thm15-wishes__guestbook { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; }
.thm15-rsvp__aside h2 { margin: 14px 0 22px; }
.thm15-rsvp__aside > p:not(.thm15-kicker) { color: var(--fl-muted); }
.thm15-rsvp__deadline strong { display: block; color: var(--fl-accent); }
.thm15-rsvp__mark { width: 220px; height: 220px; margin: 36px 0; background: var(--fl-accent); opacity: .5; -webkit-mask: var(--fl-crest) center / contain no-repeat; mask: var(--fl-crest) center / contain no-repeat; }
.thm15-rsvp__mark span { display: none; }
.thm15-form { display: grid; gap: 20px; align-content: start; padding: 34px; background: var(--fl-card); border: 1px solid var(--fl-line); border-radius: var(--fl-card-radius); box-shadow: 0 18px 40px var(--fl-shadow); }
.thm15-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.thm15-field > label, .thm15-field legend { display: block; margin-bottom: 8px; padding: 0; color: var(--fl-heading); font-size: 13px; font-weight: 700; }
.thm15-field :is(input:not([type="radio"]), textarea, select) { width: 100%; padding: 12px 14px; border: 1px solid var(--fl-line-strong); border-radius: var(--fl-input-radius); background: var(--fl-paper); color: var(--fl-ink); font: 16px/1.6 var(--invie-font-body, "Manrope"), sans-serif; }
.thm15-field textarea { resize: vertical; }
.thm15-field ::placeholder { color: var(--fl-placeholder); opacity: 1; }
/* The three answers sit in one row only while each label fits on a single line. */
.thm15-attendance { container-type: inline-size; }
.thm15-attendance__options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@container (max-width: 470px) { .thm15-attendance__options { grid-template-columns: 1fr; } }
.thm15-attendance__options label { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px 10px; border: 1px solid var(--fl-line-strong); border-radius: var(--fl-input-radius); font-size: 13px; font-weight: 600; text-align: center; cursor: pointer; }
.thm15-attendance__options input { position: absolute; opacity: 0; pointer-events: none; }
.thm15-attendance__options label:has(input:checked) { background: var(--fl-accent); border-color: var(--fl-accent); color: var(--fl-on-accent); }
.thm15-attendance__options label:has(input:focus-visible) { outline: 2px solid var(--fl-accent); outline-offset: 3px; }
.thm15-form__status { color: var(--fl-accent); font-size: 13px; overflow-wrap: anywhere; }
.thm15-form__status:empty { display: none; }
.thm15-form__status[data-status="error"] { color: #b4463c; }

.thm15-wishes__featured { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-bottom: 40px; }
.thm15-wish-card { position: relative; padding: 30px; background: var(--fl-card); border: 1px solid var(--fl-line); border-radius: var(--fl-card-radius); }
.thm15-wish-card__number { color: var(--fl-accent); font-size: 12px; font-weight: 700; }
.thm15-wish-card blockquote { margin: 12px 0 22px; color: var(--fl-heading); font: italic 24px/1.5 var(--invie-font-heading, "Cormorant Garamond"), serif; }
.thm15-wish-card figcaption { display: flex; gap: 12px; align-items: center; font-size: 13px; }
.thm15-wish-card figcaption img, .thm15-wish-card__initial { width: 42px; height: 42px; flex: none; object-fit: cover; border-radius: 50%; }
.thm15-wish-card__initial { display: grid; place-items: center; background: var(--fl-wash); color: var(--fl-accent); font-weight: 700; }
.thm15-wish-card small { display: block; color: var(--fl-muted); font-size: 12px; }
.thm15-wishes__messages-head { display: flex; gap: 15px; justify-content: space-between; align-items: center; }
.thm15-wishes__messages-head h3 { margin-top: 8px; }
.thm15-wishes__messages ul { list-style: none; margin: 24px 0 0; padding: 0; max-height: 490px; overflow: auto; }
.thm15-wishes__messages li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--fl-line); overflow-wrap: anywhere; }
.thm15-wishes__messages li > span { flex: none; min-width: 2.4ch; white-space: nowrap; color: var(--fl-accent); font-size: 12px; font-weight: 700; }
.thm15-wishes__messages time { display: block; color: var(--fl-muted); font-size: 12px; }
.thm15-wishes__messages li p { margin-top: 8px; color: var(--fl-muted); }

/* Gift */
.thm15-gift__accounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.thm15-gift-card { position: relative; overflow: hidden; padding: 30px; border-radius: var(--fl-card-radius); background: var(--fl-gift); color: var(--fl-gift-ink); box-shadow: 0 18px 40px var(--fl-shadow); }
.thm15-gift-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 170px; height: 170px; background: currentColor; opacity: .1; -webkit-mask: var(--fl-mark) center / contain no-repeat; mask: var(--fl-mark) center / contain no-repeat; pointer-events: none; }
.thm15-gift-card__masthead { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.thm15-gift-card__bank { display: flex; gap: 14px; align-items: center; margin: 22px 0; }
.thm15-gift-card__bank img { max-width: 76px; max-height: 36px; padding: 6px; background: #fff; border-radius: 6px; }
.thm15-gift-card__bank strong { font-size: 14px; }
.thm15-gift-card__account { display: grid; margin-bottom: 22px; overflow-wrap: anywhere; }
.thm15-gift-card__account span, .thm15-gift-card__account small { font-size: 12px; opacity: .85; }
.thm15-gift-card__account strong { font: 500 32px/1.6 var(--invie-font-heading, "Cormorant Garamond"), serif; letter-spacing: .04em; font-variant-numeric: lining-nums tabular-nums; }
.theme-thm15 .thm15-gift-card .thm15-button--paper { position: relative; z-index: 1; border-color: currentColor; color: var(--fl-gift-ink); }
.theme-thm15 .thm15-gift-card .thm15-button--paper:hover { background: rgb(255 255 255 / 16%); }
.thm15-gift__status { margin-top: 14px; color: var(--fl-accent); font-size: 13px; }

/* Dress code, livestream, health */
.thm15-dresscode, .thm15-livestream, .thm15-health { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.thm15-dresscode h2, .thm15-livestream h2, .thm15-health h2 { margin: 12px 0 20px; font-size: clamp(2.4rem, 3.4vw, 3rem); }
.thm15-dresscode p:not(.thm15-kicker), .thm15-livestream p:not(.thm15-kicker), .thm15-health p:not(.thm15-kicker) { color: var(--fl-muted); }
.thm15-dresscode small { display: block; margin-top: 14px; color: var(--fl-muted); font-size: 13px; font-style: italic; }
/* Fixed swatch tracks keep every colour the same size and the group centred in its column. */
.thm15-dresscode__palette { --thm15-swatch-size: 92px; --thm15-swatch-cols: 4; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 22px 20px; max-width: calc(var(--thm15-swatch-cols) * var(--thm15-swatch-size) + (var(--thm15-swatch-cols) - 1) * 20px); margin: 0 auto; padding: 0; list-style: none; }
.thm15-dresscode__palette > li { flex: 0 0 var(--thm15-swatch-size); }
.thm15-dresscode__swatch { display: grid; justify-items: center; gap: 12px; text-align: center; font-size: 13px; }
.thm15-dresscode__swatch > span { width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--thm15-swatch); box-shadow: inset 0 0 0 1px rgb(0 0 0 / 8%), 0 10px 20px var(--fl-shadow); }
.thm15-livestream__signal { display: none; }
.thm15-livestream__access { padding: 32px; background: var(--fl-card); border: 1px solid var(--fl-line); border-radius: var(--fl-card-radius); }
.thm15-livestream__meta { display: grid; margin-bottom: 22px; }
.thm15-livestream__meta span { color: var(--fl-accent); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.thm15-livestream__meta strong { font: 500 28px/1.3 var(--invie-font-heading, "Cormorant Garamond"), serif; color: var(--fl-heading); }
.thm15-livestream dl { margin: 0 0 22px; }
.thm15-livestream dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--fl-line); }
.thm15-livestream dd { margin: 0; overflow-wrap: anywhere; }
.thm15-health__grid { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.thm15-health-card { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 20px 22px; background: var(--fl-card); border: 1px solid var(--fl-line); border-radius: var(--fl-card-radius); }
.thm15-health-card__number { grid-row: span 2; color: var(--fl-accent); font: 500 28px/1 var(--invie-font-heading, "Cormorant Garamond"), serif; font-variant-numeric: lining-nums tabular-nums; }
.thm15-health-card strong { color: var(--fl-heading); font-size: 15px; }
.thm15-health-card p { margin-top: 2px; color: var(--fl-muted); font-size: 14px; }

/* Shared participants partials inherit the theme's rhythm. */
.theme-thm15 .theme-participants__grid { --theme-participants-gap: 18px; }

/* Closing */
.thm15-closing { position: relative; overflow: hidden; isolation: isolate; padding: 110px 25px 46px; text-align: center; background: var(--fl-closing); color: var(--fl-closing-ink); }
.thm15-closing__media { position: absolute; inset: 0; z-index: -1; margin: 0; }
.thm15-closing__media img { width: 100%; height: 100%; object-fit: cover; opacity: .14; }
.thm15-closing__monogram { display: none; }
.thm15-closing__copy { position: relative; max-width: 800px; margin: auto; }
.thm15-closing__garland { width: min(100%, 520px); height: auto; margin: 0 auto 26px; }
.thm15-closing h2 { margin: 22px 0; color: var(--fl-closing-ink); font-size: clamp(3.6rem, 7vw, 6.2rem); }
.thm15-closing h2 i { margin-inline: 12px; font: 400 .55em/1 var(--fl-script); color: var(--fl-closing-accent); }
.thm15-closing .thm15-kicker { color: var(--fl-closing-accent); }
.thm15-closing__copy > p:not(.thm15-kicker) { max-width: 470px; margin: auto; opacity: .88; }
.thm15-closing time { display: block; margin: 24px 0; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.thm15-closing small { display: block; margin-top: 52px; font-size: 12px; opacity: .8; }
.thm15-closing small a { text-decoration: underline; text-underline-offset: 3px; }
.thm15-closing--names-long h2, .thm15-closing--names-xlong h2 { font-size: clamp(2.6rem, 5vw, 4rem); }

.thm15-sr-status { position: fixed; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.thm15-dock { --theme-dock-bg: var(--fl-dock-bg); --theme-dock-fg: var(--fl-dock-fg); --theme-dock-border: var(--fl-line); --theme-dock-bg-on-dark: var(--fl-paper); --theme-dock-fg-on-dark: var(--fl-heading); --theme-dock-border-on-dark: var(--fl-line); }

.thm15-motion-toggle { display: flex; min-height: 44px; margin: 14px auto 0; padding: 0 8px; align-items: center; border: 0; background: none; color: inherit; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px; opacity: .85; }
.thm15-motion-toggle:hover { opacity: 1; }
.thm15-motion-toggle--cover { position: absolute; z-index: 6; top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); min-height: 36px; margin: 0; padding: 0 14px; border: 1px solid var(--fl-line-strong); border-radius: 999px; background: var(--fl-card); color: var(--fl-accent); letter-spacing: .08em; text-decoration: none; opacity: 1; }

/* Responsive ------------------------------------------------------------------ */
@media (max-width: 1100px) {
    .thm15-section { padding: 84px 6vw; }
    .thm15-intro { padding-top: 0; }
    .thm15-intro__grid { gap: 6%; }
    .thm15-rsvp__layout, .thm15-wishes__guestbook { gap: 36px; }
    .thm15-dresscode__palette { --thm15-swatch-size: 104px; --thm15-swatch-cols: 2; }
}

@media (max-width: 760px) {
    .theme-thm15 { font-size: 14px; }
    .thm15-cover { padding: 30px 22px; }
    .thm15-cover__textile { display: none; }
    .thm15-cover__bloom { width: 60vw; }
    .thm15-cover__bloom--top { top: -4%; left: -14%; }
    .thm15-cover__bloom--bottom { bottom: -5%; right: -14%; }
    .thm15-cover h1 { font-size: 4.2rem; }
    .thm15-cover--long h1 { font-size: 2.7rem; }

    .thm15-section { padding: 72px 22px; }
    .thm15-intro { padding-top: 0; }
    .thm15-nav { gap: 12px; padding: 16px 0; }
    .thm15-nav__links { gap: 12px; }
    .thm15-nav__links a { font-size: 12px; letter-spacing: .04em; }
    .thm15-nav__brand { font-size: 24px; }
    .thm15-intro__grid { grid-template-columns: 1fr; gap: 64px; padding: 56px 0 40px; }
    .thm15-intro__copy { text-align: center; }
    .thm15-intro__copy h2 { font-size: clamp(3.2rem, 12vw, 4.4rem); }
    .thm15-intro__copy .thm15-divider { justify-content: center; }
    .thm15-intro__copy > p:not(.thm15-kicker) { margin: auto; }
    .thm15-intro__portrait { width: min(100% - 24px, 360px); margin: 30px auto 0; }

    .thm15-countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding-top: 26px; }
    .thm15-countdown > p { grid-column: 1 / -1; max-width: none; margin-bottom: 6px; text-align: center; }
    .thm15-countdown strong { font-size: 38px; }
    .thm15-countdown > div { min-width: 0; }

    .thm15-heading { margin-bottom: 36px; }
    .thm15-heading--split { grid-template-columns: 1fr; gap: 14px; text-align: center; }
    .thm15-couple__profiles { grid-template-columns: 1fr; gap: 60px; }
    .thm15-profile__media { width: min(78%, 280px); }
    .thm15-profile__copy { max-width: 390px; margin: auto; }

    .thm15-events__tickets, .thm15-rsvp__layout, .thm15-wishes__guestbook, .thm15-wishes__featured, .thm15-dresscode, .thm15-livestream, .thm15-health { grid-template-columns: 1fr; gap: 28px; }
    .thm15-event { padding: 32px 22px; }
    .thm15-event__actions { flex-direction: column; }

    .thm15-dresscode__copy, .thm15-livestream__copy, .thm15-health__copy { text-align: center; }
    .thm15-dresscode__palette { --thm15-swatch-size: 96px; --thm15-swatch-cols: 2; }
    .thm15-dresscode__swatch { font-size: 12px; }

    /* Story chapters and gift accounts swipe sideways, the next card peeking in. */
    .thm15-story__timeline, .thm15-gift__accounts { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -22px; padding: 0 22px 10px; scroll-padding-inline: 22px; }
    .thm15-story__timeline::-webkit-scrollbar, .thm15-gift__accounts::-webkit-scrollbar { display: none; }
    .thm15-story-entry, .thm15-gift-card { flex: 0 0 84%; min-width: 0; scroll-snap-align: start; }
    .thm15-story-entry { grid-template-columns: 1fr; gap: 20px; align-content: start; padding: 0; }
    .thm15-story-entry--even .thm15-story-entry__visual { order: 0; }

    .thm15-gallery__collage { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
    .thm15-gallery__piece:is(:last-child, :nth-last-child(2)):nth-child(3n+1) { grid-column: span 2; }
    .thm15-gallery__piece:last-child:nth-child(odd) { grid-column: 2 / span 2; }
    .thm15-gallery__piece:nth-child(3n+2) { margin-top: 0; }
    .thm15-gallery__piece:nth-child(2n) { margin-top: 26px; }
    .thm15-gallery-dialog { padding: 12px; }

    .thm15-rsvp__aside { text-align: center; }
    .thm15-rsvp__mark { display: none; }
    .thm15-form { padding: 24px 18px; }
    .thm15-attendance__options { grid-template-columns: 1fr; }
    .thm15-wish-card { padding: 24px; }
    .thm15-gift-card { padding: 26px; }
    .thm15-closing h2 span { display: block; }
    .thm15-closing h2 i { display: block; margin: 4px 0; line-height: 1.2; }
}

@media (max-width: 359px) {
    .thm15-cover { padding: 24px 16px; }
    .thm15-cover h1 { font-size: 3.6rem; }
    .thm15-cover--long h1 { font-size: 2.3rem; }
    .thm15-nav__links { gap: 8px; }
    .thm15-section { padding-inline: 18px; }
    .thm15-dresscode__palette { --thm15-swatch-size: 88px; --thm15-swatch-cols: 2; }
}

@media (min-width: 761px) and (max-height: 920px) {
    .thm15-cover--long h1 { font-size: clamp(2.3rem, 3.4vw, 3.2rem); }
    .thm15-cover__guest { margin-block: 18px 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .theme-thm15 *, .theme-thm15 *::before, .theme-thm15 *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .theme-thm15 [data-thm15-reveal] { opacity: 1 !important; transform: none !important; }
    .thm15-petals, .thm15-motion-toggle { display: none; }
}

/* Swipe rails scroll sideways only: slides still waiting off-screen fade in without rising, so they never lengthen the rail. */
@media (max-width: 760px) {
    .thm15-story__timeline, .thm15-gift__accounts { overflow-y: hidden; }
    .thm15-motion-ready .thm15-story__timeline [data-thm15-reveal]:not(.is-visible),
    .thm15-motion-ready .thm15-gift__accounts [data-thm15-reveal]:not(.is-visible) { transform: none; }
}

body.theme-thm15 {
    --fl-paper: #f6f2e8;
    --fl-wash: #ece9dc;
    --fl-card: #fbf9f3;
    --fl-ink: #2f3729;
    --fl-heading: #2b3327;
    --fl-muted: #5d6656;
    --fl-accent: #5c6943;
    --fl-on-accent: #fbf9f3;
    --fl-gold: #a1834a;
    --fl-line: rgb(92 105 67 / 22%);
    --fl-line-strong: rgb(92 105 67 / 38%);
    --fl-shadow: rgb(64 72 48 / 10%);
    --fl-placeholder: #7e8573;
    --fl-petal: #e9dccb;
    --fl-cover-ground: radial-gradient(ellipse at 50% 45%, #fbf9f3 0%, #f3eee2 55%, #e7e1cf 100%);
    --fl-cover-photo-opacity: .08;
    --fl-mark: url('../img/v2/f5-rose.svg');
    --fl-crest: url('../img/v2/f5-wreath.svg');
    --fl-script: var(--invie-font-heading, "Great Vibes"), cursive;
    --fl-button-radius: 3px;
    --fl-card-radius: 6px;
    --fl-input-radius: 3px;
    --fl-gift: linear-gradient(150deg, #56633f 0%, #6e7b55 60%, #84906b 100%);
    --fl-gift-ink: #fbf9f3;
    --fl-closing: #39432f;
    --fl-closing-ink: #f6f2e8;
    --fl-closing-accent: #d9c79e;
    --fl-backdrop: rgb(43 51 39 / 76%);
    --fl-dock-bg: #fbf9f3eb;
    --fl-dock-fg: #5c6943;
}

/* Script kickers and a small-capital rhythm set Taman Sage apart. */
.theme-thm15 .thm15-kicker { color: var(--fl-gold); font: 400 30px/1.2 var(--fl-script); letter-spacing: 0; text-transform: none; }
.theme-thm15 .thm15-cover .thm15-kicker { font-size: 34px; }
.thm15-heading::before { width: 64px; height: 64px; margin-bottom: 10px; background: var(--fl-gold); }
.thm15-cover__crest { width: 86px; height: 86px; background: var(--fl-gold); }
.thm15-cover h1 { font-weight: 400; letter-spacing: .02em; }
.thm15-cover h1 i { color: var(--fl-gold); }
.thm15-divider span { background: var(--fl-gold); }
.thm15-cover__frame { padding: 46px 36px 34px; background: var(--fl-card); border-radius: 220px 220px 4px 4px; box-shadow: 0 30px 70px rgb(64 72 48 / 16%), inset 0 0 0 10px var(--fl-card), inset 0 0 0 11px var(--fl-line-strong), inset 0 0 0 15px var(--fl-card), inset 0 0 0 16px var(--fl-line); }

.thm15-couple, .thm15-story, .thm15-rsvp, .thm15-gift, .thm15-health { background: var(--fl-wash); }
/* Fine double rule under every section, like a letterpress card. */
.thm15-section::before { content: ""; position: absolute; left: 50%; bottom: 0; width: min(76%, 720px); height: 4px; transform: translateX(-50%); border-block: 1px solid var(--fl-line-strong); pointer-events: none; }
.thm15-section:is(.thm15-couple, .thm15-gallery, .thm15-wishes)::after { content: ""; position: absolute; z-index: 0; top: 30px; left: -60px; width: clamp(150px, 18vw, 250px); aspect-ratio: 458 / 1216; background: url('../img/v2/f5-branch.webp') center / contain no-repeat; opacity: .5; transform: rotate(-8deg); pointer-events: none; }
.thm15-section:is(.thm15-gallery)::after { left: auto; right: -60px; transform: scaleX(-1) rotate(-8deg); }

.thm15-intro__hero, .thm15-intro__portrait::before { border-radius: 999px 999px 4px 4px; }
.thm15-intro__portrait::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--fl-line-strong); }
.thm15-intro__hero { box-shadow: 0 30px 60px rgb(64 72 48 / 16%); }
.thm15-intro__copy em { color: var(--fl-gold); }

.thm15-profile__media { padding: 10px; }
.thm15-profile__media::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--fl-line-strong); border-radius: 999px 999px 4px 4px; }
.thm15-profile__media img, .thm15-profile__monogram { border-radius: 999px 999px 4px 4px; }
.thm15-profile__brush { position: absolute; left: -20%; bottom: -8%; width: 56%; aspect-ratio: 734 / 793; background: url('../img/v2/f5-corner.webp') center / contain no-repeat; transform: rotate(-90deg); pointer-events: none; }
.thm15-profile:nth-child(2) .thm15-profile__brush { left: auto; right: -20%; transform: rotate(-90deg) scaleY(-1); }

.thm15-event { background: var(--fl-card); box-shadow: inset 0 0 0 8px var(--fl-card), inset 0 0 0 9px var(--fl-line); }
.thm15-event__date strong { color: var(--fl-accent); }
.thm15-story-entry__visual img { border-radius: 999px 999px 4px 4px; aspect-ratio: 4 / 4.4; }
.thm15-gallery__piece img { border-radius: 4px; }
.thm15-gallery__piece:nth-child(3n+1) img { border-radius: 999px 999px 4px 4px; }
.thm15-form { box-shadow: inset 0 0 0 8px var(--fl-card), inset 0 0 0 9px var(--fl-line), 0 18px 40px var(--fl-shadow); }
.thm15-wish-card { box-shadow: inset 0 0 0 6px var(--fl-card), inset 0 0 0 7px var(--fl-line); }
.thm15-dresscode__swatch > span { border-radius: 999px 999px 4px 4px; aspect-ratio: 3 / 4; }
.thm15-quote blockquote p { font-style: normal; }
.thm15-health-card__number { color: var(--fl-gold); }

.thm15-closing { background: radial-gradient(ellipse at 50% 0%, rgb(126 140 104 / 40%) 0%, transparent 60%), var(--fl-closing); }
.thm15-closing .thm15-kicker { color: var(--fl-closing-accent); }
.thm15-closing .thm15-petals i { background: #efe6d4; }

/* Eucalyptus branches run down the outer gutter only, so headings and cards stay clear at every width. */
.thm15-section:is(.thm15-couple, .thm15-gallery, .thm15-wishes)::after { left: -70px; width: clamp(120px, 12vw, 200px); }
.thm15-section:is(.thm15-gallery)::after { left: auto; right: -70px; }
@media (max-width: 1100px) {
    .thm15-section:is(.thm15-couple, .thm15-gallery, .thm15-wishes)::after { left: -55px; width: 100px; }
    .thm15-section:is(.thm15-gallery)::after { left: auto; right: -55px; }
}
@media (max-width: 760px) {
    .thm15-section:is(.thm15-couple, .thm15-gallery, .thm15-wishes)::after { left: -50px; width: 76px; }
    .thm15-section:is(.thm15-gallery)::after { left: auto; right: -50px; }
}

/* Names wrap only between words: a name shrinks to its line instead (the templates estimate --thm15-name-em). */
.thm15-cover h1, .thm15-closing h2 { container-type: inline-size; }
.thm15-cover h1 span, .thm15-closing h2 span { font-size: min(1em, max(1rem, 92cqi / var(--thm15-name-em, 3))); overflow-wrap: break-word; }

/* Great Vibes and the Cormorant italic arrive after the first paint. Until then the fallback face is
   scaled to their x-height, so the kickers and headings keep their line breaks and nothing shifts on swap. */
.theme-thm15 :is(h1, h2, h3) { font-size-adjust: .386; }
.theme-thm15 .thm15-kicker { font-size-adjust: .328; }

/* Video, Kirim Kado and event counts (2026-10 revision) ------------------------- */

/* Films are framed like the linen cards: a fine rule inset on the card, one film centred, two or
   more in pairs with an odd last film centred under them. */
.thm15-video { --theme-video-gap: 28px; --theme-video-radius: 3px; --theme-video-border: transparent; --theme-video-frame: var(--fl-closing); --theme-video-button: var(--fl-card); --theme-video-button-text: var(--fl-accent); }
.thm15-video .theme-video__list { display: flex; flex-wrap: wrap; justify-content: center; }
.thm15-video .theme-video__item { flex: 0 1 100%; padding: 18px; border-radius: var(--fl-card-radius); background: var(--fl-card); box-shadow: inset 0 0 0 8px var(--fl-card), inset 0 0 0 9px var(--fl-line), 0 18px 40px var(--fl-shadow); }
.thm15-video:not([data-video-count="1"]) .theme-video__item { flex-basis: calc((100% - var(--theme-video-gap)) / 2); }
.theme-thm15 .thm15-video .theme-video__play { --theme-focus: #ffffff; border-radius: 16px; }
.theme-thm15 .thm15-video .theme-video__play:focus-visible { box-shadow: 0 0 0 9px rgb(43 51 39 / 45%); }
body.theme-thm15 .thm15-video .theme-video__caption { margin-top: 12px; color: var(--fl-heading); font: italic 500 1.35rem/1.4 var(--invie-font-heading, "Cormorant Garamond"), Georgia, serif; }

/* Kirim Kado follows the gift accounts on their linen wash: the same split heading, and each address
   on a card in the gift-card gradient. One card sits centred; two share a row. */
@media (min-width: 761px) {
    .thm15-gift-address .thm15-heading--split { row-gap: 0; }
    .thm15-gift-address .thm15-heading--split > .thm15-kicker { grid-column: 1; }
    .thm15-gift-address .thm15-heading--split > h2 { grid-column: 1; grid-row: 2; }
    .thm15-gift-address .thm15-heading--split > p:not(.thm15-kicker) { grid-column: 2; grid-row: 1 / span 2; }
}
.thm15-gift + .thm15-gift-address { padding-top: 24px; }
.thm15-gift-address .theme-gift-address__list { gap: 24px; width: 100%; }
.thm15-gift-address .theme-gift-address__card { position: relative; overflow: hidden; flex: 0 1 34rem; align-items: flex-start; gap: 0; padding: 30px; border: 0; border-radius: var(--fl-card-radius); background: var(--fl-gift); color: var(--fl-gift-ink); box-shadow: 0 18px 40px var(--fl-shadow); text-align: left; --theme-focus: #ffffff; }
.thm15-gift-address .theme-gift-address__list:not([data-address-count="1"]) .theme-gift-address__card { flex-basis: calc((100% - 24px) / 2); max-width: 34rem; }
.thm15-gift-address .theme-gift-address__card::before { content: "Alamat pengiriman"; align-self: stretch; margin-bottom: 22px; font-size: 12px; font-weight: 700; letter-spacing: .12em; line-height: 1.6; text-transform: uppercase; opacity: .85; }
.thm15-gift-address .theme-gift-address__card:lang(en)::before { content: "Delivery address"; }
.thm15-gift-address .theme-gift-address__card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 170px; height: 170px; background: currentColor; opacity: .1; -webkit-mask: var(--fl-mark) center / contain no-repeat; mask: var(--fl-mark) center / contain no-repeat; pointer-events: none; }
body.theme-thm15 .thm15-gift-address .theme-gift-address__label { font-size: 12px; letter-spacing: 0; text-transform: none; opacity: .85; }
body.theme-thm15 .thm15-gift-address .theme-gift-address__name { margin: 2px 0 10px; color: inherit; font: 500 clamp(1.7rem, 2.4vw, 2rem)/1.2 var(--invie-font-heading, "Cormorant Garamond"), Georgia, serif; }
body.theme-thm15 .thm15-gift-address .theme-gift-address__phone a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration-color: rgb(255 255 255 / 55%); }
body.theme-thm15 .thm15-gift-address .theme-gift-address__address { max-width: none; font-size: 14px; line-height: 1.75; }
body.theme-thm15 .thm15-gift-address .theme-gift-address__note { margin-top: 10px; font-size: 13px; opacity: .85; }
body.theme-thm15 .thm15-gift-address .theme-gift-address__copy { position: relative; z-index: 1; margin-top: auto; border-color: currentColor; color: var(--fl-gift-ink); }
.thm15-gift-address .theme-gift-address__card > :nth-last-child(2) { margin-bottom: 24px; }
body.theme-thm15 .thm15-gift-address .theme-gift-address__copy:hover { background: rgb(255 255 255 / 16%); }

/* One event sits centred and a little wider; an odd last event centres under the pair above. */
@media (min-width: 761px) {
    .thm15-events__tickets { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .thm15-events__tickets > .thm15-event { grid-column: span 2; }
    .thm15-events__tickets > .thm15-event:last-child:nth-child(odd) { grid-column: 2 / span 2; }
    .thm15-events__tickets[data-event-count="1"] { grid-template-columns: minmax(0, 680px); justify-content: center; }
    .thm15-events__tickets[data-event-count="1"] > .thm15-event:only-child { grid-column: 1; }
}

@media (max-width: 760px) {
    .thm15-video:not([data-video-count="1"]) .theme-video__item { flex-basis: 100%; }
    .thm15-video .theme-video__item { padding: 12px; box-shadow: inset 0 0 0 5px var(--fl-card), inset 0 0 0 6px var(--fl-line), 0 14px 30px var(--fl-shadow); }
    .thm15-gift + .thm15-gift-address { padding-top: 8px; }
    .thm15-gift-address .theme-gift-address__list[data-address-count] .theme-gift-address__card { flex-basis: 100%; max-width: none; padding: 26px; }
}

/* Gift and Kirim Kado read as one chapter: no letterpress rule between them. */
.thm15-gift:has(+ .thm15-gift-address)::before { display: none; }

/* Teks & Font: a text the couple writes may hold one long word (Bapak/Ibu/Saudara/i). Body text
   breaks instead of pushing past its column (headings shrink first: text-fit.js). Zero
   specificity, so the theme's own wrapping rules win. */
:where(body.theme-thm15) :where(h4, p, small, li, blockquote, figcaption) {
    overflow-wrap: break-word;
}
