/* Sutra Bugis: silk checks, slender timber geometry and garden light. */
body.theme-thm26 {
    --bugis-ink: #102e27;
    --bugis-panel: #1b4237;
    --bugis-accent: #d6b67b;
    --bugis-light: #f4eee2;
    --bugis-muted: #bfcabd;
    --bugis-red: #733245;
    --bugis-line: rgb(214 182 123 / 32%);
    --theme-focus: #f4eee2;
    margin: 0;
    background: var(--bugis-ink);
    color: var(--bugis-light);
    font: 400 15px/1.8 var(--invie-font-body, "Manrope"), sans-serif;
    -webkit-font-smoothing: antialiased;
}
.theme-thm26 *, .theme-thm26 *::before, .theme-thm26 *::after { box-sizing: border-box; }
.theme-thm26 :where(h1,h2,h3,p,figure,blockquote) { margin: 0; }
.theme-thm26 :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-thm26 h2 { font-size: clamp(2.6rem, 4.2vw, 4.4rem); }
.theme-thm26 h3 { font-size: clamp(2rem, 3vw, 2.8rem); }
.theme-thm26 p { text-wrap: pretty; }
.theme-thm26 :is(a,button,input,textarea,select) { -webkit-tap-highlight-color: transparent; }
.theme-thm26 a { color: inherit; text-decoration: none; }
.theme-thm26 button { cursor: pointer; font: inherit; }
.theme-thm26 button:disabled { opacity: .55; cursor: wait; }
.theme-thm26 img { display: block; max-width: 100%; }
.theme-thm26 :is(button,input,textarea,select) { max-width: 100%; }
.theme-thm26 [hidden] { display: none !important; }
.theme-thm26 ::selection { color: var(--bugis-ink); background: var(--bugis-accent); }
.theme-thm26:not([data-theme-state="open"]) { overflow: hidden; }
.thm26-page { width: 100%; position: relative; }
.theme-thm26 .thm26-invitation { visibility: visible; opacity: 1; outline: 0; }
.theme-thm26 [data-theme-section] { content-visibility: visible; contain-intrinsic-size: none; scroll-margin-top: 20px; }
.thm26-kicker { color: var(--bugis-accent); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; line-height: 1.9; text-transform: uppercase; }
.thm26-button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 14px 28px; border: 1px solid #d6b67b; border-radius: 0; background: #733245; color: #fcf7ed; font-size: 12px; font-weight: 700; letter-spacing: .04em; transition: box-shadow .25s, transform .25s; }
.thm26-button:hover { box-shadow: 0 4px 25px #d6b67b2a; transform: translateY(-2px); }
.theme-thm26 a.thm26-button { color: #fcf7ed; }
.theme-thm26 .thm26-button.thm26-button--gold { border-color: #d6b67b; background: #d6b67b; color: var(--bugis-ink); }
.theme-thm26 .thm26-button.thm26-button--ink { border-color: var(--bugis-accent); background: var(--bugis-ink); color: var(--bugis-light); }
.theme-thm26 .thm26-button.thm26-button--paper { background: transparent; color: var(--bugis-accent); }
.thm26-cover__frame,.thm26-intro,.thm26-events { --theme-focus: #733245; }
.thm26-text-link { display: inline-flex; gap: 14px; align-items: center; min-height: 44px; padding-block: 8px; border: 0; border-bottom: 1px solid var(--bugis-line); background: transparent; color: var(--bugis-accent) !important; font-size: 12px; }
.thm26-divider { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--bugis-accent); margin: 22px 0; font-size: 8px; }
.thm26-divider::before, .thm26-divider::after { content: ""; width: 65px; height: 1px; background: linear-gradient(90deg,transparent,var(--bugis-accent)); }
.thm26-divider::after { transform: rotate(180deg); }

/* Prepare responsive geometry beneath the cover; opening only fades it away. */
.thm26-cover { position: fixed !important; z-index: 50; inset: 0; overflow: auto; isolation: isolate; background: #143a30; transition: opacity .85s ease, visibility .85s; }
.thm26-cover::before { content: ''; position: absolute; inset: 0; background: url('../img/silk-check.svg') center / 180px 180px; opacity: .17; pointer-events: none; }
.thm26-cover__stage { position: relative; width: min(100% - 150px,1360px); min-height: 100svh; margin: auto; padding: 48px 0; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); align-items: center; gap: clamp(30px,4vw,70px); }
.thm26-cover__frame { position: relative; z-index: 2; min-width: 0; padding: 46px 30px 38px; text-align: center; isolation: isolate; color: #173d31; background: #f4eee2; --bugis-accent: #7a5e2c; --bugis-muted: #56614f; box-shadow: 14px 14px 0 #0b251e60; animation: thm26-enter 1.3s ease both; }
.thm26-cover__frame::before { content: ''; position: absolute; inset: 12px; border: 1px solid #b5915260; pointer-events: none; }
.thm26-cover__portrait { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .035; }
.thm26-cover__crest { width: 110px; height: auto; margin: 0 auto 18px; }
.thm26-cover h1 { color: #173d31; font-size: clamp(4.2rem,6vw,6.3rem); letter-spacing: -.035em; margin-top: 20px; }
.thm26-cover h1 span { display: block; min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.thm26-cover h1 i { display: block; margin-block: 2px; font-size: .4em; font-weight: 400; color: #96733e; }
.thm26-cover--long h1 { font-size: clamp(2.3rem,3.8vw,4rem); }
.thm26-cover time { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.thm26-cover__guest { display: grid; gap: 5px; margin: 23px auto; overflow-wrap: anywhere; }
.thm26-cover__guest span { color: var(--bugis-muted); font-size: 12px; }.thm26-cover__guest strong { font-size: 15px; font-weight: 600; }
.thm26-cover__scene { position: relative; order: -1; min-width: 0; padding: 9px; border: 1px solid #d6b67b90; background: #143a30; box-shadow: -15px 15px 0 #73324585; }
.thm26-cover__scene::before { content: ''; display: block; height: 52px; margin: -10px -10px 9px; background: url('../img/silk-check.svg') center / 120px 120px; border-block: 1px solid #d6b67b90; }
.thm26-cover__scene img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.thm26-cover__scene-caption { padding: 23px 10px 16px; text-align: center; color: #d6b67b; font-size: 12px; line-height: 2; letter-spacing: .24em; }
.thm26-cover__textile { --thm26-repeat: 120px; position: fixed; z-index: 3; inset-block: 0; width: 32px; background: url('../img/silk-check.svg') center 0 / 120px var(--thm26-repeat) repeat-y; border-inline: 1px solid #d6b67b70; animation: thm26-weave 36s linear infinite; }
.thm26-cover__textile--left { left: 14px; }.thm26-cover__textile--right { right: 14px; animation-direction: reverse; }
.thm26-cover > .thm26-ornaments { z-index: 1; }
.theme-thm26.thm26-is-open .thm26-cover { opacity: 0; visibility: hidden; pointer-events: none; }

/* Decoration moves without changing any content dimensions. */
.thm26-ornaments { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.thm26-scrollwork { position: absolute; width: clamp(190px,25vw,360px); height: auto; bottom: 0; opacity: .6; transform-origin: 15% 95%; animation: thm26-sway 14s ease-in-out infinite; }
.thm26-scrollwork--left { left: -4%; }.thm26-scrollwork--right { right: -4%; scale: -1 1; animation-delay: -7s; }
.thm26-dust { position: absolute; inset: 0; }.thm26-dust i { position: absolute; left: 17%; top: 75%; width: 3px; height: 3px; border-radius: 50%; background: #d6b67b; animation: thm26-drift 10s ease-in-out infinite; opacity: 0; }
.thm26-dust i:nth-child(2) { left: 33%; top: 39%; animation-delay: -4s; }.thm26-dust i:nth-child(3) { left: 69%; top: 68%; animation-delay: -7s; }.thm26-dust i:nth-child(4) { left: 85%; top: 29%; animation-delay: -2s; }.thm26-dust i:nth-child(5) { left: 8%; top: 31%; animation-delay: -6s; }.thm26-dust i:nth-child(6) { left: 53%; top: 88%; animation-delay: -1s; }.thm26-dust i:nth-child(7) { left: 78%; top: 82%; animation-delay: -8s; }.thm26-dust i:nth-child(8) { left: 42%; top: 12%; animation-delay: -3s; }
@keyframes thm26-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes thm26-weave { from { background-position: center 0; } to { background-position: center calc(-1 * var(--thm26-repeat)); } }
@keyframes thm26-sway { 0%,100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1deg) translateY(-6px); } }
@keyframes thm26-drift { 0%,100% { opacity: 0; transform: translate(0,12px); } 40% { opacity: .65; } 80% { opacity: .15; transform: translate(13px,-44px); } }
.thm26-motion-ready [data-thm26-reveal] { transition: opacity .85s ease, transform .85s ease; }.thm26-motion-ready [data-thm26-reveal]:not(.is-visible) { opacity: 0; transform: translateY(24px); }
.theme-thm26:is([data-motion-paused="true"],[data-page-hidden="true"]) :is(.thm26-scrollwork,.thm26-dust i,.thm26-cover__textile) { animation-play-state: paused !important; }
.theme-thm26[data-motion-paused="true"] [data-thm26-reveal] { opacity: 1; transform: none; }
.thm26-section { position: relative; padding: 100px max(7vw,calc((100vw - 1140px)/2)); border-bottom: 1px solid var(--bugis-line); }.thm26-section > :not(dialog) { position: relative; min-width: 0; }.thm26-section > .thm26-ornaments { position: absolute; }
.thm26-heading { max-width: 720px; text-align: center; margin: 0 auto 60px; }.thm26-heading::before { content: ''; display: block; width: 120px; height: 45px; margin: 0 auto 26px; background: url('../img/silk-mark.svg') center / contain no-repeat; }.thm26-heading .thm26-kicker { margin-bottom: 15px; }.thm26-heading p:not(.thm26-kicker) { max-width: 550px; margin: 22px auto 0; color: var(--bugis-muted); font-size: 15px; }
.thm26-intro { padding-top: 0; background: #f4eee2; color: #173d31; --bugis-muted: #56614f; --bugis-accent: #486447; --bugis-line: #48644740; }
.thm26-intro .thm26-scrollwork { opacity: .3; }
.thm26-nav { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 25px 0; border-bottom: 1px solid var(--bugis-line); }.thm26-nav__brand { font: 30px/1.1 var(--invie-font-heading, "Cormorant Garamond"),serif; color: #486447 !important; }.thm26-nav__links { display: flex; gap: 28px; flex-wrap: wrap; }.thm26-nav__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
.thm26-intro__grid { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); align-items: center; gap: clamp(40px,6vw,95px); padding: 85px 0 70px; }.thm26-intro__copy { text-align: center; min-width: 0; }.thm26-intro__copy h2 { font-size: clamp(3rem,4.8vw,5rem); margin-top: 22px; }.thm26-intro__copy em { color: #733245; font-weight: 500; }.thm26-intro__copy > p:not(.thm26-kicker) { font-size: 15px; max-width: 560px; margin: auto; color: var(--bugis-muted); }.thm26-intro__copy .thm26-text-link { margin-top: 18px; }
.thm26-intro__portrait { position: relative; order: -1; width: min(100%,470px); margin: 0 auto; padding: 18px; background: #143a30 url('../img/silk-check.svg') center / 120px 120px; box-shadow: 12px 12px 0 #b5915226; }
.thm26-intro__ornament { display: block; width: 120px; height: auto; margin: 0 auto 26px; }
.thm26-intro__hero { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 4; overflow: hidden; border: 5px solid #f4eee2; background: linear-gradient(#143a3060,#143a3080),url('../img/bugis-house.webp') center / cover; color: #f4eee2; }.thm26-intro__hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }.thm26-intro__hero figcaption { position: absolute; inset: auto 0 0; padding: 55px 20px 18px; text-align: center; background: linear-gradient(transparent,#102e27df); font: italic 32px var(--invie-font-heading, "Cormorant Garamond"),serif; }.thm26-intro__monogram { font: 100px var(--invie-font-heading, "Cormorant Garamond"),serif; color: #f4eee2; }
.thm26-countdown { display: flex; justify-content: center; align-items: center; gap: 42px; padding-top: 30px; border-top: 1px solid var(--bugis-line); }.thm26-countdown > p { max-width: 150px; }.thm26-countdown > div { display: grid; min-width: 55px; text-align: center; }.thm26-countdown strong { color: #486447; font: 45px/1.2 var(--invie-font-heading, "Cormorant Garamond"),serif; }.thm26-countdown span { color: var(--bugis-muted); font-size: 12px; letter-spacing: .1em; }
.thm26-couple { background: #143a30; }.thm26-couple__profiles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8%; max-width: 950px; margin: 55px auto 0; }.thm26-profile { text-align: center; min-width: 0; }.thm26-profile__media { position: relative; width: min(100%,310px); aspect-ratio: 3 / 4; border: 1px solid #d6b67b; background: #143a30 url('../img/silk-check.svg') center / 120px 120px; }.theme-thm26 .thm26-profile__media { margin: 0 auto 32px; }.thm26-profile__media::before { content: ''; position: absolute; width: 80px; height: 30px; left: 50%; translate: -50% 0; bottom: -15px; z-index: 1; background: #102e27 url('../img/silk-mark.svg') center / contain no-repeat; }.thm26-profile__media img,.thm26-profile__monogram { position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px); object-fit: cover; }.thm26-profile__monogram { display: grid; place-items: center; color: #f4eee2; font: 90px var(--invie-font-heading, "Cormorant Garamond"),serif; background: linear-gradient(#102e2790,#102e2790),url('../img/bugis-house.webp') center / cover; }.thm26-profile__copy h3 { color: #f4eee2; margin: 10px auto 18px; max-width: 420px; }.thm26-profile__copy > p:not(.thm26-kicker) { font-size: 15px; color: var(--bugis-muted); max-width: 330px; margin: auto; }.thm26-profile__copy .thm26-text-link { margin-top: 12px; }.thm26-profile--name-long h3,.thm26-profile--name-xlong h3 { font-size: 2rem; }
.thm26-events { background: #f4eee2; color: #1b4237; --bugis-muted: #56614f; --bugis-accent: #486447; --bugis-line: #48644740; }.thm26-events__tickets { display: grid; grid-template-columns: minmax(0,1fr); gap: 32px; max-width: 960px; margin: auto; }
.thm26-event { position: relative; display: grid; grid-template-columns: minmax(160px,.55fr) minmax(0,1.45fr); gap: 32px; padding: 25px 35px 25px 25px; text-align: left; border: 1px solid #b5915280; background: #fbf7ed; box-shadow: 6px 6px 0 #b5915214; }.thm26-event::before { content: ''; position: absolute; inset: 0 0 0 auto; width: 12px; background: url('../img/silk-check.svg') center / 120px 120px; }
.thm26-event__date { display: grid; align-content: center; margin: 0; padding: 35px 20px; text-align: center; color: #f4eee2; background: linear-gradient(#143a30e8,#143a30e8),url('../img/silk-check.svg') center / 120px 120px; border: 1px solid #b59152; }.thm26-event__date time { display: grid; }.thm26-event__date span,.thm26-event__date small { font-size: 12px; letter-spacing: .17em; }.thm26-event__date strong { font: 75px/1.1 var(--invie-font-heading, "Cormorant Garamond"),serif; margin: 4px 0; }.thm26-event__copy h3 { margin: 8px 0 14px; }.thm26-event__copy > strong { display: block; font-size: 14px; margin: 17px 0 7px; }.thm26-event__copy address { font-style: normal; color: var(--bugis-muted); font-size: 12px; }.thm26-event__time { font-size: 14px; }.thm26-event__actions { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 12px; margin-top: 22px; }
/* One map control: open, the map takes the card's width with the maps link beneath it. */
.thm26-event__map[open] { align-self: stretch; }.thm26-event__map .theme-v2-map__open { color: var(--bugis-accent); font-size: 13px; }
.thm26-quote { text-align: center; background: #633144 url('../img/gold-foliage.svg') left bottom / min(35%,330px) auto no-repeat; }.thm26-quote__brush { display: block; height: 45px; background: url('../img/silk-mark.svg') center / contain no-repeat; margin-bottom: 30px; }.thm26-quote blockquote { max-width: 750px; margin: auto; }.thm26-quote__mark { display: none; }.thm26-quote blockquote p { font: 500 clamp(1.6rem,2.6vw,2.3rem)/1.5 var(--invie-font-heading, "Cormorant Garamond"),serif; }.thm26-quote cite { display: block; color: #d6b67b; font-style: normal; letter-spacing: .14em; font-size: 12px; margin-top: 30px; }

/* Photo stories and accessible invitation interactions. */
.thm26-story__timeline { position: relative; max-width: 950px; margin: auto; }
.thm26-story__timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(transparent,var(--bugis-accent),transparent); }
.thm26-story-entry { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 40px 0; }
.thm26-story-entry--even .thm26-story-entry__visual { order: 2; }
.thm26-story-entry__visual figure { position: relative; }
.thm26-story-entry__visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; padding: 7px; border: 1px solid var(--bugis-line); }
.thm26-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; }
.thm26-story-entry__placeholder { min-height: 220px; display: grid; place-items: center; background: url('../img/gold-foliage.svg') center / contain no-repeat; color: var(--bugis-accent); }.thm26-story-entry__placeholder span { display: none; }
.thm26-story-entry__chapter { color: var(--bugis-accent); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; }
.thm26-story-entry__copy time { font-size: 12px; color: var(--bugis-muted); }.thm26-story-entry__copy h3 { margin: 14px 0; }.thm26-story-entry__copy > p:last-child { color: var(--bugis-muted); font-size: 15px; }
.thm26-gallery { background: #1b4237; }
.thm26-gallery__collage { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; align-items: start; }
.thm26-gallery__piece { position: relative; min-width: 0; padding: 7px; border: 1px solid var(--bugis-line); background: transparent; color: var(--bugis-light); }
.thm26-gallery__piece img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }.thm26-gallery__piece:nth-child(3n+2) { margin-top: 50px; }
.thm26-gallery__piece > span { position: absolute; bottom: 16px; right: 20px; font-size: 12px; text-shadow: 0 1px 6px #000; }.thm26-gallery__piece small { display: block; padding: 10px; }
.thm26-gallery-dialog { padding: 18px; width: min(900px,94vw); max-height: 94dvh; color: var(--bugis-light); background: var(--bugis-ink); border: 1px solid var(--bugis-accent); }
.thm26-gallery-dialog::backdrop { background: #10080ce8; }.thm26-gallery-dialog button { border: 1px solid var(--bugis-line); color: var(--bugis-light); background: transparent; padding: 8px 12px; }
.thm26-gallery-dialog__bar,.thm26-gallery-dialog__controls { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: 12px; }.thm26-gallery-dialog figure { margin: 14px 0; }.thm26-gallery-dialog figure img { max-height: 65dvh; width: 100%; object-fit: contain; }.thm26-gallery-dialog figcaption { text-align: center; font-size: 12px; }
.thm26-rsvp__layout, .thm26-wishes__guestbook { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; }
.thm26-rsvp__aside h2 { margin: 15px 0 24px; }.thm26-rsvp__aside > p:not(.thm26-kicker) { color: var(--bugis-muted); font-size: 15px; }.thm26-rsvp__deadline strong { display: block; color: var(--bugis-accent); }
.thm26-rsvp__mark { width: 160px; height: 240px; background: url('../img/gold-foliage.svg') center / contain no-repeat; margin: 35px 0; }.thm26-rsvp__mark span { display: none; }
.thm26-form { padding: 32px; background: #1b4237; border: 1px solid var(--bugis-line); display: grid; gap: 20px; align-content: start; }
.thm26-field { min-width: 0; margin: 0; padding: 0; border: 0; }.thm26-field > label,.thm26-field legend { display: block; padding: 0; font-size: 12px; margin-bottom: 8px; color: var(--bugis-accent); }
.thm26-field :is(input:not([type="radio"]),textarea,select) { width: 100%; padding: 12px 14px; border: 1px solid #d6b67b40; border-radius: 0; background: #102e27; color: var(--bugis-light); font: 13px/1.8 var(--invie-font-body, "Manrope"),sans-serif; }.thm26-field textarea { resize: vertical; }.thm26-field ::placeholder { color: #b7c2b1; opacity: 1; }
.thm26-attendance__options { display: grid; gap: 8px; }.thm26-attendance__options label { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--bugis-line); font-size: 12px; cursor: pointer; }.thm26-attendance__options label:has(input:checked) { background: #d6b67b12; border-color: var(--bugis-accent); }.thm26-attendance input { accent-color: var(--bugis-accent); }
.thm26-form__status { font-size: 12px; color: #d6b67b; overflow-wrap: anywhere; }.thm26-form__status:empty { display: none; }.thm26-form__status[data-status="error"] { color: #ffb7ab; }
.thm26-wishes { background: #183d32; }.thm26-wishes__featured { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; margin-bottom: 40px; }.thm26-wish-card { position: relative; padding: 30px; border: 1px solid var(--bugis-line); }.thm26-wish-card__number { color: var(--bugis-accent); font-size: 12px; }.thm26-wish-card blockquote { margin: 12px 0 22px; font: 24px/1.5 var(--invie-font-heading, "Cormorant Garamond"),serif; }.thm26-wish-card figcaption { display: flex; gap: 12px; align-items: center; font-size: 12px; }.thm26-wish-card figcaption img,.thm26-wish-card__initial { width: 42px; height: 42px; object-fit: cover; border-radius: 50%; }.thm26-wish-card__initial { display: grid; place-items: center; border: 1px solid var(--bugis-line); }.thm26-wish-card small { display: block; color: var(--bugis-muted); font-size: 12px; }
.thm26-wishes__messages-head { display: flex; gap: 15px; justify-content: space-between; align-items: center; }.thm26-wishes__messages-head h3 { margin-top: 10px; }.thm26-wishes__messages ul { list-style: none; padding: 0; margin: 25px 0 0; max-height: 490px; overflow: auto; }.thm26-wishes__messages li { display: flex; gap: 16px; border-bottom: 1px solid var(--bugis-line); padding: 22px 0; font-size: 15px; overflow-wrap: anywhere; }.thm26-wishes__messages li > span,.thm26-wishes__messages time { color: var(--bugis-accent); font-size: 12px; }.thm26-wishes__messages time { display: block; }.thm26-wishes__messages li p { margin-top: 10px; color: var(--bugis-muted); }
.thm26-gift__accounts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px; }.thm26-gift-card { padding: 30px; border: 1px solid var(--bugis-line); background: linear-gradient(135deg,#633144,#102e27); }.thm26-gift-card__masthead { display: flex; justify-content: space-between; font-size: 12px; color: var(--bugis-accent); letter-spacing: .08em; }.thm26-gift-card__bank { display: flex; gap: 15px; align-items: center; margin: 22px 0; }.thm26-gift-card__bank img { max-width: 75px; max-height: 35px; padding: 6px; background: #fff; border-radius: 3px; }.thm26-gift-card__bank strong { font-size: 12px; }.thm26-gift-card__account { display: grid; margin-bottom: 25px; overflow-wrap: anywhere; }.thm26-gift-card__account span,.thm26-gift-card__account small { color: var(--bugis-muted); font-size: 12px; }.thm26-gift-card__account strong { font: 29px/1.8 var(--invie-font-heading, "Cormorant Garamond"),serif; color: var(--bugis-accent); }
.thm26-dresscode,.thm26-livestream,.thm26-health { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; align-items: center; }.thm26-dresscode h2,.thm26-livestream h2,.thm26-health h2 { margin: 14px 0 22px; font-size: 2.8rem; }.thm26-dresscode p:not(.thm26-kicker),.thm26-livestream p:not(.thm26-kicker),.thm26-health p:not(.thm26-kicker) { font-size: 15px; color: var(--bugis-muted); }.thm26-dresscode small { display: block; margin-top: 15px; font-size: 12px; }.thm26-dresscode__palette { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }.thm26-dresscode__swatch { display: flex; gap: 12px; align-items: center; font-size: 12px; }.thm26-dresscode__swatch > span { width: 45px; height: 60px; flex: 0 0 45px; border: 1px solid var(--bugis-line); border-radius: 0; background: var(--thm26-swatch); }.thm26-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) { .thm26-dresscode__palette { grid-template-columns: repeat(2, minmax(0, max-content)); justify-content: center; column-gap: 56px; } }
.thm26-livestream { background: #633144; }.thm26-livestream__signal { display: none; }.thm26-livestream__access { padding: 30px; border: 1px solid var(--bugis-line); }.thm26-livestream__meta { display: grid; margin-bottom: 24px; }.thm26-livestream__meta span { font-size: 12px; letter-spacing: .14em; color: var(--bugis-accent); }.thm26-livestream dd { margin: 0; overflow-wrap: anywhere; }.thm26-health__grid { list-style: none; padding: 0; }.thm26-health-card { padding: 18px 0; border-bottom: 1px solid var(--bugis-line); }.thm26-health-card__number { margin-right: 10px; color: var(--bugis-accent); font-size: 12px; }.thm26-health-card strong { font-size: 13px; }
.thm26-story__timeline::before { width: 8px; left: calc(50% - 4px); background: url('../img/silk-check.svg') center / 60px 60px repeat-y; opacity: .7; }
.thm26-gallery__piece { padding: 8px; background: #143a30 url('../img/silk-check.svg') center / 90px 90px; border: 1px solid #d6b67b4d; }.thm26-gallery__piece small { background: #1b4237; }
.thm26-form { border-top: 4px solid #b59152; }.thm26-gift-card { background: linear-gradient(110deg,#1b4237f7,#1b4237bd),url('../img/silk-check.svg') right center / 120px 120px; border: 1px solid #d6b67b7a; }
.thm26-closing { position: relative; overflow: hidden; padding: 85px 25px 430px; text-align: center; isolation: isolate; background: #143a30; }.thm26-closing::before { content: ''; position: absolute; z-index: -1; bottom: 0; left: 50%; translate: -50% 0; width: min(100%,1000px); height: 470px; background: url('../img/bugis-house.webp') center 62% / cover no-repeat; mask-image: linear-gradient(transparent,#000 30%); opacity: .85; }.thm26-closing__media { position: absolute; inset: 0; z-index: -2; }.thm26-closing__media img { width: 100%; height: 100%; object-fit: cover; opacity: .05; }.thm26-closing__monogram { display: none; }.thm26-closing__copy { position: relative; max-width: 850px; margin: auto; }.thm26-closing__copy::before { content: ''; display: block; height: 65px; background: url('../img/stilt-house.svg') center / contain no-repeat; margin-bottom: 30px; }.thm26-closing h2 { font-size: clamp(3.5rem,7vw,6rem); margin: 25px 0; color: #f4eee2; }.thm26-closing h2 i { font-size: .55em; margin-inline: 15px; color: #d6b67b; }.thm26-closing__copy > p:not(.thm26-kicker) { font-size: 15px; color: var(--bugis-muted); max-width: 470px; margin: auto; }.thm26-closing time { display: block; margin: 24px 0; font-size: 12px; letter-spacing: .15em; }.thm26-closing small { display: block; font-size: 12px; color: var(--bugis-muted); margin-top: 40px; }.thm26-closing--names-long h2,.thm26-closing--names-xlong h2 { font-size: clamp(2.6rem,5vw,4rem); }
.thm26-sr-status { position: fixed; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
/* Blend the landscape's sides into the footer, with a shorter right fade
   to keep the off-centre house clear. Retain the existing fade at the top. */
.thm26-closing::before {
    --thm26-closing-side-mask: linear-gradient(90deg, transparent, #0003 5%, #000a 10%, #000 16%, #000 90%, #000a 94%, #0003 97%, transparent);
    --thm26-closing-mask: linear-gradient(transparent, #000 30%), var(--thm26-closing-side-mask);
    -webkit-mask-image: var(--thm26-closing-mask);
    mask-image: var(--thm26-closing-mask);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}
@media (max-width: 1100px) {
    .thm26-section { padding: 80px 6vw; }.thm26-intro { padding-top: 0; }.thm26-rsvp__layout,.thm26-wishes__guestbook { gap: 35px; }
    .thm26-cover__stage { width: calc(100% - 110px); gap: 30px; }.thm26-cover__frame { padding-inline: 22px; }.thm26-cover h1 { font-size: 4.2rem; }.thm26-cover--long h1 { font-size: 2.8rem; }
    .thm26-intro__grid { gap: 36px; }.thm26-intro__copy h2 { font-size: 3.4rem; }
}
@media (max-width: 900px) {
    .thm26-cover__stage { display: flex; flex-direction: column; justify-content: center; gap: 20px; width: min(100% - 120px,600px); padding-block: 24px; }
    .thm26-cover__frame { width: 100%; padding: 28px 34px; }.thm26-cover__scene { display: flex; flex-direction: column; width: 100%; height: min(34dvh,350px); order: 0; overflow: hidden; box-shadow: none; }.thm26-cover__scene img { flex: 1 1 auto; min-height: 0; object-fit: contain; }.thm26-cover h1 { font-size: 4rem; }.thm26-cover--long h1 { font-size: 2.8rem; }
    .thm26-intro__grid { grid-template-columns: minmax(0,1fr); gap: 50px; }.thm26-intro__copy { max-width: 570px; margin: auto; }.thm26-intro__portrait { order: 0; width: min(100%,440px); }
}
@media (max-width: 760px) {
    .thm26-closing::before {
        --thm26-closing-side-mask: linear-gradient(90deg, transparent, #0003 5%, #000a 10%, #000 16%, #000 94%, #000a 97%, #0003 99%, transparent);
    }
    .theme-thm26 { font-size: 14px; }.thm26-cover__stage { width: calc(100% - 48px); padding: 0; gap: 0; justify-content: flex-start; }.thm26-cover__frame { width: 100%; padding: 28px 20px; box-shadow: none; }.thm26-cover__frame::before { inset: 8px; }.thm26-cover__crest { width: 90px; margin-bottom: 16px; }
    .thm26-cover h1 { font-size: clamp(3.2rem,13vw,4.5rem); margin-top: 18px; }.thm26-cover--long h1 { font-size: clamp(2rem,8vw,3rem); }.thm26-cover .thm26-divider { margin-block: 18px; }.thm26-cover__guest { margin: 20px 0; }
    .thm26-cover__scene { position: absolute; z-index: 0; inset: auto 0 0; width: 100%; height: clamp(86px,18dvh,145px); padding: 0; overflow: hidden; background: transparent; border: 0; }.thm26-cover__scene::before,.thm26-cover__scene-caption { display: none; }.thm26-cover__scene img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; object-position: center bottom; }.thm26-cover__textile { --thm26-repeat: 90px; width: 14px; background-size: 90px var(--thm26-repeat); }.thm26-cover__textile--left { left: 0; }.thm26-cover__textile--right { right: 0; }
    .thm26-scrollwork { width: 170px; opacity: .4; }.thm26-scrollwork--left { left: -55px; }.thm26-scrollwork--right { right: -55px; }
    .thm26-section { padding: 65px 25px; }.thm26-intro { padding-top: 0; }.thm26-nav { gap: 18px; padding-block: 18px; }.thm26-nav__links { gap: 14px; }.thm26-nav__links a { font-size: 12px; }.thm26-nav__brand { font-size: 24px; }
    .thm26-intro__grid { gap: 36px; padding: 45px 0 40px; }.thm26-intro__copy h2 { font-size: clamp(2.6rem,10vw,4rem); }.thm26-intro__portrait { width: min(95%,400px); padding: 12px; }.thm26-intro__hero figcaption { font-size: 26px; }
    .thm26-countdown { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; padding-top: 26px; }.thm26-countdown > p { grid-column: 1 / -1; max-width: none; text-align: center; margin-bottom: 8px; }.thm26-countdown > div { min-width: 0; }.thm26-countdown strong { font-size: 38px; }
    .thm26-heading { margin-bottom: 40px; }.thm26-couple__profiles { grid-template-columns: 1fr; gap: 65px; margin-top: 45px; }.thm26-profile__media { width: min(90%,285px); }.thm26-profile__copy { max-width: 390px; margin: auto; }
    .thm26-events__tickets { gap: 30px; }.thm26-event { grid-template-columns: minmax(0,1fr); gap: 26px; padding: 18px 25px 28px 18px; text-align: center; }.thm26-event__date { padding: 22px 15px; }.thm26-event__date strong { font-size: 60px; }.thm26-event__actions { flex-direction: column; justify-content: center; }.thm26-event__map > summary { margin-inline: auto; }.thm26-event__map .theme-v2-map__open { justify-self: center; }
    .thm26-story-entry { grid-template-columns: 1fr; gap: 24px; padding: 28px 0; }.thm26-story-entry--even .thm26-story-entry__visual { order: 0; }.thm26-story-entry__copy { border-left: 3px solid #b59152; padding-left: 18px; }.thm26-story__timeline::before { display: none; }
    .thm26-gallery__collage { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }.thm26-gallery__piece { padding: 5px; }.thm26-gallery__piece:nth-child(3n+2) { margin-top: 0; }.thm26-gallery__piece:nth-child(2n) { margin-top: 25px; }.thm26-gallery-dialog { padding: 12px; }
    .thm26-gift__accounts,.thm26-rsvp__layout,.thm26-wishes__guestbook,.thm26-wishes__featured,.thm26-dresscode,.thm26-livestream,.thm26-health { grid-template-columns: 1fr; gap: 28px; }.thm26-rsvp__aside { text-align: center; }.thm26-rsvp__mark { display: none; }.thm26-form { padding: 24px 20px; }.thm26-wish-card { padding: 24px; }.thm26-gift-card { padding: 26px; }.thm26-dresscode h2,.thm26-livestream h2,.thm26-health h2 { font-size: 2.5rem; }
    .thm26-closing { padding-top: 70px; padding-bottom: 250px; }.thm26-closing h2 span { display: block; }.thm26-closing h2 i { display: block; line-height: 1.4; }.thm26-closing::before { height: 280px; background-position: 65% bottom; }
}
@media (max-width: 359px) {
    .thm26-cover__frame { padding-inline: 16px; }.thm26-cover h1 { font-size: 3rem; }.thm26-cover--long h1 { font-size: 2rem; }.thm26-nav__links { gap: 9px; }.thm26-section { padding-inline: 20px; }.thm26-cover .thm26-button { padding-inline: 18px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .theme-thm26 *, .theme-thm26 *::before, .theme-thm26 *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }.theme-thm26 [data-thm26-reveal] { opacity: 1 !important; transform: none !important; }.thm26-dust { display: none; }
}

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


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

/* Guestbook numbers stay on one line beside the entry. */
.thm26-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) {
    .thm26-story__timeline,
    .thm26-gift__accounts {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding-bottom: 8px;
    }
    .thm26-story__timeline::-webkit-scrollbar,
    .thm26-gift__accounts::-webkit-scrollbar { display: none; }
    .thm26-story__timeline::before { display: none; }
    .thm26-story-entry,
    .thm26-gift-card {
        flex: 0 0 86%;
        min-width: 0;
        scroll-snap-align: start;
    }
    .thm26-story-entry { align-content: start; padding: 0; }
    .thm26-story__timeline:focus-visible,
    .thm26-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) {
    .thm26-story__timeline, .thm26-gift__accounts { overflow-y: hidden; }
    .thm26-motion-ready .thm26-story__timeline [data-thm26-reveal]:not(.is-visible),
    .thm26-motion-ready .thm26-gift__accounts [data-thm26-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) {
    .thm26-gallery__collage { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .thm26-gallery__piece { grid-column: span 2; }
    .thm26-gallery__piece:last-child:nth-child(3n+1) { grid-column: 3 / span 2; }
    .thm26-gallery__piece:nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; }
}
@media (max-width: 760px) {
    .thm26-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 --thm26-name-em). */
.thm26-cover h1, .thm26-closing h2 { container-type: inline-size; }
.thm26-cover h1 span, .thm26-closing h2 span { font-size: min(1em, max(1rem, 92cqi / var(--thm26-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. */
.thm26-video { --theme-video-gap: 28px; --theme-video-radius: 0; --theme-video-border: transparent; --theme-video-frame: #1b4237; --theme-video-button: var(--bugis-accent); --theme-video-button-text: var(--bugis-ink); }
.thm26-video .theme-video__list { display: flex; flex-wrap: wrap; justify-content: center; }
.thm26-video .theme-video__item { flex: 0 1 100%; padding: 8px; border: 1px solid #d6b67b4d; background: #143a30 url('../img/silk-check.svg') center / 90px 90px; }
.thm26-video:not([data-video-count="1"]) .theme-video__item { flex-basis: calc((100% - var(--theme-video-gap)) / 2); }
.theme-thm26 .thm26-video .theme-video__play { --theme-focus: #ffffff; border-radius: 16px; }
.theme-thm26 .thm26-video .theme-video__play:focus-visible { box-shadow: 0 0 0 9px rgb(16 46 39 / 55%); }
body.theme-thm26 .thm26-video .theme-video__caption { margin: 10px 0 4px; color: var(--bugis-accent); 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. */
.thm26-gift-address .theme-gift-address__list { gap: 25px; width: 100%; }
.thm26-gift-address .theme-gift-address__card { flex: 0 1 34rem; align-items: flex-start; gap: 0; padding: 30px; border: 1px solid #d6b67b7a; background: linear-gradient(110deg,#1b4237f7,#1b4237ee 58%,#1b4237bd),url('../img/silk-check.svg') right center / 120px 120px; color: inherit; text-align: left; }
.thm26-gift-address .theme-gift-address__list:not([data-address-count="1"]) .theme-gift-address__card { flex-basis: calc((100% - 25px) / 2); max-width: 34rem; }
.thm26-gift-address .theme-gift-address__card::before { content: "Alamat pengiriman"; margin-bottom: 22px; color: var(--bugis-accent); font-size: 12px; letter-spacing: .08em; line-height: 1.6; }
.thm26-gift-address .theme-gift-address__card:lang(en)::before { content: "Delivery address"; }
body.theme-thm26 .thm26-gift-address .theme-gift-address__label { color: var(--bugis-muted); font-size: 12px; letter-spacing: 0; text-transform: none; opacity: 1; }
body.theme-thm26 .thm26-gift-address .theme-gift-address__name { margin: 2px 0 10px; color: var(--bugis-accent); font: 500 clamp(1.65rem, 2.3vw, 1.9rem)/1.25 var(--invie-font-heading, "Cormorant Garamond"), Georgia, serif; }
body.theme-thm26 .thm26-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(--bugis-line); }
body.theme-thm26 .thm26-gift-address .theme-gift-address__address { max-width: none; font-size: 14px; line-height: 1.75; }
body.theme-thm26 .thm26-gift-address .theme-gift-address__note { margin-top: 10px; color: var(--bugis-muted); font-size: 13px; opacity: 1; }
body.theme-thm26 .thm26-gift-address .theme-gift-address__copy { margin-top: auto; }
.thm26-gift-address .theme-gift-address__card > :nth-last-child(2) { margin-bottom: 24px; }

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

/* Shared sections (inviters, video, Kirim Kado) take the page ground: the manifest surface is a shade lighter than the body. */
body.theme-thm26[data-theme-version="v2"] { --theme-surface: var(--bugis-ink); }

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

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

/* The cover's pause pill clears the silk side border; on phones and portrait tablets the card starts below it. */
.thm26-motion-toggle--cover { right: max(58px, env(safe-area-inset-right)); }
@media (max-width: 760px) { .thm26-motion-toggle--cover { top: max(8px, env(safe-area-inset-top)); right: max(22px, env(safe-area-inset-right)); } }
@media (min-width: 761px) and (max-width: 900px) and (prefers-reduced-motion: no-preference) { .thm26-cover__stage { padding-top: 60px; } }
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) { .thm26-cover__frame { margin-top: 42px; } }

/* Film titles sit on the panel colour, like gallery captions, instead of on the silk check. */
body.theme-thm26 .thm26-video .theme-video__caption { margin: 8px 0 0; padding: 4px 10px 6px; background: #1b4237; }
