/* Teduh Toraja: saddleback roofs, carved panels and highland light. */
body.theme-thm24 {
    --toraja-ink: #171411;
    --toraja-panel: #272019;
    --toraja-gold: #d6ac61;
    --toraja-light: #f5ead5;
    --toraja-muted: #bfb09b;
    --toraja-red: #932f25;
    --toraja-line: rgb(214 172 97 / 32%);
    --theme-focus: #f2d69c;
    margin: 0;
    background: var(--toraja-ink);
    color: var(--toraja-light);
    font: 400 15px/1.8 var(--invie-font-body, "Manrope"), sans-serif;
    -webkit-font-smoothing: antialiased;
}
.theme-thm24 *, .theme-thm24 *::before, .theme-thm24 *::after { box-sizing: border-box; }
.theme-thm24 :where(h1,h2,h3,p,figure,blockquote) { margin: 0; }
.theme-thm24 :is(h1,h2,h3) { font-family: var(--invie-font-heading, "Cormorant Garamond"), Georgia, serif; font-weight: 500; line-height: 1.08; overflow-wrap: anywhere; }
.theme-thm24 h2 { font-size: clamp(2.6rem, 4.2vw, 4.4rem); }
.theme-thm24 h3 { font-size: clamp(2rem, 3vw, 2.8rem); }
.theme-thm24 p { text-wrap: pretty; }
.theme-thm24 :is(a,button,input,textarea,select) { -webkit-tap-highlight-color: transparent; }
.theme-thm24 a { color: inherit; text-decoration: none; }
.theme-thm24 button { cursor: pointer; font: inherit; }
.theme-thm24 button:disabled { opacity: .55; cursor: wait; }
.theme-thm24 img { display: block; max-width: 100%; }
.theme-thm24 :is(button,input,textarea,select) { max-width: 100%; }
.theme-thm24 [hidden] { display: none !important; }
.theme-thm24 ::selection { color: var(--toraja-ink); background: var(--toraja-gold); }
.theme-thm24:not([data-theme-state="open"]) { overflow: hidden; }
.thm24-page { width: 100%; position: relative; }
.theme-thm24 .thm24-invitation { visibility: visible; opacity: 1; outline: 0; }
.theme-thm24 [data-theme-section] { content-visibility: visible; contain-intrinsic-size: none; scroll-margin-top: 20px; }
.thm24-kicker { color: var(--toraja-gold); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; line-height: 1.9; text-transform: uppercase; }
.thm24-button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 14px 28px; border: 1px solid var(--toraja-gold); border-radius: 2px; background: linear-gradient(110deg,#b68c49,#f0d9a0,#c6a05d); color: #211811; font-size: 12px; font-weight: 700; letter-spacing: .04em; transition: box-shadow .25s, transform .25s; }
.thm24-button:hover { box-shadow: 0 4px 25px #d6ac612a; transform: translateY(-2px); }
.theme-thm24 a.thm24-button { color: #211811; }
.theme-thm24 .thm24-button.thm24-button--gold { border-color: var(--toraja-gold); background: linear-gradient(110deg,#b68c49,#f0d9a0,#c6a05d); color: var(--toraja-ink); }
.theme-thm24 .thm24-button.thm24-button--ink { border-color: var(--toraja-gold); background: var(--toraja-ink); color: var(--toraja-light); }
.theme-thm24 .thm24-button.thm24-button--paper { background: transparent; color: var(--toraja-gold); }
.thm24-text-link { display: inline-flex; gap: 14px; align-items: center; min-height: 44px; padding-block: 8px; border: 0; border-bottom: 1px solid var(--toraja-line); background: transparent; color: var(--toraja-gold) !important; font-size: 12px; }
.thm24-divider { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--toraja-gold); margin: 22px 0; font-size: 8px; }
.thm24-divider::before, .thm24-divider::after { content: ""; width: 65px; height: 1px; background: linear-gradient(90deg,transparent,var(--toraja-gold)); }
.thm24-divider::after { transform: rotate(180deg); }

/* Prepare responsive dimensions before the cover fades; no opening layout overrides. */
.thm24-cover { position: fixed !important; z-index: 50; inset: 0; overflow: auto; isolation: isolate; background: #171411; transition: opacity .85s ease, visibility .85s; }
.thm24-cover__stage { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; width: min(100% - 140px,1500px); min-height: 100svh; margin: auto; }
.thm24-cover__frame { position: relative; z-index: 2; min-width: 0; padding: 55px 25px; text-align: center; isolation: isolate; animation: thm24-enter 1.3s ease both; }
.thm24-cover__portrait { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .06; mask-image: linear-gradient(transparent,#000 40%,transparent); }
.thm24-cover__crest { width: 155px; height: auto; margin: 0 auto 20px; }
.thm24-cover h1 { color: #e8c78b; font-size: clamp(3.4rem,5.2vw,4.8rem); letter-spacing: -.035em; margin-top: 20px; }
.thm24-cover h1 span,.thm24-cover h1 i { display: block; overflow-wrap: anywhere; }
.thm24-cover h1 i { font-size: .35em; font-weight: 400; margin: 8px 0; }
.thm24-cover--long h1 { font-size: clamp(2.7rem,4.6vw,4.8rem); }
.thm24-cover time { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.thm24-cover__guest { display: grid; gap: 6px; margin: 28px auto 24px; overflow-wrap: anywhere; }
.thm24-cover__guest span { color: var(--toraja-muted); font-size: 12px; }
.thm24-cover__guest strong { font-size: 16px; font-weight: 500; }
.thm24-cover__scene { position: relative; align-self: center; aspect-ratio: 1.1; width: 100%; min-width: 0; margin: 40px 0; border: 1px solid var(--toraja-line); border-top: 3px solid #a6422c; overflow: hidden; }
.thm24-cover__scene img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 85% center; }
.thm24-cover__scene::after { content: ''; position: absolute; inset: 12px; border: 1px solid #f3ddb563; pointer-events: none; }
.thm24-cover__scene-caption { position: absolute; z-index: 1; bottom: 0; left: 0; right: 0; padding: 65px 25px 25px; background: linear-gradient(transparent,#171411dd); font-size: 12px; letter-spacing: .3em; text-align: center; color: #f5ead5; }
.thm24-cover__textile { --thm24-repeat: 156px; position: fixed; z-index: 3; inset-block: 0; width: 40px; background: url('../img/carved-panel.svg') center 0 / 104px var(--thm24-repeat) repeat-y; border-inline: 1px solid var(--toraja-line); animation: thm24-weave 30s linear infinite; }
.thm24-cover__textile--left { left: 0; }.thm24-cover__textile--right { right: 0; animation-direction: reverse; }
.theme-thm24.thm24-is-open .thm24-cover { opacity: 0; visibility: hidden; pointer-events: none; }

/* Continuous decoration animates independently of layout. */
.thm24-ornaments { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.thm24-scrollwork { position: absolute; width: clamp(190px,24vw,350px); height: auto; bottom: -15px; opacity: .55; transform-origin: 15% 95%; animation: thm24-sway 14s ease-in-out infinite; }
.thm24-scrollwork--left { left: -6%; }.thm24-scrollwork--right { right: -6%; scale: -1 1; animation-delay: -7s; }
.thm24-dust { position: absolute; inset: 0; }
.thm24-dust i { position: absolute; left: 17%; top: 75%; width: 3px; height: 3px; border-radius: 50%; background: #ead19a; box-shadow: 0 0 9px #f6ce7b; animation: thm24-drift 10s ease-in-out infinite; opacity: 0; }
.thm24-dust i:nth-child(2) { left: 33%; top: 39%; animation-delay: -4s; }.thm24-dust i:nth-child(3) { left: 69%; top: 68%; animation-delay: -7s; }.thm24-dust i:nth-child(4) { left: 85%; top: 29%; animation-delay: -2s; }.thm24-dust i:nth-child(5) { left: 8%; top: 31%; animation-delay: -6s; }.thm24-dust i:nth-child(6) { left: 53%; top: 88%; animation-delay: -1s; }.thm24-dust i:nth-child(7) { left: 78%; top: 82%; animation-delay: -8s; }.thm24-dust i:nth-child(8) { left: 42%; top: 12%; animation-delay: -3s; }
@keyframes thm24-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes thm24-weave { from { background-position: center 0; } to { background-position: center calc(-1 * var(--thm24-repeat)); } }
@keyframes thm24-sway { 0%,100% { transform: rotate(-1deg); } 50% { transform: rotate(1.5deg) translateY(-7px); } }
@keyframes thm24-drift { 0%,100% { opacity: 0; transform: translate(0,12px); } 40% { opacity: .6; } 80% { opacity: .15; transform: translate(13px,-44px); } }
.thm24-motion-ready [data-thm24-reveal] { transition: opacity .85s ease, transform .85s ease; }
.thm24-motion-ready [data-thm24-reveal]:not(.is-visible) { opacity: 0; transform: translateY(24px); }
.theme-thm24:is([data-motion-paused="true"],[data-page-hidden="true"]) :is(.thm24-scrollwork,.thm24-dust i,.thm24-cover__textile) { animation-play-state: paused !important; }
.theme-thm24[data-motion-paused="true"] [data-thm24-reveal] { opacity: 1; transform: none; }
.thm24-section { position: relative; padding: 100px max(7vw,calc((100vw - 1140px)/2)); border-bottom: 1px solid var(--toraja-line); }
.thm24-section > :not(dialog) { position: relative; min-width: 0; }
.thm24-section > .thm24-ornaments { position: absolute; }
.thm24-heading { max-width: 680px; text-align: center; margin: 0 auto 60px; }
.thm24-heading::before { content: ''; display: block; width: 48px; height: 48px; margin: 0 auto 26px; background: url('../img/medallion.svg') center / contain no-repeat; }
.thm24-heading .thm24-kicker { margin-bottom: 15px; }
.thm24-heading p:not(.thm24-kicker) { max-width: 550px; margin: 22px auto 0; color: var(--toraja-muted); font-size: 15px; }
.thm24-intro { padding-top: 0; background: radial-gradient(ellipse at 85% 45%,#75362640,transparent 65%),#171411; }
.thm24-intro .thm24-scrollwork { opacity: .2; }
.thm24-nav { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 25px 0; border-bottom: 1px solid var(--toraja-line); }
.thm24-nav__brand { font: 30px/1.1 var(--invie-font-heading, "Cormorant Garamond"),serif; color: var(--toraja-gold) !important; }
.thm24-nav__links { display: flex; gap: 28px; flex-wrap: wrap; }
.thm24-nav__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
.thm24-nav__links a:hover { color: var(--toraja-gold); }
.thm24-intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 70px 0 65px; }
.thm24-intro__copy { min-width: 0; max-width: 600px; }
.thm24-intro__copy h2 { font-size: clamp(3rem,5vw,5.1rem); margin-top: 22px; }
.thm24-intro__copy em { display: inline-block; color: var(--toraja-gold); font-weight: 500; }
.thm24-intro__copy > p:not(.thm24-kicker) { font-size: 15px; max-width: 420px; color: var(--toraja-muted); }
.thm24-intro__copy .thm24-divider { justify-content: flex-start; }
.thm24-intro__copy .thm24-text-link { margin-top: 18px; }
.thm24-intro__portrait { position: relative; width: 100%; max-width: 500px; margin: 0 auto; padding: 0 22px 20px; background: linear-gradient(transparent 20%,#702d24 20%); }
.thm24-intro__ornament { display: block; width: calc(100% + 44px); max-width: none !important; height: auto; margin: 0 -22px -1px; }
.thm24-intro__hero { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--toraja-gold); background: linear-gradient(#17141160,#17141180),url('../img/tongkonan-landscape.webp') 65% center / cover; }
.thm24-intro__hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thm24-intro__hero figcaption { position: absolute; inset: auto 0 0; padding: 55px 20px 18px; text-align: center; background: linear-gradient(transparent,#171411df); font: italic 32px var(--invie-font-heading, "Cormorant Garamond"),serif; }
.thm24-intro__monogram { font: 100px var(--invie-font-heading, "Cormorant Garamond"),serif; color: var(--toraja-gold); }
.thm24-countdown { display: flex; justify-content: center; align-items: center; gap: 42px; padding: 30px 0 0; border-top: 1px solid var(--toraja-line); }
.thm24-countdown > p { max-width: 150px; }.thm24-countdown > div { display: grid; min-width: 55px; text-align: center; }
.thm24-countdown strong { color: var(--toraja-gold); font: 45px/1.2 var(--invie-font-heading, "Cormorant Garamond"),serif; }
.thm24-countdown span { color: var(--toraja-muted); font-size: 12px; letter-spacing: .1em; }
.thm24-couple { background: #ede2cb; color: #30241a; --toraja-muted: #66563f; }
.thm24-couple .thm24-kicker { color: #8c3d2c; }.thm24-couple .thm24-text-link { color: #8c3d2c !important; border-color: #8c3d2c55; }
.thm24-couple__profiles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10%; max-width: 950px; margin: 55px auto 0; }
.thm24-profile { text-align: center; min-width: 0; }
.thm24-profile__media { position: relative; width: min(100%,310px); aspect-ratio: 3 / 4; border: 1px solid #8c3d2c; background: #702d24 url('../img/carved-panel.svg') center / 80px 120px; }
.theme-thm24 .thm24-profile__media { margin: 0 auto 32px; }
.thm24-profile__media::after { content: ''; position: absolute; left: 50%; translate: -50% 0; bottom: -15px; width: 30px; height: 30px; background: url('../img/medallion.svg') center / contain no-repeat; }
.thm24-profile__media img,.thm24-profile__monogram { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: cover; }
.thm24-profile__monogram { display: grid; place-items: center; color: var(--toraja-gold); font: 90px var(--invie-font-heading, "Cormorant Garamond"),serif; background: linear-gradient(#17141190,#17141190),url('../img/tongkonan-landscape.webp') 65% center / cover; }
.thm24-profile__copy h3 { color: #6d2e24; margin: 10px auto 18px; max-width: 420px; }
.thm24-profile__copy > p:not(.thm24-kicker) { font-size: 15px; color: var(--toraja-muted); max-width: 330px; margin: auto; }
.thm24-profile__copy .thm24-text-link { margin-top: 12px; }
.thm24-profile--name-long h3,.thm24-profile--name-xlong h3 { font-size: 2rem; }
.thm24-events { background: #752d23; --toraja-muted: #e2c4aa; }
.thm24-events::before { content: ''; position: absolute; inset: 0 0 auto; height: 18px; background: url('../img/carved-panel.svg') center / 60px 90px repeat-x; }
.thm24-events__tickets { display: grid; gap: 28px; max-width: 960px; margin: auto; }
.thm24-event { display: grid; grid-template-columns: 160px minmax(0,1fr); gap: 0 36px; position: relative; padding: 36px; border: 1px solid #d6ac6180; background: #231b15; color: var(--toraja-light); --toraja-muted: #bfb09b; }
.thm24-event::after { content: ''; position: absolute; inset: 7px; border: 1px solid #d6ac6120; pointer-events: none; }
.thm24-event__date { padding: 12px 30px 12px 0; border-right: 1px solid var(--toraja-line); align-self: center; text-align: center; }
.thm24-event__date time { display: grid; color: var(--toraja-gold); }
.thm24-event__date span,.thm24-event__date small { font-size: 12px; letter-spacing: .15em; }
.thm24-event__date strong { font: 80px/1.1 var(--invie-font-heading, "Cormorant Garamond"),serif; margin: 6px 0; }
.thm24-event__copy h3 { margin: 10px 0 18px; }.thm24-event__copy > strong { display: block; font-size: 14px; margin: 20px 0 7px; }
.thm24-event__copy address { font-style: normal; color: var(--toraja-muted); font-size: 12px; }.thm24-event__time { font-size: 14px; }
.thm24-event__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
/* One map control: open, the map takes the card's width with the maps link beneath it. */
.thm24-event__map[open] { align-self: stretch; }.thm24-event__map .theme-v2-map__open { color: var(--toraja-gold); font-size: 13px; }
.thm24-quote { text-align: center; background: url('../img/scrollwork.svg') left bottom / min(30%,300px) auto no-repeat,#171411; }
.thm24-quote__brush { display: block; height: 48px; background: url('../img/medallion.svg') center / contain no-repeat; margin-bottom: 30px; }
.thm24-quote blockquote { max-width: 750px; margin: auto; }.thm24-quote__mark { display: none; }
.thm24-quote blockquote p { font: 500 clamp(1.6rem,2.6vw,2.3rem)/1.5 var(--invie-font-heading, "Cormorant Garamond"),serif; }
.thm24-quote cite { display: block; color: var(--toraja-gold); font-style: normal; letter-spacing: .14em; font-size: 12px; margin-top: 30px; }

/* Photo stories and accessible invitation interactions. */
.thm24-story__timeline { position: relative; max-width: 950px; margin: auto; }
.thm24-story__timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(transparent,var(--toraja-gold),transparent); }
.thm24-story-entry { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 40px 0; }
.thm24-story-entry--even .thm24-story-entry__visual { order: 2; }
.thm24-story-entry__visual figure { position: relative; }
.thm24-story-entry__visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; padding: 7px; border: 1px solid var(--toraja-line); }
.thm24-story-entry__visual figcaption { position: absolute; bottom: 20px; left: 25px; font: 45px var(--invie-font-heading, "Cormorant Garamond"),serif; text-shadow: 0 2px 10px #000; font-variant-numeric: lining-nums; }
.thm24-story-entry__placeholder { min-height: 220px; display: grid; place-items: center; background: url('../img/scrollwork.svg') center / contain no-repeat; color: var(--toraja-gold); }.thm24-story-entry__placeholder span { display: none; }
.thm24-story-entry__chapter { color: var(--toraja-gold); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; }
.thm24-story-entry__copy time { font-size: 12px; color: var(--toraja-muted); }.thm24-story-entry__copy h3 { margin: 14px 0; }.thm24-story-entry__copy > p:last-child { color: var(--toraja-muted); font-size: 15px; }
.thm24-gallery { background: #272019; }
.thm24-gallery__collage { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; align-items: start; }
.thm24-gallery__piece { position: relative; min-width: 0; padding: 7px; border: 1px solid var(--toraja-line); background: transparent; color: var(--toraja-light); }
.thm24-gallery__piece img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }.thm24-gallery__piece:nth-child(3n+2) { margin-top: 50px; }
.thm24-gallery__piece > span { position: absolute; bottom: 16px; right: 20px; font-size: 12px; text-shadow: 0 1px 6px #000; }.thm24-gallery__piece small { display: block; padding: 10px; }
.thm24-gallery-dialog { padding: 18px; width: min(900px,94vw); max-height: 94dvh; color: var(--toraja-light); background: var(--toraja-ink); border: 1px solid var(--toraja-gold); }
.thm24-gallery-dialog::backdrop { background: #10080ce8; }.thm24-gallery-dialog button { border: 1px solid var(--toraja-line); color: var(--toraja-light); background: transparent; padding: 8px 12px; }
.thm24-gallery-dialog__bar,.thm24-gallery-dialog__controls { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: 12px; }.thm24-gallery-dialog figure { margin: 14px 0; }.thm24-gallery-dialog figure img { max-height: 65dvh; width: 100%; object-fit: contain; }.thm24-gallery-dialog figcaption { text-align: center; font-size: 12px; }
.thm24-rsvp__layout, .thm24-wishes__guestbook { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; }
.thm24-rsvp__aside h2 { margin: 15px 0 24px; }.thm24-rsvp__aside > p:not(.thm24-kicker) { color: var(--toraja-muted); font-size: 15px; }.thm24-rsvp__deadline strong { display: block; color: var(--toraja-gold); }
.thm24-rsvp__mark { width: 160px; height: 240px; background: url('../img/scrollwork.svg') center / contain no-repeat; margin: 35px 0; }.thm24-rsvp__mark span { display: none; }
.thm24-form { padding: 32px; background: #272019; border: 1px solid var(--toraja-line); display: grid; gap: 20px; align-content: start; }
.thm24-field { min-width: 0; margin: 0; padding: 0; border: 0; }.thm24-field > label,.thm24-field legend { display: block; padding: 0; font-size: 12px; margin-bottom: 8px; color: var(--toraja-gold); }
.thm24-field :is(input:not([type="radio"]),textarea,select) { width: 100%; padding: 12px 14px; border: 1px solid #d6ac6140; border-radius: 0; background: #171411; color: var(--toraja-light); font: 13px/1.8 var(--invie-font-body, "Manrope"),sans-serif; }.thm24-field textarea { resize: vertical; }.thm24-field ::placeholder { color: #baa39d; opacity: 1; }
.thm24-attendance__options { display: grid; gap: 8px; }.thm24-attendance__options label { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--toraja-line); font-size: 12px; cursor: pointer; }.thm24-attendance__options label:has(input:checked) { background: #d6ac6112; border-color: var(--toraja-gold); }.thm24-attendance input { accent-color: var(--toraja-gold); }
.thm24-form__status { font-size: 12px; color: #e4c893; overflow-wrap: anywhere; }.thm24-form__status:empty { display: none; }.thm24-form__status[data-status="error"] { color: #ffb7ab; }
.thm24-wishes { background: #201a15; }.thm24-wishes__featured { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; margin-bottom: 40px; }.thm24-wish-card { position: relative; padding: 30px; border: 1px solid var(--toraja-line); }.thm24-wish-card__number { color: var(--toraja-gold); font-size: 12px; }.thm24-wish-card blockquote { margin: 12px 0 22px; font: 24px/1.5 var(--invie-font-heading, "Cormorant Garamond"),serif; }.thm24-wish-card figcaption { display: flex; gap: 12px; align-items: center; font-size: 12px; }.thm24-wish-card figcaption img,.thm24-wish-card__initial { width: 42px; height: 42px; object-fit: cover; border-radius: 50%; }.thm24-wish-card__initial { display: grid; place-items: center; border: 1px solid var(--toraja-line); }.thm24-wish-card small { display: block; color: var(--toraja-muted); font-size: 12px; }
.thm24-wishes__messages-head { display: flex; gap: 15px; justify-content: space-between; align-items: center; }.thm24-wishes__messages-head h3 { margin-top: 10px; }.thm24-wishes__messages ul { list-style: none; padding: 0; margin: 25px 0 0; max-height: 490px; overflow: auto; }.thm24-wishes__messages li { display: flex; gap: 16px; border-bottom: 1px solid var(--toraja-line); padding: 22px 0; font-size: 15px; overflow-wrap: anywhere; }.thm24-wishes__messages li > span,.thm24-wishes__messages time { color: var(--toraja-gold); font-size: 12px; }.thm24-wishes__messages time { display: block; }.thm24-wishes__messages li p { margin-top: 10px; color: var(--toraja-muted); }
.thm24-gift__accounts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px; }.thm24-gift-card { padding: 30px; border: 1px solid var(--toraja-line); background: linear-gradient(135deg,#612920,#171411); }.thm24-gift-card__masthead { display: flex; justify-content: space-between; font-size: 12px; color: var(--toraja-gold); letter-spacing: .08em; }.thm24-gift-card__bank { display: flex; gap: 15px; align-items: center; margin: 22px 0; }.thm24-gift-card__bank img { max-width: 75px; max-height: 35px; padding: 6px; background: #fff; border-radius: 3px; }.thm24-gift-card__bank strong { font-size: 12px; }.thm24-gift-card__account { display: grid; margin-bottom: 25px; overflow-wrap: anywhere; }.thm24-gift-card__account span,.thm24-gift-card__account small { color: var(--toraja-muted); font-size: 12px; }.thm24-gift-card__account strong { font: 29px/1.8 var(--invie-font-heading, "Cormorant Garamond"),serif; color: var(--toraja-gold); }
.thm24-dresscode,.thm24-livestream,.thm24-health { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; align-items: center; }.thm24-dresscode h2,.thm24-livestream h2,.thm24-health h2 { margin: 14px 0 22px; font-size: 2.8rem; }.thm24-dresscode p:not(.thm24-kicker),.thm24-livestream p:not(.thm24-kicker),.thm24-health p:not(.thm24-kicker) { font-size: 15px; color: var(--toraja-muted); }.thm24-dresscode small { display: block; margin-top: 15px; font-size: 12px; }.thm24-dresscode__palette { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }.thm24-dresscode__swatch { display: flex; gap: 12px; align-items: center; font-size: 12px; }.thm24-dresscode__swatch > span { width: 45px; height: 60px; flex: 0 0 45px; border: 1px solid var(--toraja-line); border-radius: 0; background: var(--thm24-swatch); }.thm24-dresscode__swatch small { margin-top: 3px; }
/* Beside the copy, the swatches sit as one centred group instead of two far-apart columns. */
@media (min-width: 761px) { .thm24-dresscode__palette { grid-template-columns: repeat(2, minmax(0, max-content)); justify-content: center; column-gap: 56px; } }
.thm24-livestream { background: #612920; }.thm24-livestream__signal { display: none; }.thm24-livestream__access { padding: 30px; border: 1px solid var(--toraja-line); }.thm24-livestream__meta { display: grid; margin-bottom: 24px; }.thm24-livestream__meta span { font-size: 12px; letter-spacing: .14em; color: var(--toraja-gold); }.thm24-livestream dd { margin: 0; overflow-wrap: anywhere; }.thm24-health__grid { list-style: none; padding: 0; }.thm24-health-card { padding: 18px 0; border-bottom: 1px solid var(--toraja-line); }.thm24-health-card__number { margin-right: 10px; color: var(--toraja-gold); font-size: 12px; }.thm24-health-card strong { font-size: 13px; }
.thm24-gallery__piece { padding: 9px; background: #702d24 url('../img/carved-panel.svg') center / 70px 105px; border: 1px solid var(--toraja-gold); }
.thm24-gallery__piece small { background: var(--toraja-panel); }
.thm24-form { border-top: 3px solid #a6422c; }
.thm24-gift-card { background: linear-gradient(110deg,#272019f7,#272019c8),url('../img/carved-panel.svg') right center / 80px 120px; border: 1px solid var(--toraja-gold); }
.thm24-closing { position: relative; overflow: hidden; padding: 100px 25px 470px; text-align: center; isolation: isolate; background: #171411; }
.thm24-closing::before { content: ''; position: absolute; z-index: -1; bottom: 0; left: 0; width: 100%; height: 490px; background: url('../img/tongkonan-landscape.webp') center 65% / cover no-repeat; mask-image: linear-gradient(transparent,#000 35%); opacity: .75; }
.thm24-closing__media { position: absolute; inset: 0; z-index: -2; }.thm24-closing__media img { width: 100%; height: 100%; object-fit: cover; opacity: .05; }.thm24-closing__monogram { display: none; }
.thm24-closing__copy { position: relative; max-width: 850px; margin: auto; }
.thm24-closing__copy::before { content: ''; display: block; height: 48px; background: url('../img/medallion.svg') center / contain no-repeat; margin-bottom: 30px; }
.thm24-closing h2 { font-size: clamp(3.5rem,7vw,6rem); margin: 25px 0; color: var(--toraja-gold); }.thm24-closing h2 i { font-size: .55em; margin-inline: 15px; }
.thm24-closing__copy > p:not(.thm24-kicker) { font-size: 15px; color: var(--toraja-muted); max-width: 470px; margin: auto; }.thm24-closing time { display: block; margin: 24px 0; font-size: 12px; letter-spacing: .15em; }.thm24-closing small { display: block; font-size: 12px; color: var(--toraja-muted); margin-top: 40px; }
.thm24-closing--names-long h2,.thm24-closing--names-xlong h2 { font-size: clamp(2.6rem,5vw,4rem); }
.thm24-sr-status { position: fixed; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 1100px) {
    .thm24-section { padding: 80px 6vw; }.thm24-intro { padding-top: 0; }
    .thm24-intro__grid { gap: 36px; }.thm24-rsvp__layout,.thm24-wishes__guestbook { gap: 35px; }
    .thm24-cover__stage { width: calc(100% - 100px); }.thm24-cover__frame { padding: 35px 12px; }.thm24-cover h1 { font-size: clamp(2.9rem,5.5vw,4rem); }.thm24-cover--long h1 { font-size: clamp(2.4rem,4.3vw,3rem); }
    .thm24-cover__textile { width: 28px; }.thm24-cover__scene { margin-block: 25px; }
}
@media (max-width: 760px) {
    .theme-thm24 { font-size: 14px; }
    .thm24-cover__stage { display: flex; flex-direction: column; width: calc(100% - 44px); }
    .thm24-cover__scene { order: -1; width: 100%; height: clamp(105px,24dvh,190px); aspect-ratio: auto; min-height: 0; flex: none; margin: 0; border: 0; background: #171411; }
    .thm24-cover__scene img { object-fit: contain; object-position: center; }.thm24-cover__scene::after { inset: 10px; }
    .thm24-cover__scene-caption { font-size: 12px; padding-bottom: 17px; }
    .thm24-cover__frame { width: 100%; padding: clamp(10px,2.2dvh,22px) 22px 12px; }
    .thm24-cover__crest { width: clamp(76px,15dvh,108px); margin-bottom: 10px; }
    .thm24-cover h1 { font-size: clamp(2.55rem,11vw,3.8rem); margin-top: 10px; }
    .thm24-cover h1 i { margin: 3px 0; }.thm24-cover--long h1 { font-size: clamp(2.1rem,8vw,3rem); }
    .thm24-cover .thm24-divider { margin-block: 12px; }.thm24-cover__guest { margin: 12px 0; }
    .thm24-cover__textile { --thm24-repeat: 108px; width: 20px; background-size: 72px var(--thm24-repeat); }
    .thm24-scrollwork { width: 170px; opacity: .4; bottom: 0; }.thm24-scrollwork--left { left: -65px; }.thm24-scrollwork--right { right: -65px; }.thm24-cover .thm24-scrollwork { width: 125px; bottom: -28px; opacity: .24; }
    .thm24-section { padding: 70px 24px; }.thm24-intro { padding-top: 0; }
    .thm24-nav { gap: 12px; padding: 20px 0; }.thm24-nav__links { gap: 12px; }.thm24-nav__links a { font-size: 12px; }.thm24-nav__brand { font-size: 24px; }
    .thm24-intro__grid { grid-template-columns: minmax(0,1fr); gap: 30px; padding: 50px 0 40px; }.thm24-intro__copy { text-align: center; margin: auto; }.thm24-intro__copy h2 { font-size: clamp(2.7rem,10.5vw,4rem); }.thm24-intro__copy .thm24-divider { justify-content: center; }
    .thm24-intro__portrait { max-width: 400px; padding: 0 15px 15px; }.thm24-intro__ornament { width: calc(100% + 30px); margin-inline: -15px; }.thm24-intro__hero figcaption { font-size: 26px; }
    .thm24-countdown { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; padding-top: 26px; }.thm24-countdown > p { grid-column: 1 / -1; max-width: none; text-align: center; margin-bottom: 8px; }.thm24-countdown > div { min-width: 0; }.thm24-countdown strong { font-size: 38px; }
    .thm24-heading { margin-bottom: 40px; }.thm24-couple__profiles { grid-template-columns: 1fr; gap: 65px; margin-top: 45px; }.thm24-profile__media { width: min(90%,285px); }.thm24-profile__copy { max-width: 390px; margin: auto; }
    .thm24-event { grid-template-columns: minmax(0,1fr); gap: 25px; padding: 30px 24px; text-align: center; }.thm24-event__date { padding: 0 0 24px; border-right: 0; border-bottom: 1px solid var(--toraja-line); }.thm24-event__date strong { font-size: 68px; }.thm24-event__actions { flex-direction: column; }.thm24-event__map > summary { margin-inline: auto; }.thm24-event__map .theme-v2-map__open { justify-self: center; }
    .thm24-story-entry { grid-template-columns: 1fr; gap: 24px; padding: 28px 0; }.thm24-story-entry--even .thm24-story-entry__visual { order: 0; }.thm24-story-entry__copy { border-left: 1px solid var(--toraja-gold); padding-left: 22px; }.thm24-story__timeline::before { display: none; }
    .thm24-gallery__collage { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }.thm24-gallery__piece { padding: 5px; }.thm24-gallery__piece:nth-child(3n+2) { margin-top: 0; }.thm24-gallery__piece:nth-child(2n) { margin-top: 25px; }.thm24-gallery-dialog { padding: 12px; }
    .thm24-gift__accounts,.thm24-rsvp__layout,.thm24-wishes__guestbook,.thm24-wishes__featured,.thm24-dresscode,.thm24-livestream,.thm24-health { grid-template-columns: 1fr; gap: 28px; }.thm24-rsvp__aside { text-align: center; }.thm24-rsvp__mark { display: none; }.thm24-form { padding: 24px 20px; }.thm24-wish-card { padding: 24px; }.thm24-gift-card { padding: 26px; }.thm24-dresscode h2,.thm24-livestream h2,.thm24-health h2 { font-size: 2.5rem; }
    .thm24-closing { padding-top: 70px; padding-bottom: 260px; }.thm24-closing h2 span { display: block; }.thm24-closing h2 i { display: block; line-height: 1.4; }.thm24-closing::before { height: 290px; background-position: 65% bottom; }
}
@media (max-width: 359px) {
    .thm24-cover__frame { padding-inline: 12px; }.thm24-cover h1 { font-size: 3.1rem; }.thm24-cover--long h1 { font-size: 2rem; }.thm24-nav__links { gap: 9px; }.thm24-section { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .theme-thm24 *, .theme-thm24 *::before, .theme-thm24 *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .theme-thm24 [data-thm24-reveal] { opacity: 1 !important; transform: none !important; }.thm24-dust { display: none; }
}

/* Floating controls use the shared dock (theme-system.css), coloured for this theme. */
.thm24-dock { --theme-dock-bg: #171411eb; --theme-dock-fg: var(--toraja-gold); --theme-dock-border: var(--toraja-line); --theme-dock-bg-on-dark: #f5ead5f2; --theme-dock-fg-on-dark: #171411; --theme-dock-border-on-dark: #d6ac61; }
/* Decorative motion is paused from labelled buttons on the cover and in the closing, away from the music control. */
.thm24-motion-toggle { display: flex; min-height: 44px; margin: 14px auto 0; padding: 0 8px; align-items: center; border: 0; background: none; color: inherit; font-family: inherit; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; opacity: .85; }
.thm24-motion-toggle:hover { opacity: 1; }
.thm24-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(--toraja-line); border-radius: 999px; background: #171411eb; color: var(--toraja-gold); letter-spacing: .08em; text-decoration: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .thm24-motion-toggle { display: none; } }


/* Revisions after the 2026-10-15 review ------------------------------------ */

/* Guestbook numbers stay on one line beside the entry. */
.thm24-wishes__messages li > span { flex: none; min-width: 2.4ch; white-space: nowrap; }

/* Phones: the story chapters and gift accounts swipe sideways, one card at a
   time with the next peeking in, instead of stacking into a very long page. */
@media (max-width: 760px) {
    .thm24-story__timeline,
    .thm24-gift__accounts {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding-bottom: 8px;
    }
    .thm24-story__timeline::-webkit-scrollbar,
    .thm24-gift__accounts::-webkit-scrollbar { display: none; }
    .thm24-story__timeline::before { display: none; }
    .thm24-story-entry,
    .thm24-gift-card {
        flex: 0 0 86%;
        min-width: 0;
        scroll-snap-align: start;
    }
    .thm24-story-entry { align-content: start; padding: 0; }
    .thm24-story__timeline:focus-visible,
    .thm24-gift__accounts:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
}

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

/* Gallery: two tracks per photo on wider screens centre a short last row, and a lone last photo on mobile sits in the middle. */
@media (min-width: 761px) {
    .thm24-gallery__collage { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .thm24-gallery__piece { grid-column: span 2; }
    .thm24-gallery__piece:last-child:nth-child(3n+1) { grid-column: 3 / span 2; }
    .thm24-gallery__piece:nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; }
}
@media (max-width: 760px) {
    .thm24-gallery__piece:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc((100% - 12px) / 2); }
}

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

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

/* Films sit in the gallery's own mats: one film centred, two or more in pairs with an odd last
   film centred under them. */
.thm24-video { --theme-video-gap: 28px; --theme-video-radius: 0; --theme-video-border: transparent; --theme-video-frame: #272019; --theme-video-button: var(--toraja-gold); --theme-video-button-text: var(--toraja-ink); }
.thm24-video .theme-video__list { display: flex; flex-wrap: wrap; justify-content: center; }
.thm24-video .theme-video__item { flex: 0 1 100%; padding: 9px; border: 1px solid var(--toraja-gold); background: #702d24 url('../img/carved-panel.svg') center / 70px 105px; }
.thm24-video:not([data-video-count="1"]) .theme-video__item { flex-basis: calc((100% - var(--theme-video-gap)) / 2); }
.theme-thm24 .thm24-video .theme-video__play { --theme-focus: #ffffff; border-radius: 16px; }
.theme-thm24 .thm24-video .theme-video__play:focus-visible { box-shadow: 0 0 0 9px rgb(23 20 17 / 55%); }
body.theme-thm24 .thm24-video .theme-video__caption { margin: 10px 0 4px; color: var(--toraja-gold); font: italic 500 1.3rem/1.4 var(--invie-font-heading, "Cormorant Garamond"), Georgia, serif; }

/* Kirim Kado: each address on a card in the gift-card look, the delivery label as its masthead.
   One card sits centred; two share a row. */
.thm24-gift-address .theme-gift-address__list { gap: 25px; width: 100%; }
.thm24-gift-address .theme-gift-address__card { flex: 0 1 34rem; align-items: flex-start; gap: 0; padding: 30px; border: 1px solid var(--toraja-gold); background: linear-gradient(110deg,#272019f7,#272019ee 58%,#272019c8),url('../img/carved-panel.svg') right center / 80px 120px; color: inherit; text-align: left; }
.thm24-gift-address .theme-gift-address__list:not([data-address-count="1"]) .theme-gift-address__card { flex-basis: calc((100% - 25px) / 2); max-width: 34rem; }
.thm24-gift-address .theme-gift-address__card::before { content: "Alamat pengiriman"; margin-bottom: 22px; color: var(--toraja-gold); font-size: 12px; letter-spacing: .08em; line-height: 1.6; }
.thm24-gift-address .theme-gift-address__card:lang(en)::before { content: "Delivery address"; }
body.theme-thm24 .thm24-gift-address .theme-gift-address__label { color: var(--toraja-muted); font-size: 12px; letter-spacing: 0; text-transform: none; opacity: 1; }
body.theme-thm24 .thm24-gift-address .theme-gift-address__name { margin: 2px 0 10px; color: var(--toraja-gold); font: 500 clamp(1.65rem, 2.3vw, 1.9rem)/1.25 var(--invie-font-heading, "Cormorant Garamond"), Georgia, serif; }
body.theme-thm24 .thm24-gift-address .theme-gift-address__phone a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; text-decoration-color: var(--toraja-line); }
body.theme-thm24 .thm24-gift-address .theme-gift-address__address { max-width: none; font-size: 14px; line-height: 1.75; }
body.theme-thm24 .thm24-gift-address .theme-gift-address__note { margin-top: 10px; color: var(--toraja-muted); font-size: 13px; opacity: 1; }
body.theme-thm24 .thm24-gift-address .theme-gift-address__copy { margin-top: auto; }
.thm24-gift-address .theme-gift-address__card > :nth-last-child(2) { margin-bottom: 24px; }

@media (max-width: 760px) {
    .thm24-video:not([data-video-count="1"]) .theme-video__item { flex-basis: 100%; }
    .thm24-video .theme-video__item { padding: 5px; }
    .thm24-gift-address .theme-gift-address__list[data-address-count] .theme-gift-address__card { flex-basis: 100%; max-width: none; padding: 26px; }
}

/* 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-thm24) :where(h4, p, small, li, blockquote, figcaption) {
    overflow-wrap: break-word;
}
