/* Laras Jawa: thm12 mist-blue palette, carved timber framing and a Javanese courtyard. */
body.theme-thm28 {
    --jawa-ink: #f6f3e8;
    --jawa-panel: #e9eee7;
    --jawa-accent: #8c7149;
    --jawa-accent-ink: #6f5833;
    --jawa-light: #3f656d;
    --jawa-muted: #4a5d5e;
    --jawa-red: #3f656d;
    --jawa-line: rgb(181 140 73 / 40%);
    --theme-focus: #3f656d;
    margin: 0; background: var(--jawa-ink); color: var(--jawa-light);
    font: 400 15px/1.8 var(--invie-font-body, "Manrope"),sans-serif; -webkit-font-smoothing: antialiased;
}
.theme-thm28 *, .theme-thm28 *::before, .theme-thm28 *::after { box-sizing: border-box; }
.theme-thm28 :where(h1,h2,h3,p,figure,blockquote) { margin: 0; }
.theme-thm28 :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-thm28 h2 { font-size: clamp(2.6rem,4.2vw,4.4rem); }.theme-thm28 h3 { font-size: clamp(2rem,3vw,2.8rem); }
.theme-thm28 p { text-wrap: pretty; }.theme-thm28 :is(a,button,input,textarea,select) { -webkit-tap-highlight-color: transparent; }
.theme-thm28 a { color: inherit; text-decoration: none; }.theme-thm28 button { cursor: pointer; font: inherit; }.theme-thm28 button:disabled { opacity: .55; cursor: wait; }
.theme-thm28 img { display: block; max-width: 100%; }.theme-thm28 :is(button,input,textarea,select) { max-width: 100%; }.theme-thm28 [hidden] { display: none !important; }
.theme-thm28 ::selection { color: #fff7e7; background: #3f656d; }.theme-thm28:not([data-theme-state="open"]) { overflow: hidden; }
.thm28-page { width: 100%; position: relative; }.theme-thm28 .thm28-invitation { visibility: visible; opacity: 1; outline: 0; }
.theme-thm28 [data-theme-section] { content-visibility: visible; contain-intrinsic-size: none; scroll-margin-top: 20px; }
.thm28-kicker { color: var(--jawa-accent-ink); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; line-height: 1.9; text-transform: uppercase; }
.thm28-button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 14px 28px; border: 1px solid #bba573; border-radius: 3px; background: #3f656d; color: #fff8e9; font-size: 12px; font-weight: 700; letter-spacing: .04em; transition: box-shadow .25s,transform .25s; }
.thm28-button:hover { box-shadow: 0 5px 22px #3f656d25; transform: translateY(-2px); }.theme-thm28 a.thm28-button { color: #fff8e9; }
.theme-thm28 .thm28-button.thm28-button--gold { border-color: #bba573; background: #d7c89e; color: #24464d; }
.theme-thm28 .thm28-button.thm28-button--ink { border-color: #bba573; background: var(--jawa-light); color: var(--jawa-ink); }
.theme-thm28 .thm28-button.thm28-button--paper { color: var(--jawa-accent-ink); background: transparent; }
.thm28-text-link { display: inline-flex; gap: 14px; align-items: center; min-height: 44px; padding-block: 8px; border: 0; border-bottom: 1px solid var(--jawa-line); background: transparent; color: var(--jawa-accent-ink) !important; font-size: 12px; }
.thm28-divider { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--jawa-accent-ink); margin: 24px 0; font-size: 8px; }
.thm28-divider::before,.thm28-divider::after { content: ''; width: 70px; height: 1px; background: linear-gradient(90deg,transparent,var(--jawa-accent)); }.thm28-divider::after { transform: rotate(180deg); }

/* Invitation geometry is ready under the cover before its fade starts. */
.thm28-cover { position: fixed !important; z-index: 50; inset: 0; overflow: hidden; isolation: isolate; background: #f6f3e8; transition: opacity .85s ease,visibility .85s; }
.thm28-cover::before { content: ''; position: fixed; z-index: -1; inset: 0; background: radial-gradient(ellipse at 50% 35%,#f6f3e800,#79a6b133),url('../img/floral-pattern.svg') center / 96px; pointer-events: none; }
body.theme-thm28 .thm28-cover[data-theme-cover] { padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); }
body.theme-thm28 .thm28-cover[data-theme-cover] > .thm28-cover__stage { position: relative; width: min(100% - 68px,600px); height: 100%; min-height: 0; margin: auto; padding: clamp(42px,7dvh,72px) 0 22px; display: grid; grid-template-rows: max-content minmax(0,1fr); gap: clamp(14px,2.5dvh,28px); align-items: center; justify-items: center; }
.thm28-cover__frame { position: relative; z-index: 2; width: 100%; min-width: 0; container-type: inline-size; padding: 40px 28px 26px; border: 1px solid #8c714966; outline: 1px solid #8c714933; outline-offset: 8px; background: #f6f3e8ed; text-align: center; isolation: isolate; animation: thm28-enter 1.3s ease both; }
.thm28-cover__portrait { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .035; mask-image: linear-gradient(transparent,#000 40%,transparent); }
.thm28-cover__crest { position: absolute; top: -34px; left: -16px; width: calc(100% + 32px); max-width: none !important; height: 72px; object-fit: fill; pointer-events: none; }
body.theme-thm28 .thm28-cover[data-theme-cover] h1 { --thm28-cover-row: clamp(2.3rem,10vw,3rem); --thm28-cover-stack: clamp(1.9rem,6.9vw,2.8rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 .2em; font-size: var(--thm28-cover-row); color: #3f656d; letter-spacing: -.025em; line-height: 1.04; margin-top: 14px; }
.thm28-cover h1 span { max-width: 100%; overflow-wrap: break-word; text-wrap: balance; }.thm28-cover h1 i { flex: 0 0 auto; margin: 0; font-size: .42em; font-weight: 400; color: #8c7149; }
body.theme-thm28 .thm28-cover[data-theme-cover].thm28-cover--long h1 { display: block; font-size: var(--thm28-cover-stack); }.thm28-cover--long h1 span,.thm28-cover--long h1 i { display: block; }
/* Names wrap only between words. Each breakpoint sets the largest row and stack size; below it the names
   shrink to the card's own width, from the set widths (in em) the cover template estimates. */
@supports (width: 1cqi) {
    body.theme-thm28 .thm28-cover[data-theme-cover] h1 { font-size: min(var(--thm28-cover-row), max(1rem, 88cqi / var(--thm28-cover-row-em, 5))); }
    body.theme-thm28 .thm28-cover[data-theme-cover].thm28-cover--long h1 { font-size: min(var(--thm28-cover-stack), max(1rem, 88cqi / var(--thm28-cover-stack-em, 3))); }
}
@container (min-width: 380px) {
    body.theme-thm28 .thm28-cover[data-theme-cover].thm28-cover--wide-row h1 { display: flex; font-size: min(var(--thm28-cover-row), 88cqi / var(--thm28-cover-row-em, 10)); }
}
body.theme-thm28 .thm28-cover[data-theme-cover] .thm28-divider { margin-block: 16px; }
.thm28-cover time { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
body.theme-thm28 .thm28-cover[data-theme-cover] .thm28-cover__guest { display: grid; gap: 4px; margin: 16px auto; overflow-wrap: anywhere; }.thm28-cover__guest span { color: var(--jawa-muted); font-size: 12px; line-height: 1.6; }.thm28-cover__guest strong { font-size: 15px; line-height: 1.5; font-weight: 500; }
.thm28-cover__scene { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 100%; min-width: 0; min-height: 0; pointer-events: none; }
.theme-thm28 .thm28-cover__house { width: auto; height: auto; max-width: 100%; max-height: 100%; margin: 0; object-fit: contain; -webkit-mask-image: linear-gradient(90deg,transparent,#000 2.5%,#000 97.5%,transparent); mask-image: linear-gradient(90deg,transparent,#000 2.5%,#000 97.5%,transparent); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.thm28-cover__border { --thm28-repeat: 192px; position: fixed; z-index: 3; inset-block: 0; width: 36px; background: url('../img/carved-border.svg') center 0 / 48px var(--thm28-repeat) repeat-y; animation: thm28-weave 36s linear infinite; pointer-events: none; }
.thm28-cover__border--left { left: 12px; }.thm28-cover__border--right { right: 12px; animation-direction: reverse; }.thm28-cover > .thm28-ornaments { z-index: 1; position: fixed; }
.theme-thm28.thm28-is-open .thm28-cover { opacity: 0; visibility: hidden; pointer-events: none; }

/* Lightweight perpetual motion has no effect on content dimensions. */
.thm28-ornaments { position: absolute; inset: 0; overflow: hidden; contain: paint; pointer-events: none; }
.thm28-scrollwork { position: absolute; width: clamp(170px,16vw,230px); height: auto; top: 24px; opacity: .34; transform-origin: 80% 5%; animation: thm28-sway 14s ease-in-out infinite; }
.thm28-scrollwork--left { left: clamp(-150px,-10vw,-88px); scale: -1 1; }.thm28-scrollwork--right { right: clamp(-150px,-10vw,-88px); animation-delay: -7s; }
.thm28-cover .thm28-scrollwork { top: 12px; opacity: .5; }
.thm28-intro .thm28-scrollwork,.thm28-closing .thm28-scrollwork { opacity: .18; }
.thm28-intro > .thm28-ornaments { display: none; }
.thm28-dust { position: absolute; inset: 0; }.thm28-dust i { position: absolute; left: 17%; top: 75%; width: 6px; height: 10px; border-radius: 90% 0 90% 0; background: #c5b580; animation: thm28-drift 12s ease-in-out infinite; opacity: 0; }
.thm28-dust i:nth-child(2) { left: 33%; top: 39%; animation-delay: -4s; }.thm28-dust i:nth-child(3) { left: 69%; top: 68%; animation-delay: -7s; }.thm28-dust i:nth-child(4) { left: 85%; top: 29%; animation-delay: -2s; }.thm28-dust i:nth-child(5) { left: 8%; top: 31%; animation-delay: -6s; }.thm28-dust i:nth-child(6) { left: 53%; top: 88%; animation-delay: -1s; }.thm28-dust i:nth-child(7) { left: 78%; top: 82%; animation-delay: -8s; }.thm28-dust i:nth-child(8) { left: 42%; top: 12%; animation-delay: -3s; }
@keyframes thm28-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes thm28-weave { from { background-position: center 0; } to { background-position: center calc(-1 * var(--thm28-repeat)); } }
@keyframes thm28-sway { 0%,100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1deg) translateY(-6px); } }
@keyframes thm28-drift { 0%,100% { opacity: 0; transform: translate(0,-20px) rotate(0); } 40% { opacity: .7; } 80% { opacity: .15; transform: translate(22px,55px) rotate(70deg); } }
.thm28-motion-ready [data-thm28-reveal] { transition: opacity .85s ease,transform .85s ease; }.thm28-motion-ready [data-thm28-reveal]:not(.is-visible) { opacity: 0; transform: translateY(24px); }
.theme-thm28:is([data-motion-paused="true"],[data-page-hidden="true"]) :is(.thm28-scrollwork,.thm28-dust i,.thm28-cover__border) { animation-play-state: paused !important; }.theme-thm28[data-motion-paused="true"] [data-thm28-reveal] { opacity: 1; transform: none; }
.thm28-section { position: relative; padding: 100px max(7vw,calc((100vw - 1140px)/2)); border-bottom: 1px solid var(--jawa-line); }.thm28-section > :not(dialog) { position: relative; min-width: 0; }.thm28-section > .thm28-ornaments { z-index: 0; position: absolute; }
.thm28-heading { max-width: 720px; text-align: center; margin: 0 auto 60px; }.thm28-heading::before { content: ''; display: block; width: 130px; height: 49px; margin: 0 auto 26px; background: url('../img/floral-mark.svg') center / contain no-repeat; }.thm28-heading .thm28-kicker { margin-bottom: 15px; }.thm28-heading p:not(.thm28-kicker) { max-width: 550px; margin: 22px auto 0; color: var(--jawa-muted); font-size: 15px; }
.thm28-intro { padding-top: 0; background: #f6f3e8; isolation: isolate; }
.thm28-nav { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 25px 0; border-bottom: 1px solid var(--jawa-line); }.thm28-nav__brand { font: 30px/1.1 var(--invie-font-heading, "Cormorant Garamond"),serif; color: #3f656d !important; }.thm28-nav__links { display: flex; gap: 28px; flex-wrap: wrap; }.thm28-nav__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
.thm28-intro__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(45px,7vw,105px); padding: 105px 0 75px; }.thm28-intro__copy { text-align: center; width: min(100%,550px); margin: auto; }.thm28-intro__copy h2 { font-size: clamp(3.5rem,5.7vw,5.4rem); margin-top: 22px; }.thm28-intro__copy em { color: #3f656d; font-weight: 500; }.thm28-intro__copy > p:not(.thm28-kicker) { font-size: 15px; max-width: 580px; margin: auto; color: var(--jawa-muted); }.thm28-intro__copy .thm28-text-link { margin-top: 18px; }.thm28-intro__ornament { width: 120px; height: auto; margin: 0 auto 25px; }
.thm28-intro__portrait { position: relative; width: min(100%,450px); margin: auto; padding: 28px 22px 22px; border: 8px double #ad9463; background: #3f656d; box-shadow: 12px 12px 0 #3f656d12; }
.thm28-intro__hero { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; border: 5px solid #f6f3e8; outline: 1px solid #3f656d66; border-radius: 90px 90px 2px 2px; background: #3f656d url('../img/floral-pattern.svg') center / 96px; color: #fff5df; }.thm28-intro__hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }.thm28-intro__hero figcaption { position: absolute; inset: auto 0 0; padding: 55px 20px 18px; text-align: center; background: linear-gradient(transparent,#24464ddc); color: #fff6e3; font: italic 32px var(--invie-font-heading, "Cormorant Garamond"),serif; }.thm28-intro__monogram { font: 100px var(--invie-font-heading, "Cormorant Garamond"),serif; color: #fff5df; }
.thm28-countdown { display: flex; justify-content: center; align-items: center; gap: 42px; padding-top: 30px; border-top: 1px solid var(--jawa-line); }.thm28-countdown > p { max-width: 150px; }.thm28-countdown > div { display: grid; min-width: 55px; text-align: center; }.thm28-countdown strong { color: #3f656d; font: 45px/1.2 var(--invie-font-heading, "Cormorant Garamond"),serif; }.thm28-countdown span { color: var(--jawa-muted); font-size: 12px; letter-spacing: .1em; }
.thm28-couple { background: #dce6df; }.thm28-couple__profiles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8%; max-width: 950px; margin: 55px auto 0; }.thm28-profile { text-align: center; min-width: 0; }.thm28-profile__media { position: relative; width: min(100%,310px); aspect-ratio: 3 / 4; border: 1px solid #8c7149; border-radius: 80px 80px 2px 2px; background: #79a6b1; }.theme-thm28 .thm28-profile__media { margin: 0 auto 32px; }.thm28-profile__media::before { content: ''; position: absolute; width: 150px; height: 50px; left: 50%; translate: -50% 0; top: -26px; z-index: 1; background: url('../img/gebyok-crest.svg') center / contain no-repeat; }.thm28-profile__media img,.thm28-profile__monogram { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: cover; border-radius: 74px 74px 0 0; }.thm28-profile__monogram { display: grid; place-items: center; color: #fff7e4; font: 90px var(--invie-font-heading, "Cormorant Garamond"),serif; background: linear-gradient(#3f656d90,#3f656d90),url('../img/jawa-house.webp') center / cover; }.thm28-profile__copy h3 { color: #3f656d; margin: 10px auto 18px; max-width: 420px; }.thm28-profile__copy > p:not(.thm28-kicker) { font-size: 15px; color: var(--jawa-muted); max-width: 330px; margin: auto; }.thm28-profile__copy .thm28-text-link { margin-top: 12px; }.thm28-profile--name-long h3,.thm28-profile--name-xlong h3 { font-size: 2rem; }
.thm28-events { background: #3f656d; color: #fff4df; --jawa-muted: #dbe4d9; --jawa-accent: #e8dab4; --jawa-accent-ink: #e8dab4; --jawa-line: #e8dab466; --theme-focus: #fff7df; }.thm28-events__tickets { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px; }
.thm28-event { position: relative; padding: 35px 32px 32px; text-align: center; border: 1px solid #d7c89e; outline: 1px solid #d7c89e66; outline-offset: 7px; background: #f6f3e8; color: #3f656d; --jawa-muted: #4a5d5e; --jawa-accent: #8c7149; --jawa-accent-ink: #6f5833; --jawa-line: #ad946370; --theme-focus: #3f656d; border-radius: 3px; }
.thm28-event::before { content: ''; display: block; height: 70px; margin: 0 auto 22px; background: url('../img/gebyok-crest.svg') center / contain no-repeat; }
.thm28-event__date { padding: 16px 0 28px; margin-bottom: 26px; border-bottom: 1px solid #ad946370; }.thm28-event__date time { display: grid; }.thm28-event__date span,.thm28-event__date small { font-size: 12px; letter-spacing: .17em; }.thm28-event__date strong { color: #3f656d; font: 75px/1.1 var(--invie-font-heading, "Cormorant Garamond"),serif; margin: 4px 0; }.thm28-event__copy h3 { margin: 10px 0 18px; }.thm28-event__copy > strong { display: block; font-size: 14px; margin: 20px 0 7px; }.thm28-event__copy address { font-style: normal; color: var(--jawa-muted); font-size: 12px; }.thm28-event__time { font-size: 14px; }.thm28-event__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; 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. */
.thm28-event__map[open] { align-self: stretch; }.thm28-event__map > summary { margin-inline: auto; }.thm28-event__map .theme-v2-map__open { justify-self: center; color: var(--jawa-accent-ink); font-size: 13px; }
.thm28-quote { overflow: hidden; text-align: center; isolation: isolate; background: #f4e5cb; }.thm28-quote::before { content: ''; position: absolute; z-index: 0; left: clamp(-170px,-11vw,-120px); bottom: -32px; width: clamp(180px,18vw,250px); aspect-ratio: 2 / 3; background: url('../img/janur-corner.webp') center / contain no-repeat; opacity: .38; pointer-events: none; }.thm28-quote > * { z-index: 1; }.thm28-quote__brush { display: block; height: 55px; background: url('../img/floral-mark.svg') center / contain no-repeat; margin-bottom: 30px; }.thm28-quote blockquote { max-width: 750px; margin: auto; }.thm28-quote__mark { display: none; }.thm28-quote blockquote p { font: 500 clamp(1.6rem,2.6vw,2.3rem)/1.5 var(--invie-font-heading, "Cormorant Garamond"),serif; }.thm28-quote cite { display: block; color: var(--jawa-accent-ink); font-style: normal; letter-spacing: .14em; font-size: 12px; margin-top: 30px; }

/* Photo stories and accessible invitation interactions. */
.thm28-story__timeline { position: relative; max-width: 950px; margin: auto; }
.thm28-story__timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(transparent,var(--jawa-accent),transparent); }
.thm28-story-entry { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 40px 0; }
.thm28-story-entry--even .thm28-story-entry__visual { order: 2; }
.thm28-story-entry__visual figure { position: relative; }
.thm28-story-entry__visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; padding: 7px; border: 1px solid var(--jawa-line); border-radius: 2px; }
.thm28-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; }
.thm28-story-entry__placeholder { min-height: 220px; display: grid; place-items: center; background: url('../img/janur-corner.webp') center / contain no-repeat; color: var(--jawa-accent-ink); }.thm28-story-entry__placeholder span { display: none; }
.thm28-story-entry__chapter { color: var(--jawa-accent-ink); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; }
.thm28-story-entry__copy time { font-size: 12px; color: var(--jawa-muted); }.thm28-story-entry__copy h3 { margin: 14px 0; }.thm28-story-entry__copy > p:last-child { color: var(--jawa-muted); font-size: 15px; }
.thm28-gallery { background: #e9eee7; }
.thm28-gallery__collage { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; align-items: start; }
.thm28-gallery__piece { position: relative; min-width: 0; padding: 7px; border: 1px solid var(--jawa-line); background: transparent; color: var(--jawa-light); }
.thm28-gallery__piece img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; }.thm28-gallery__piece:nth-child(3n+2) { margin-top: 50px; }
.thm28-gallery__piece > span { position: absolute; bottom: 16px; right: 20px; font-size: 12px; text-shadow: 0 1px 6px #000; }.thm28-gallery__piece small { display: block; padding: 10px; }
.thm28-gallery-dialog { padding: 18px; width: min(900px,94vw); max-height: 94dvh; color: var(--jawa-light); background: var(--jawa-ink); border: 1px solid var(--jawa-accent); }
.thm28-gallery-dialog::backdrop { background: #132e32e8; }.thm28-gallery-dialog button { border: 1px solid var(--jawa-line); color: var(--jawa-light); background: transparent; padding: 8px 12px; }
.thm28-gallery-dialog__bar,.thm28-gallery-dialog__controls { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: 12px; }.thm28-gallery-dialog figure { margin: 14px 0; }.thm28-gallery-dialog figure img { max-height: 65dvh; width: 100%; object-fit: contain; }.thm28-gallery-dialog figcaption { text-align: center; font-size: 12px; }
.thm28-rsvp__layout, .thm28-wishes__guestbook { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; }
.thm28-rsvp__aside h2 { margin: 15px 0 24px; }.thm28-rsvp__aside > p:not(.thm28-kicker) { color: var(--jawa-muted); font-size: 15px; }.thm28-rsvp__deadline strong { display: block; color: var(--jawa-accent-ink); }
.thm28-rsvp__mark { width: 160px; height: 240px; background: url('../img/janur-corner.webp') center / contain no-repeat; margin: 35px 0; }.thm28-rsvp__mark span { display: none; }
.thm28-form { padding: 32px; background: #e9eee7; border: 1px solid var(--jawa-line); display: grid; gap: 20px; align-content: start; }
.thm28-field { min-width: 0; margin: 0; padding: 0; border: 0; }.thm28-field > label,.thm28-field legend { display: block; padding: 0; font-size: 12px; margin-bottom: 8px; color: var(--jawa-accent-ink); }
.thm28-field :is(input:not([type="radio"]),textarea,select) { width: 100%; padding: 12px 14px; border: 1px solid #8c714940; border-radius: 0; background: #f6f3e8; color: var(--jawa-light); font: 13px/1.8 var(--invie-font-body, "Manrope"),sans-serif; }.thm28-field textarea { resize: vertical; }.thm28-field ::placeholder { color: #6f8180; opacity: 1; }
.thm28-attendance__options { display: grid; gap: 8px; }.thm28-attendance__options label { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--jawa-line); font-size: 12px; cursor: pointer; }.thm28-attendance__options label:has(input:checked) { background: #8c714912; border-color: var(--jawa-accent); }.thm28-attendance input { accent-color: var(--jawa-accent); }
.thm28-form__status { font-size: 12px; color: #3f656d; overflow-wrap: anywhere; }.thm28-form__status:empty { display: none; }.thm28-form__status[data-status="error"] { color: #a33826; }
.thm28-wishes { background: #dce6df; }.thm28-wishes__featured { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; margin-bottom: 40px; }.thm28-wish-card { position: relative; padding: 30px; border: 1px solid var(--jawa-line); }.thm28-wish-card__number { color: var(--jawa-accent-ink); font-size: 12px; }.thm28-wish-card blockquote { margin: 12px 0 22px; font: 24px/1.5 var(--invie-font-heading, "Cormorant Garamond"),serif; }.thm28-wish-card figcaption { display: flex; gap: 12px; align-items: center; font-size: 12px; }.thm28-wish-card figcaption img,.thm28-wish-card__initial { width: 42px; height: 42px; object-fit: cover; border-radius: 50%; }.thm28-wish-card__initial { display: grid; place-items: center; border: 1px solid var(--jawa-line); }.thm28-wish-card small { display: block; color: var(--jawa-muted); font-size: 12px; }
.thm28-wishes__messages-head { display: flex; gap: 15px; justify-content: space-between; align-items: center; }.thm28-wishes__messages-head h3 { margin-top: 10px; }.thm28-wishes__messages ul { list-style: none; padding: 0; margin: 25px 0 0; max-height: 490px; overflow: auto; }.thm28-wishes__messages li { display: flex; gap: 16px; border-bottom: 1px solid var(--jawa-line); padding: 22px 0; font-size: 15px; overflow-wrap: anywhere; }.thm28-wishes__messages li > span,.thm28-wishes__messages time { color: var(--jawa-accent-ink); font-size: 12px; }.thm28-wishes__messages time { display: block; }.thm28-wishes__messages li p { margin-top: 10px; color: var(--jawa-muted); }
.thm28-gift__accounts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px; }.thm28-gift-card { padding: 30px; border: 1px solid var(--jawa-line); background: linear-gradient(135deg,#dce6df,#f6f3e8); }.thm28-gift-card__masthead { display: flex; justify-content: space-between; font-size: 12px; color: var(--jawa-accent-ink); letter-spacing: .08em; }.thm28-gift-card__bank { display: flex; gap: 15px; align-items: center; margin: 22px 0; }.thm28-gift-card__bank img { max-width: 75px; max-height: 35px; padding: 6px; background: #fff; border-radius: 3px; }.thm28-gift-card__bank strong { font-size: 12px; }.thm28-gift-card__account { display: grid; margin-bottom: 25px; overflow-wrap: anywhere; }.thm28-gift-card__account span,.thm28-gift-card__account small { color: var(--jawa-muted); font-size: 12px; }.thm28-gift-card__account strong { font: 29px/1.8 var(--invie-font-heading, "Cormorant Garamond"),serif; color: var(--jawa-accent-ink); }
.thm28-dresscode,.thm28-livestream,.thm28-health { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; align-items: center; }.thm28-dresscode h2,.thm28-livestream h2,.thm28-health h2 { margin: 14px 0 22px; font-size: 2.8rem; }.thm28-dresscode p:not(.thm28-kicker),.thm28-livestream p:not(.thm28-kicker),.thm28-health p:not(.thm28-kicker) { font-size: 15px; color: var(--jawa-muted); }.thm28-dresscode small { display: block; margin-top: 15px; font-size: 12px; }.thm28-dresscode__palette { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }.thm28-dresscode__swatch { display: flex; gap: 12px; align-items: center; font-size: 12px; }.thm28-dresscode__swatch > span { width: 45px; height: 60px; flex: 0 0 45px; border: 1px solid var(--jawa-line); border-radius: 0; background: var(--thm28-swatch); }.thm28-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) { .thm28-dresscode__palette { grid-template-columns: repeat(2, minmax(0, max-content)); justify-content: center; column-gap: 56px; } }
.thm28-livestream { background: #dce6df; }.thm28-livestream__signal { display: none; }.thm28-livestream__access { padding: 30px; border: 1px solid var(--jawa-line); }.thm28-livestream__meta { display: grid; margin-bottom: 24px; }.thm28-livestream__meta span { font-size: 12px; letter-spacing: .14em; color: var(--jawa-accent-ink); }.thm28-livestream dd { margin: 0; overflow-wrap: anywhere; }.thm28-health__grid { list-style: none; padding: 0; }.thm28-health-card { padding: 18px 0; border-bottom: 1px solid var(--jawa-line); }.thm28-health-card__number { margin-right: 10px; color: var(--jawa-accent-ink); font-size: 12px; }.thm28-health-card strong { font-size: 13px; }
.thm28-story__timeline::before { width: 28px; left: calc(50% - 14px); background: url('../img/carved-border.svg') center / 28px 56px repeat-y; opacity: .7; }
.thm28-gallery__piece { padding: 8px; background: #f6f3e8; border: 1px solid #ad946380; }
.thm28-story-entry__visual figcaption,.thm28-gallery__piece > span { color: #fff7e4; }
.thm28-gallery__piece small { background: #e9eee7; }
.thm28-form { border-top: 4px solid #ad9463; }.thm28-gift-card { background: #f6f3e8 url('../img/carved-border.svg') right center / 40px 80px repeat-y; border: 1px solid #ad946380; padding-right: 56px; }
.thm28-closing { padding-inline: max(7vw,calc((100vw - 1140px)/2)); padding-top: 100px; padding-bottom: 400px; text-align: center; isolation: isolate; background: #f6f3e8 url('../img/floral-pattern.svg') center / 96px; }.thm28-closing::before { content: ''; position: absolute; z-index: -1; bottom: 0; left: 50%; translate: -50% 0; width: min(80%,480px); aspect-ratio: 1080 / 843; background: url('../img/jawa-house.webp') center bottom / contain no-repeat; opacity: .9; }.thm28-closing__media { position: absolute; inset: 0; z-index: -2; }.thm28-closing__media img { width: 100%; height: 100%; object-fit: cover; opacity: .05; }.thm28-closing__monogram { display: none; }.thm28-closing__copy { position: relative; max-width: 850px; margin: auto; }.thm28-closing__copy::before { content: ''; display: block; height: 65px; background: url('../img/floral-mark.svg') center / contain no-repeat; margin-bottom: 30px; }.thm28-closing h2 { font-size: clamp(3.5rem,7vw,6rem); margin: 25px 0; color: #3f656d; }.thm28-closing h2 i { font-size: .55em; margin-inline: 15px; color: #8c7149; }.thm28-closing__copy > p:not(.thm28-kicker) { font-size: 15px; color: var(--jawa-muted); max-width: 470px; margin: auto; }.thm28-closing time { display: block; margin: 24px 0; font-size: 12px; letter-spacing: .15em; }.thm28-closing small { display: block; font-size: 12px; color: var(--jawa-muted); margin-top: 40px; }.thm28-closing--names-long h2,.thm28-closing--names-xlong h2 { font-size: clamp(2.6rem,5vw,4rem); }
.thm28-sr-status { position: fixed; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.thm28-intro__lintel { position: absolute; width: calc(100% + 42px); max-width: none !important; height: auto; top: 0; left: -21px; translate: 0 -65%; z-index: 2; pointer-events: none; }
.thm28-intro__monogram { color: #3f656d; }
.thm28-events .thm28-heading::before { filter: brightness(1.6); }
.thm28-rsvp__mark { opacity: .65; }
.thm28-story-entry__visual figcaption,.thm28-gallery__piece > span { color: #fff8e9; }
@media (max-width: 1100px) {
    .thm28-section { padding: 80px 6vw; }.thm28-intro { padding-top: 0; }.thm28-rsvp__layout,.thm28-wishes__guestbook { gap: 35px; }
    .thm28-scrollwork { width: clamp(130px,18vw,170px); }.thm28-scrollwork--left { left: clamp(-125px,-13vw,-96px); }.thm28-scrollwork--right { right: clamp(-125px,-13vw,-96px); }
    .thm28-quote::before { left: clamp(-135px,-14vw,-105px); width: clamp(145px,20vw,190px); }
}
@media (max-width: 760px) {
    .theme-thm28 { font-size: 14px; }.thm28-cover__frame { padding-inline: 18px; }
    .thm28-cover__border { --thm28-repeat: 128px; width: 18px; background-size: 32px var(--thm28-repeat); }.thm28-cover__border--left { left: 0; }.thm28-cover__border--right { right: 0; }
    .thm28-scrollwork { width: 112px; top: 18px; opacity: .28; }.thm28-scrollwork--left { left: -88px; }.thm28-scrollwork--right { right: -88px; }.thm28-cover .thm28-scrollwork { top: 10px; opacity: .38; }.thm28-intro .thm28-scrollwork,.thm28-closing .thm28-scrollwork { width: 112px; opacity: .14; }
    .thm28-section { padding: 65px 25px; }.thm28-intro { padding-top: 0; }.thm28-nav { gap: 18px; padding-block: 18px; }.thm28-nav__links { gap: 14px; }.thm28-nav__links a { font-size: 12px; }.thm28-nav__brand { font-size: 24px; }
    .thm28-quote::before { left: -98px; bottom: -18px; width: 120px; opacity: .3; }
    .thm28-intro__grid { grid-template-columns: minmax(0,1fr); gap: 65px; padding: 45px 0 45px; }.thm28-intro__copy h2 { font-size: clamp(2.6rem,10vw,4rem); }.thm28-intro__portrait { width: min(94%,390px); padding: 20px 14px 14px; border-width: 6px; }.thm28-intro__hero { border-width: 5px; }.thm28-intro__hero figcaption { font-size: 25px; padding-inline: 12px; }
    .thm28-countdown { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; padding-top: 26px; }.thm28-countdown > p { grid-column: 1 / -1; max-width: none; text-align: center; margin-bottom: 8px; }.thm28-countdown > div { min-width: 0; }.thm28-countdown strong { font-size: 38px; }
    .thm28-heading { margin-bottom: 40px; }.thm28-couple__profiles { grid-template-columns: 1fr; gap: 65px; margin-top: 45px; }.thm28-profile__media { width: min(90%,285px); }.thm28-profile__copy { max-width: 390px; margin: auto; }
    .thm28-events__tickets { grid-template-columns: minmax(0,1fr); gap: 35px; }.thm28-event { padding: 30px 24px; border-radius: 3px; }.thm28-event__date strong { font-size: 65px; }.thm28-event__actions { flex-direction: column; }
    .thm28-story-entry { grid-template-columns: 1fr; gap: 24px; padding: 28px 0; }.thm28-story-entry--even .thm28-story-entry__visual { order: 0; }.thm28-story-entry__copy { border-left: 2px solid #ad9463; padding-left: 18px; }.thm28-story__timeline::before { display: none; }
    .thm28-gallery__collage { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }.thm28-gallery__piece { padding: 5px; }.thm28-gallery__piece:nth-child(3n+2) { margin-top: 0; }.thm28-gallery__piece:nth-child(2n) { margin-top: 25px; }.thm28-gallery-dialog { padding: 12px; }
    .thm28-gift__accounts,.thm28-rsvp__layout,.thm28-wishes__guestbook,.thm28-wishes__featured,.thm28-dresscode,.thm28-livestream,.thm28-health { grid-template-columns: 1fr; gap: 28px; }.thm28-rsvp__aside { text-align: center; }.thm28-rsvp__mark { display: none; }.thm28-form { padding: 24px 20px; }.thm28-wish-card { padding: 24px; }.thm28-gift-card { padding: 26px 50px 26px 26px; }.thm28-dresscode h2,.thm28-livestream h2,.thm28-health h2 { font-size: 2.5rem; }
    .thm28-closing { padding-top: 70px; padding-bottom: 260px; }.thm28-closing h2 span { display: block; }.thm28-closing h2 i { display: block; line-height: 1.4; }.thm28-closing::before { width: min(85%,310px); }
}
@media (max-width: 359px) {
    .thm28-cover__frame { padding-inline: 15px; }.thm28-nav__links { gap: 9px; }.thm28-section { padding-inline: 20px; }.thm28-cover .thm28-button { padding-inline: 18px; font-size: 12px; }
    .thm28-scrollwork,.thm28-intro .thm28-scrollwork,.thm28-closing .thm28-scrollwork { width: 100px; }.thm28-scrollwork--left { left: -82px; }.thm28-scrollwork--right { right: -82px; }.thm28-quote::before { left: -88px; width: 105px; }
}
/* The house has its own viewport space: below the invitation on portrait
   screens, and beside it when a wider or landscape canvas is available. */
@media (min-width: 761px) and (max-width: 999px) and (orientation: portrait) {
    body.theme-thm28 .thm28-cover[data-theme-cover] h1 { --thm28-cover-row: 4.2rem; --thm28-cover-stack: 2.65rem; }
}
@media (min-width: 1000px), (min-width: 500px) and (orientation: landscape) {
    body.theme-thm28 .thm28-cover[data-theme-cover] > .thm28-cover__stage { width: min(100% - 156px,1780px); grid-template-columns: minmax(0,.92fr) minmax(0,1.15fr); grid-template-rows: minmax(0,1fr); gap: clamp(32px,4vw,80px); padding-block: clamp(48px,8dvh,88px); }
    .thm28-cover__frame { max-width: 640px; padding: 50px clamp(24px,3vw,45px) 30px; }
    .thm28-cover__crest { top: -44px; left: -22px; width: calc(100% + 44px); height: 92px; }
    body.theme-thm28 .thm28-cover[data-theme-cover] h1 { --thm28-cover-row: clamp(3rem,4.3vw,5rem); --thm28-cover-stack: clamp(2.2rem,2.75vw,3.2rem); margin-top: 20px; }
    body.theme-thm28 .thm28-cover[data-theme-cover] .thm28-divider { margin-block: 20px; }
    body.theme-thm28 .thm28-cover[data-theme-cover] .thm28-cover__guest { margin-block: 20px; }
    .thm28-cover__scene { align-items: center; }
}
@media (max-height: 700px) and (max-width: 499px), (max-height: 700px) and (orientation: portrait) {
    body.theme-thm28 .thm28-cover[data-theme-cover] > .thm28-cover__stage { padding-block: 40px 14px; gap: 12px; }
    .thm28-cover__frame { padding-top: 28px; padding-bottom: 16px; }
    .thm28-cover__crest { top: -26px; height: 56px; }
    body.theme-thm28 .thm28-cover[data-theme-cover] h1 { --thm28-cover-row: clamp(2.1rem,10.5vw,2.65rem); --thm28-cover-stack: clamp(1.65rem,7.7vw,2rem); margin-top: 8px; }
    body.theme-thm28 .thm28-cover[data-theme-cover] .thm28-divider { margin-block: 8px; }
    body.theme-thm28 .thm28-cover[data-theme-cover] .thm28-cover__guest { margin-block: 10px; gap: 2px; }
    .thm28-cover__guest span { font-size: 12px; }.thm28-cover__guest strong { font-size: 13px; }
    .thm28-cover time { font-size: 12px; }
}
@media (max-height: 600px) and (min-width: 500px) and (orientation: landscape) {
    body.theme-thm28 .thm28-cover[data-theme-cover] > .thm28-cover__stage { width: min(100% - 100px,1600px); gap: clamp(24px,3vw,48px); padding-block: 38px 18px; }
    .thm28-cover__frame { padding: 26px 22px 16px; }
    .thm28-cover__crest { top: -25px; left: -14px; width: calc(100% + 28px); height: 54px; }
    body.theme-thm28 .thm28-cover[data-theme-cover] h1 { --thm28-cover-row: clamp(2rem,3.8vw,3.6rem); --thm28-cover-stack: clamp(1.45rem,2.2vw,2rem); margin-top: 8px; }
    body.theme-thm28 .thm28-cover[data-theme-cover] .thm28-divider { margin-block: 7px; }
    body.theme-thm28 .thm28-cover[data-theme-cover] .thm28-cover__guest { margin-block: 9px; gap: 2px; }
    .thm28-cover__guest span { font-size: 12px; }.thm28-cover__guest strong { font-size: 13px; }
    body.theme-thm28 .thm28-cover[data-theme-cover] [data-theme-open] { min-height: 44px; padding-block: 10px; }
}
@media (min-width: 500px) and (max-width: 699px) and (orientation: landscape) {
    body.theme-thm28 .thm28-cover[data-theme-cover] > .thm28-cover__stage { width: calc(100% - 64px); grid-template-columns: minmax(0,1.03fr) minmax(0,1fr); gap: 18px; padding-block: 28px 12px; }
    .thm28-cover__frame { padding: 24px 14px 12px; }
    .thm28-cover__crest { top: -22px; left: -10px; width: calc(100% + 20px); height: 46px; }
    .thm28-cover .thm28-kicker { font-size: 12px; line-height: 1.6; letter-spacing: .16em; }
    body.theme-thm28 .thm28-cover[data-theme-cover] h1 { --thm28-cover-row: clamp(1.85rem,4.8vw,2.15rem); --thm28-cover-stack: clamp(1.2rem,3.3vw,1.4rem); margin-top: 6px; column-gap: .16em; }
    body.theme-thm28 .thm28-cover[data-theme-cover] .thm28-divider { margin-block: 5px; }
    .thm28-cover time { font-size: 12px; letter-spacing: .12em; }
    body.theme-thm28 .thm28-cover[data-theme-cover] .thm28-cover__guest { margin-block: 7px; }
    .thm28-cover__guest span { font-size: 12px; line-height: 1.5; }.thm28-cover__guest strong { font-size: 12px; }
    body.theme-thm28 .thm28-cover[data-theme-cover] [data-theme-open] { width: min(100%,200px); min-height: 44px; padding: 8px 12px; gap: 8px; font-size: 12px; line-height: 1.5; }
}
@media (prefers-reduced-motion: reduce) {
    .theme-thm28 *, .theme-thm28 *::before, .theme-thm28 *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }.theme-thm28 [data-thm28-reveal] { opacity: 1 !important; transform: none !important; }.thm28-dust { display: none; }
}

/* Floating controls use the shared dock (theme-system.css), coloured for this theme. */
.thm28-dock { --theme-dock-bg: #3f656dea; --theme-dock-fg: #fff5df; --theme-dock-border: #bba573; --theme-dock-bg-on-dark: #f6f3e8f2; --theme-dock-fg-on-dark: #3f656d; --theme-dock-border-on-dark: #bba573; }
/* Decorative motion is paused from labelled buttons on the cover and in the closing, away from the music control. */
.thm28-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; }
.thm28-motion-toggle:hover { opacity: 1; }
.thm28-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 #bba573; border-radius: 999px; background: #3f656dea; color: #fff5df; letter-spacing: .08em; text-decoration: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .thm28-motion-toggle { display: none; } }


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

/* Guestbook numbers stay on one line beside the entry. */
.thm28-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) {
    .thm28-story__timeline,
    .thm28-gift__accounts {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding-bottom: 8px;
    }
    .thm28-story__timeline::-webkit-scrollbar,
    .thm28-gift__accounts::-webkit-scrollbar { display: none; }
    .thm28-story__timeline::before { display: none; }
    .thm28-story-entry,
    .thm28-gift-card {
        flex: 0 0 86%;
        min-width: 0;
        scroll-snap-align: start;
    }
    .thm28-story-entry { align-content: start; padding: 0; }
    .thm28-story__timeline:focus-visible,
    .thm28-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) {
    .thm28-story__timeline, .thm28-gift__accounts { overflow-y: hidden; }
    .thm28-motion-ready .thm28-story__timeline [data-thm28-reveal]:not(.is-visible),
    .thm28-motion-ready .thm28-gift__accounts [data-thm28-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) {
    .thm28-gallery__collage { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .thm28-gallery__piece { grid-column: span 2; }
    .thm28-gallery__piece:last-child:nth-child(3n+1) { grid-column: 3 / span 2; }
    .thm28-gallery__piece:nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; }
}
@media (max-width: 760px) {
    .thm28-gallery__piece:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc((100% - 12px) / 2); }
}

/* Closing names wrap only between words: a name shrinks to its line instead (the template estimates --thm28-name-em). */
.thm28-closing h2 { container-type: inline-size; }
.thm28-closing h2 span { font-size: min(1em, max(1rem, 92cqi / var(--thm28-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. */
.thm28-video { --theme-video-gap: 28px; --theme-video-radius: 0; --theme-video-border: transparent; --theme-video-frame: #3f656d; --theme-video-button: #f6f3e8; --theme-video-button-text: #3f656d; }
.thm28-video .theme-video__list { display: flex; flex-wrap: wrap; justify-content: center; }
.thm28-video .theme-video__item { flex: 0 1 100%; padding: 8px; border: 1px solid #ad946380; background: #f6f3e8; }
.thm28-video:not([data-video-count="1"]) .theme-video__item { flex-basis: calc((100% - var(--theme-video-gap)) / 2); }
.theme-thm28 .thm28-video .theme-video__play { --theme-focus: #ffffff; border-radius: 16px; }
.theme-thm28 .thm28-video .theme-video__play:focus-visible { box-shadow: 0 0 0 9px rgb(31 52 57 / 50%); }
body.theme-thm28 .thm28-video .theme-video__caption { margin: 10px 0 4px; color: var(--jawa-accent-ink); 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. */
.thm28-gift-address .theme-gift-address__list { gap: 25px; width: 100%; }
.thm28-gift-address .theme-gift-address__card { flex: 0 1 34rem; align-items: flex-start; gap: 0; padding: 30px 56px 30px 30px; border: 1px solid #ad946380; background: #f6f3e8 url('../img/carved-border.svg') right center / 40px 80px repeat-y; color: inherit; text-align: left; }
.thm28-gift-address .theme-gift-address__list:not([data-address-count="1"]) .theme-gift-address__card { flex-basis: calc((100% - 25px) / 2); max-width: 34rem; }
.thm28-gift-address .theme-gift-address__card::before { content: "Alamat pengiriman"; margin-bottom: 22px; color: var(--jawa-accent-ink); font-size: 12px; letter-spacing: .08em; line-height: 1.6; }
.thm28-gift-address .theme-gift-address__card:lang(en)::before { content: "Delivery address"; }
body.theme-thm28 .thm28-gift-address .theme-gift-address__label { color: var(--jawa-muted); font-size: 12px; letter-spacing: 0; text-transform: none; opacity: 1; }
body.theme-thm28 .thm28-gift-address .theme-gift-address__name { margin: 2px 0 10px; color: var(--jawa-accent-ink); font: 500 clamp(1.65rem, 2.3vw, 1.9rem)/1.25 var(--invie-font-heading, "Cormorant Garamond"), Georgia, serif; }
body.theme-thm28 .thm28-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(--jawa-line); }
body.theme-thm28 .thm28-gift-address .theme-gift-address__address { max-width: none; font-size: 14px; line-height: 1.75; }
body.theme-thm28 .thm28-gift-address .theme-gift-address__note { margin-top: 10px; color: var(--jawa-muted); font-size: 13px; opacity: 1; }
body.theme-thm28 .thm28-gift-address .theme-gift-address__copy { margin-top: auto; }
.thm28-gift-address .theme-gift-address__card > :nth-last-child(2) { margin-bottom: 24px; }

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

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

/* The film mat takes the event cards' double frame: a fine border with an outline set off around it. */
.thm28-video .theme-video__item { padding: 10px; border: 1px solid #d7c89e; outline: 1px solid #d7c89e66; outline-offset: 7px; background: #f6f3e8; }
@media (max-width: 760px) {
    .thm28-video .theme-video__item { padding: 6px; outline-offset: 5px; }
}

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

/* Preview audit (2026-10-26) ------------------------------------------------ */

/* The cover's pause pill clears the carved side border; on phones and portrait tablets the gunungan crest starts below it. */
.thm28-motion-toggle--cover { right: max(60px, env(safe-area-inset-right)); }
@media (max-width: 760px) { .thm28-motion-toggle--cover { top: max(8px, env(safe-area-inset-top)); right: max(26px, env(safe-area-inset-right)); } }
@media (max-width: 999px) and (orientation: portrait) and (prefers-reduced-motion: no-preference) { .thm28-cover__frame { margin-top: 40px; } }
