/* Pinto Aceh: original ornamental composition, shared v2 interaction contract. */
body.theme-thm21 {
    --aceh-ink: #151a17;
    --aceh-panel: #202720;
    --aceh-gold: #d3b675;
    --aceh-light: #f8efdd;
    --aceh-muted: #c4c0ac;
    --aceh-red: #692e30;
    --aceh-line: rgb(211 182 117 / 32%);
    --theme-focus: #f6d27d;
    margin: 0;
    background: var(--aceh-ink);
    color: var(--aceh-light);
    font: 400 15px/1.8 var(--invie-font-body, "Manrope"), sans-serif;
    -webkit-font-smoothing: antialiased;
}
.theme-thm21 *, .theme-thm21 *::before, .theme-thm21 *::after { box-sizing: border-box; }
.theme-thm21 :is(h1,h2,h3,p,figure,blockquote) { margin: 0; }
.theme-thm21 :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-thm21 h2 { font-size: clamp(2.6rem, 4.2vw, 4.4rem); }
.theme-thm21 h3 { font-size: clamp(2rem, 3vw, 2.8rem); }
.theme-thm21 p { text-wrap: pretty; }
.theme-thm21 :is(a,button,input,textarea,select) { -webkit-tap-highlight-color: transparent; }
.theme-thm21 a { color: inherit; text-decoration: none; }
.theme-thm21 button { cursor: pointer; font: inherit; }
.theme-thm21 button:disabled { opacity: .55; cursor: wait; }
.theme-thm21 img { display: block; max-width: 100%; }
.theme-thm21 :is(button,input,textarea,select) { max-width: 100%; }
.theme-thm21 [hidden] { display: none !important; }
.theme-thm21 ::selection { color: var(--aceh-ink); background: var(--aceh-gold); }
.theme-thm21:not([data-theme-state="open"]) { overflow: hidden; }
.thm21-page { width: 100%; position: relative; }
.theme-thm21 .thm21-invitation { visibility: visible; opacity: 1; outline: 0; }
.theme-thm21 [data-theme-section] { content-visibility: visible; contain-intrinsic-size: none; scroll-margin-top: 20px; }
.thm21-kicker { color: var(--aceh-gold); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; line-height: 1.9; text-transform: uppercase; }
.thm21-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 14px 25px; min-height: 48px; border: 1px solid var(--aceh-gold); border-radius: 2px; background: linear-gradient(115deg, #c4a362, #efdbab, #c4a362); color: #24271e; font-size: 12px; font-weight: 700; letter-spacing: .05em; transition: box-shadow .25s, transform .25s; }
.thm21-button:hover { box-shadow: 0 0 30px #d3b67530; transform: translateY(-2px); }
.theme-thm21 a.thm21-button { color: #24271e; }
.theme-thm21 .thm21-button.thm21-button--gold { border-color: var(--aceh-gold); background: linear-gradient(115deg, #c4a362, #efdbab, #c4a362); color: var(--aceh-ink); }
.theme-thm21 .thm21-button.thm21-button--ink { border-color: var(--aceh-gold); background: var(--aceh-ink); color: var(--aceh-light); }
.theme-thm21 .thm21-button.thm21-button--paper { background: transparent; color: var(--aceh-gold); }
.thm21-text-link { display: inline-flex; gap: 14px; align-items: center; min-height: 44px; padding-block: 8px; border: 0; border-bottom: 1px solid var(--aceh-line); background: transparent; color: var(--aceh-gold) !important; font-size: 12px; }
.thm21-divider { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--aceh-gold); margin: 22px 0; font-size: 8px; }
.thm21-divider::before, .thm21-divider::after { content: ""; width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--aceh-gold)); }
.thm21-divider::after { transform: rotate(180deg); }

/* The cover stays painted over a fully composed invitation while it fades. */
.thm21-cover { position: fixed !important; z-index: 50; inset: 0; display: grid; place-items: center; overflow: auto; isolation: isolate; padding: 36px 20px; background: #151a17; transition: opacity .85s ease, visibility .85s; }
.thm21-cover::before { content: ""; position: absolute; inset: 15px; border: 1px solid var(--aceh-line); pointer-events: none; }
.thm21-cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 40%, #32403150, transparent 58%); pointer-events: none; }
.thm21-cover__backdrop { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; opacity: .055; filter: sepia(.6); z-index: -1; }
.thm21-cover__frame { position: relative; width: min(100%, 500px); text-align: center; padding: 28px 45px 22px; margin: auto; border: 1px solid var(--aceh-line); border-radius: 48% 48% 2px 2px / 23% 23% 2px 2px; background: #151a17e8; box-shadow: 0 0 0 8px #151a17, 0 0 0 9px #d3b67532; animation: thm21-enter 1.4s ease both; }
.thm21-cover__crest { width: 78px; height: 94px; margin: 0 auto 12px; }
.thm21-cover h1 { margin: 14px 0 0; color: #f0ddb3; font-size: clamp(3.8rem, 6.2vw, 6rem); letter-spacing: -.025em; }
.thm21-cover h1 span { display: block; }
.thm21-cover h1 i { display: block; font-size: .43em; font-weight: 400; color: var(--aceh-gold); line-height: 1; margin-block: 4px; }
.thm21-cover--long h1 { font-size: clamp(2.3rem, 4vw, 3.7rem); }
.thm21-cover time { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.thm21-cover__guest { display: grid; gap: 4px; margin: 27px auto 20px; overflow-wrap: anywhere; }
.thm21-cover__guest span { color: var(--aceh-muted); font-size: 12px; }
.thm21-cover__guest strong { font-weight: 500; font-size: 15px; }
.thm21-cover__side { position: absolute; top: 0; bottom: 0; width: 22%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; background: linear-gradient(90deg,#3b2121,#53262a); border-inline: 1px solid var(--aceh-line); }
.thm21-cover__side::before, .thm21-cover__side::after { content: ""; position: absolute; left: 12px; right: 12px; height: 50px; background: url('../img/woven.svg') center / 92px 50px repeat-x; opacity: .7; }
.thm21-cover__side::before { top: 28px; }.thm21-cover__side::after { bottom: 28px; }
.thm21-cover__side--left { left: 30px; }.thm21-cover__side--right { right: 30px; }
.thm21-cover__side img { width: min(80%, 230px); height: auto; animation: thm21-float 9s ease-in-out infinite; }
.thm21-cover__side--right img { animation-delay: -4.5s; }
.thm21-cover__side span { font-size: 12px; letter-spacing: .22em; text-align: center; color: var(--aceh-gold); }
.theme-thm21.thm21-is-open .thm21-cover { opacity: 0; visibility: hidden; pointer-events: none; }
.theme-thm21.thm21-is-opening .thm21-intro__grid { animation: thm21-enter 1.2s ease both; }

/* Slow botanical motion and scattered golden light. */
.thm21-ornaments { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.thm21-sulur { position: absolute; width: clamp(150px, 24vw, 350px); height: auto; bottom: -3%; opacity: .8; transform-origin: 50% 100%; animation: thm21-sway 11s ease-in-out infinite; }
.thm21-sulur--left { left: -4%; }.thm21-sulur--right { right: -4%; scale: -1 1; animation-delay: -5.5s; }
.thm21-dust { position: absolute; inset: 0; }
.thm21-dust i { position: absolute; left: 17%; top: 75%; width: 3px; height: 3px; border-radius: 50%; background: #e9cb88; box-shadow: 0 0 9px #f6ce7b; animation: thm21-drift 10s ease-in-out infinite; opacity: 0; }
.thm21-dust i:nth-child(2) { left: 33%; top: 39%; animation-delay: -4s; }.thm21-dust i:nth-child(3) { left: 69%; top: 68%; animation-delay: -7s; }.thm21-dust i:nth-child(4) { left: 85%; top: 29%; animation-delay: -2s; }.thm21-dust i:nth-child(5) { left: 8%; top: 31%; animation-delay: -6s; }.thm21-dust i:nth-child(6) { left: 53%; top: 88%; animation-delay: -1s; }.thm21-dust i:nth-child(7) { left: 78%; top: 82%; animation-delay: -8s; }.thm21-dust i:nth-child(8) { left: 42%; top: 12%; animation-delay: -3s; }
@keyframes thm21-enter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes thm21-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes thm21-sway { 0%,100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg) translateY(-5px); } }
@keyframes thm21-drift { 0%,100% { opacity: 0; transform: translate(0, 12px); } 40% { opacity: .6; } 80% { opacity: .15; transform: translate(13px, -44px); } }
.thm21-motion-ready [data-thm21-reveal] { transition: opacity .85s ease, transform .85s ease; }
.thm21-motion-ready [data-thm21-reveal]:not(.is-visible) { opacity: 0; transform: translateY(24px); }
.theme-thm21[data-motion-paused="true"] :is(.thm21-sulur, .thm21-dust i, .thm21-cover__side img) { animation-play-state: paused !important; }
.theme-thm21[data-motion-paused="true"] [data-thm21-reveal] { opacity: 1; transform: none; }

/* A broad desktop composition becomes a single ceremonial scroll on mobile. */
.thm21-section { position: relative; padding: 100px max(7vw, calc((100vw - 1160px) / 2)); border-bottom: 1px solid var(--aceh-line); }
.thm21-section > :not(dialog) { position: relative; min-width: 0; }
.thm21-section > .thm21-ornaments { position: absolute; }
.thm21-intro .thm21-sulur { opacity: .26; width: 210px; }
.thm21-events .thm21-heading::before { width: 250px; height: 110px; background-image: url('../img/rumoh.svg'); }
.thm21-heading { max-width: 680px; text-align: center; margin: 0 auto 55px; }
.thm21-heading .thm21-kicker { margin-bottom: 14px; }
.thm21-heading p:not(.thm21-kicker) { max-width: 530px; margin: 20px auto 0; color: var(--aceh-muted); font-size: 15px; }
.thm21-heading::before { content: ""; display: block; width: 64px; height: 77px; margin: 0 auto 24px; background: url('../img/pinto.svg') center / contain no-repeat; }
.thm21-intro { padding-top: 0; background: radial-gradient(ellipse at 90% 40%,#303d303d,transparent 60%); }
.thm21-nav { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--aceh-line); }
.thm21-nav__brand { font: 30px/1.1 var(--invie-font-heading, "Cormorant Garamond"),serif; color: var(--aceh-gold) !important; }
.thm21-nav__links { display: flex; gap: 28px; flex-wrap: wrap; }
.thm21-nav__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
.thm21-nav__links a:hover { color: var(--aceh-gold); }
.thm21-intro__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 10%; align-items: center; padding: 95px 0 65px; }
.thm21-intro__copy h2 { font-size: clamp(3.6rem, 5.8vw, 6rem); margin-top: 24px; }
.thm21-intro__copy em { color: var(--aceh-gold); font-weight: 500; }
.thm21-intro__copy .thm21-divider { justify-content: flex-start; }
.thm21-intro__copy > p:not(.thm21-kicker) { font-size: 15px; max-width: 420px; color: var(--aceh-muted); }
.thm21-intro__copy .thm21-text-link { margin-top: 22px; }
.thm21-intro__portrait { position: relative; padding: 16px; border: 1px solid var(--aceh-line); border-radius: 48% 48% 0 0; }
.thm21-intro__hero { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 4; border-radius: 48% 48% 0 0; overflow: hidden; background: var(--aceh-panel); }
.thm21-intro__hero > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7); }
.thm21-intro__hero figcaption { position: absolute; inset: auto 0 0; padding: 45px 20px 20px; text-align: center; background: linear-gradient(transparent,#151a17d9); font: italic 30px var(--invie-font-heading, "Cormorant Garamond"),serif; }
.thm21-intro__monogram { font: 100px var(--invie-font-heading, "Cormorant Garamond"),serif; color: var(--aceh-gold); }
.thm21-intro__ornament { position: absolute; width: 95px; height: auto; top: -54px; left: calc(50% - 47px); z-index: 2; }
.thm21-countdown { display: flex; justify-content: center; align-items: center; gap: 35px; padding-top: 40px; border-top: 1px solid var(--aceh-line); }
.thm21-countdown > p { max-width: 140px; }
.thm21-countdown > div { display: grid; min-width: 55px; text-align: center; }
.thm21-countdown strong { color: var(--aceh-gold); font: 45px/1.2 var(--invie-font-heading, "Cormorant Garamond"),serif; }
.thm21-countdown span { font-size: 12px; letter-spacing: .1em; color: var(--aceh-muted); }
.thm21-couple { background: #1c231d; }
.thm21-couple__profiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; max-width: 950px; margin: 0 auto; }
.thm21-profile { text-align: center; min-width: 0; }
.thm21-profile__media { width: min(100%, 310px); aspect-ratio: 3 / 4; padding: 9px; border: 1px solid var(--aceh-line); border-radius: 48% 48% 2px 2px; background: url('../img/woven.svg') center / 130px; }
.theme-thm21 .thm21-profile__media { margin: 0 auto 30px; }
.thm21-profile__media img, .thm21-profile__monogram { width: 100%; height: 100%; object-fit: cover; border-radius: 48% 48% 2px 2px; background: var(--aceh-ink); }
.thm21-profile__monogram { display: grid; place-items: center; color: var(--aceh-gold); font: 90px var(--invie-font-heading, "Cormorant Garamond"),serif; }
.thm21-profile__copy h3 { color: var(--aceh-gold); margin: 10px auto 18px; max-width: 420px; }
.thm21-profile__copy > p:not(.thm21-kicker) { font-size: 15px; color: var(--aceh-muted); max-width: 330px; margin: auto; }
.thm21-profile__copy .thm21-text-link { margin-top: 10px; }
.thm21-profile--name-long h3,.thm21-profile--name-xlong h3 { font-size: 2rem; }
.thm21-events { background: #52272a; }
.thm21-events::before, .thm21-closing::after { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 40px; background: url('../img/woven.svg') center / 75px 40px repeat-x; opacity: .55; pointer-events: none; }
.thm21-events__tickets { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.thm21-event { border: 1px solid var(--aceh-line); padding: 35px 28px; text-align: center; background: #2c1c1b60; box-shadow: inset 0 0 0 7px #52272a, inset 0 0 0 8px #d3b67520; }
.thm21-event__date time { display: grid; color: var(--aceh-gold); }
.thm21-event__date span,.thm21-event__date small { font-size: 12px; letter-spacing: .18em; }
.thm21-event__date strong { font: 75px/1 var(--invie-font-heading, "Cormorant Garamond"),serif; margin: 8px 0; }
.thm21-event__copy { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--aceh-line); }
.thm21-event__copy h3 { margin: 7px 0 15px; }
.thm21-event__copy > strong { display: block; font-size: 14px; margin: 20px 0 6px; }
.thm21-event__copy address { font-style: normal; color: #d9c8bc; font-size: 12px; }
.thm21-event__time { font-size: 14px; }
.thm21-event__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
/* One map control: open, the map takes the card's width; the button and the maps link stay centred like the card. */
.thm21-event__map[open] { align-self: stretch; }
.thm21-event__map > summary { margin-inline: auto; }
.thm21-event__map .theme-v2-map__open { justify-self: center; color: var(--aceh-gold); font-size: 13px; }
.thm21-quote { text-align: center; background: #1c231d; }
.thm21-quote__brush { display: block; height: 115px; background: url('../img/pinto.svg') center / contain no-repeat; margin-bottom: 30px; }
.thm21-quote blockquote { max-width: 760px; margin: auto; }
.thm21-quote__mark { display: none; }
.thm21-quote blockquote p { font: 500 clamp(1.6rem,2.6vw,2.3rem)/1.5 var(--invie-font-heading, "Cormorant Garamond"),serif; }
.thm21-quote cite { display: block; color: var(--aceh-gold); font-style: normal; letter-spacing: .14em; font-size: 12px; margin-top: 30px; }
.thm21-story__timeline { max-width: 950px; margin: auto; }
.thm21-story-entry { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 40px 0; }
.thm21-story-entry--even .thm21-story-entry__visual { order: 2; }
.thm21-story-entry__visual figure { position: relative; }
.thm21-story-entry__visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; padding: 7px; border: 1px solid var(--aceh-line); }
.thm21-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; }
.thm21-story-entry__placeholder { min-height: 220px; display: grid; place-items: center; background: url('../img/pinto.svg') center / contain no-repeat; color: var(--aceh-gold); }.thm21-story-entry__placeholder span { display: none; }
.thm21-story-entry__chapter { color: var(--aceh-gold); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; }
.thm21-story-entry__copy time { font-size: 12px; color: var(--aceh-muted); }.thm21-story-entry__copy h3 { margin: 14px 0; }.thm21-story-entry__copy > p:last-child { color: var(--aceh-muted); font-size: 15px; }
.thm21-gallery { background: #202720; }
.thm21-gallery__collage { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; align-items: start; }
.thm21-gallery__piece { position: relative; min-width: 0; padding: 7px; border: 1px solid var(--aceh-line); background: transparent; color: var(--aceh-light); }
.thm21-gallery__piece img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }.thm21-gallery__piece:nth-child(3n+2) { margin-top: 50px; }
.thm21-gallery__piece > span { position: absolute; bottom: 16px; right: 20px; font-size: 12px; text-shadow: 0 1px 6px #000; }.thm21-gallery__piece small { display: block; padding: 10px; }
.thm21-gallery-dialog { padding: 18px; width: min(900px,94vw); max-height: 94dvh; color: var(--aceh-light); background: var(--aceh-ink); border: 1px solid var(--aceh-gold); }
.thm21-gallery-dialog::backdrop { background: #070b09e8; }.thm21-gallery-dialog button { border: 1px solid var(--aceh-line); color: var(--aceh-light); background: transparent; padding: 8px 12px; }
.thm21-gallery-dialog__bar,.thm21-gallery-dialog__controls { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: 12px; }.thm21-gallery-dialog figure { margin: 14px 0; }.thm21-gallery-dialog figure img { max-height: 65dvh; width: 100%; object-fit: contain; }.thm21-gallery-dialog figcaption { text-align: center; font-size: 12px; }
.thm21-rsvp__layout, .thm21-wishes__guestbook { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; }
.thm21-rsvp__aside h2 { margin: 15px 0 24px; }.thm21-rsvp__aside > p:not(.thm21-kicker) { color: var(--aceh-muted); font-size: 15px; }.thm21-rsvp__deadline strong { display: block; color: var(--aceh-gold); }
.thm21-rsvp__mark { width: 150px; height: 180px; background: url('../img/pinto.svg') center / contain no-repeat; margin: 35px 0; }.thm21-rsvp__mark span { display: none; }
.thm21-form { padding: 32px; background: #202720; border: 1px solid var(--aceh-line); display: grid; gap: 20px; align-content: start; }
.thm21-field { min-width: 0; margin: 0; padding: 0; border: 0; }.thm21-field > label,.thm21-field legend { display: block; padding: 0; font-size: 12px; margin-bottom: 8px; color: var(--aceh-gold); }
.thm21-field :is(input:not([type="radio"]),textarea,select) { width: 100%; padding: 12px 14px; border: 1px solid #d3b67540; border-radius: 0; background: #151a17; color: var(--aceh-light); font: 13px/1.8 var(--invie-font-body, "Manrope"),sans-serif; }.thm21-field textarea { resize: vertical; }.thm21-field ::placeholder { color: #a9ad9f; opacity: 1; }
.thm21-attendance__options { display: grid; gap: 8px; }.thm21-attendance__options label { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--aceh-line); font-size: 12px; cursor: pointer; }.thm21-attendance__options label:has(input:checked) { background: #d3b67512; border-color: var(--aceh-gold); }.thm21-attendance input { accent-color: var(--aceh-gold); }
.thm21-form__status { font-size: 12px; color: #e4c893; overflow-wrap: anywhere; }.thm21-form__status:empty { display: none; }.thm21-form__status[data-status="error"] { color: #ffb7ab; }
.thm21-wishes { background: #1c231d; }.thm21-wishes__featured { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; margin-bottom: 40px; }.thm21-wish-card { position: relative; padding: 30px; border: 1px solid var(--aceh-line); }.thm21-wish-card__number { color: var(--aceh-gold); font-size: 12px; }.thm21-wish-card blockquote { margin: 12px 0 22px; font: 24px/1.5 var(--invie-font-heading, "Cormorant Garamond"),serif; }.thm21-wish-card figcaption { display: flex; gap: 12px; align-items: center; font-size: 12px; }.thm21-wish-card figcaption img,.thm21-wish-card__initial { width: 42px; height: 42px; object-fit: cover; border-radius: 50%; }.thm21-wish-card__initial { display: grid; place-items: center; border: 1px solid var(--aceh-line); }.thm21-wish-card small { display: block; color: var(--aceh-muted); font-size: 12px; }
.thm21-wishes__messages-head { display: flex; gap: 15px; justify-content: space-between; align-items: center; }.thm21-wishes__messages-head h3 { margin-top: 10px; }.thm21-wishes__messages ul { list-style: none; padding: 0; margin: 25px 0 0; max-height: 490px; overflow: auto; }.thm21-wishes__messages li { display: flex; gap: 16px; border-bottom: 1px solid var(--aceh-line); padding: 22px 0; font-size: 15px; overflow-wrap: anywhere; }.thm21-wishes__messages li > span,.thm21-wishes__messages time { color: var(--aceh-gold); font-size: 12px; }.thm21-wishes__messages time { display: block; }.thm21-wishes__messages li p { margin-top: 10px; color: var(--aceh-muted); }
.thm21-gift__accounts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px; }.thm21-gift-card { padding: 30px; border: 1px solid var(--aceh-line); background: linear-gradient(135deg,#30392e,#182019); }.thm21-gift-card__masthead { display: flex; justify-content: space-between; font-size: 12px; color: var(--aceh-gold); letter-spacing: .08em; }.thm21-gift-card__bank { display: flex; gap: 15px; align-items: center; margin: 22px 0; }.thm21-gift-card__bank img { max-width: 75px; max-height: 35px; padding: 6px; background: #fff; border-radius: 3px; }.thm21-gift-card__bank strong { font-size: 12px; }.thm21-gift-card__account { display: grid; margin-bottom: 25px; overflow-wrap: anywhere; }.thm21-gift-card__account span,.thm21-gift-card__account small { color: var(--aceh-muted); font-size: 12px; }.thm21-gift-card__account strong { font: 29px/1.8 var(--invie-font-heading, "Cormorant Garamond"),serif; color: var(--aceh-gold); }
.thm21-dresscode,.thm21-livestream,.thm21-health { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; align-items: center; }.thm21-dresscode h2,.thm21-livestream h2,.thm21-health h2 { margin: 14px 0 22px; font-size: 2.8rem; }.thm21-dresscode p:not(.thm21-kicker),.thm21-livestream p:not(.thm21-kicker),.thm21-health p:not(.thm21-kicker) { font-size: 15px; color: var(--aceh-muted); }.thm21-dresscode small { display: block; margin-top: 15px; font-size: 12px; }.thm21-dresscode__palette { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }.thm21-dresscode__swatch { display: flex; gap: 12px; align-items: center; font-size: 12px; }.thm21-dresscode__swatch > span { width: 45px; height: 60px; flex: 0 0 45px; border: 1px solid var(--aceh-line); border-radius: 22px 22px 0 0; background: var(--thm21-swatch); }.thm21-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) { .thm21-dresscode__palette { grid-template-columns: repeat(2, minmax(0, max-content)); justify-content: center; column-gap: 56px; } }
.thm21-livestream { background: #52272a; }.thm21-livestream__signal { display: none; }.thm21-livestream__access { padding: 30px; border: 1px solid var(--aceh-line); }.thm21-livestream__meta { display: grid; margin-bottom: 24px; }.thm21-livestream__meta span { font-size: 12px; letter-spacing: .14em; color: var(--aceh-gold); }.thm21-livestream dd { margin: 0; overflow-wrap: anywhere; }.thm21-health__grid { list-style: none; padding: 0; }.thm21-health-card { padding: 18px 0; border-bottom: 1px solid var(--aceh-line); }.thm21-health-card__number { margin-right: 10px; color: var(--aceh-gold); font-size: 12px; }.thm21-health-card strong { font-size: 13px; }
.thm21-closing { position: relative; overflow: hidden; padding: 110px 25px 45px; text-align: center; isolation: isolate; background: #151a17; }
.thm21-closing__media { position: absolute; inset: 0; z-index: -1; }.thm21-closing__media img { width: 100%; height: 100%; object-fit: cover; opacity: .08; }.thm21-closing__monogram { display: none; }.thm21-closing__copy { position: relative; max-width: 800px; margin: auto; }.thm21-closing__copy::before { content: ""; display: block; height: 125px; background: url('../img/rumoh.svg') center / contain no-repeat; margin-bottom: 45px; }.thm21-closing h2 { font-size: clamp(3.8rem,7vw,6.5rem); margin: 25px 0; color: var(--aceh-gold); }.thm21-closing h2 i { font-size: .55em; margin-inline: 10px; }.thm21-closing__copy > p:not(.thm21-kicker) { font-size: 15px; color: var(--aceh-muted); max-width: 470px; margin: auto; }.thm21-closing time { display: block; margin: 24px 0; font-size: 12px; letter-spacing: .15em; }.thm21-closing small { display: block; font-size: 12px; color: var(--aceh-muted); margin-top: 55px; }.thm21-closing--names-long h2,.thm21-closing--names-xlong h2 { font-size: clamp(2.6rem,5vw,4rem); }
.thm21-sr-status { position: fixed; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 1100px) {
    .thm21-cover__side { width: 19%; }.thm21-cover__side--left { left: 16px; }.thm21-cover__side--right { right: 16px; }.thm21-cover__side span { font-size: 12px; letter-spacing: .12em; }
    /* The arch fits between the side panels (19% + 16px each, plus its 9px ring) instead of covering their words. */
    .thm21-cover__frame { width: min(100%, 500px, 62vw - 74px); }
    .thm21-section { padding: 80px 6vw; }.thm21-intro { padding-top: 0; }.thm21-intro__grid { gap: 6%; }.thm21-rsvp__layout,.thm21-wishes__guestbook { gap: 35px; }
}
@media (max-width: 760px) {
    .thm21-cover::after { background: url('../img/woven.svg') center 21px / 88px 47px repeat-x, radial-gradient(ellipse at 50% 40%, #32403150, transparent 58%); opacity: .8; }
    .theme-thm21 { font-size: 14px; }.thm21-cover { padding: 30px 25px; }.thm21-cover::before { inset: 10px; }.thm21-cover__side { display: none; }
    .thm21-cover__frame { width: min(100%, 500px); max-width: 440px; padding: 25px 20px 23px; background: #151a17e8; }.thm21-cover__crest { width: 67px; height: 80px; }.thm21-cover h1 { font-size: 4.5rem; }.thm21-cover--long h1 { font-size: 2.8rem; }.thm21-cover__guest { margin-top: 23px; }.thm21-sulur { width: 190px; bottom: -20px; opacity: .65; }.thm21-sulur--left { left: -50px; }.thm21-sulur--right { right: -50px; }
    .thm21-section { padding: 70px 24px; }.thm21-intro { padding-top: 0; }.thm21-nav { gap: 12px; padding: 19px 0; }.thm21-nav__links { gap: 13px; }.thm21-nav__links a { font-size: 12px; }.thm21-nav__brand { font-size: 24px; }
    .thm21-intro__grid { grid-template-columns: 1fr; gap: 78px; padding: 60px 0 45px; }.thm21-intro__copy { text-align: center; }.thm21-intro__copy h2 { font-size: clamp(3.4rem,10vw,4.6rem); }.thm21-intro__copy .thm21-divider { justify-content: center; }.thm21-intro__copy > p:not(.thm21-kicker) { margin: auto; }.thm21-intro__portrait { width: min(100% - 30px,360px); margin: auto; padding: 11px; }
    .thm21-countdown { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; padding-top: 28px; }.thm21-countdown > p { grid-column: 1 / -1; max-width: none; text-align: center; margin-bottom: 8px; }.thm21-countdown strong { font-size: 38px; }.thm21-countdown > div { min-width: 0; }
    .thm21-heading { margin-bottom: 35px; }.thm21-couple__profiles { grid-template-columns: 1fr; gap: 60px; }.thm21-profile__media { width: min(80%,285px); }.thm21-profile__copy { max-width: 390px; margin: auto; }
    .thm21-events__tickets,.thm21-gift__accounts,.thm21-rsvp__layout,.thm21-wishes__guestbook,.thm21-wishes__featured,.thm21-dresscode,.thm21-livestream,.thm21-health { grid-template-columns: 1fr; gap: 28px; }.thm21-event { padding: 30px 20px; }.thm21-event__actions { flex-direction: column; align-items: center; }
    .thm21-story-entry { grid-template-columns: 1fr; gap: 24px; padding: 28px 0; }.thm21-story-entry--even .thm21-story-entry__visual { order: 0; }.thm21-story-entry__copy { border-left: 1px solid var(--aceh-gold); padding-left: 22px; }
    .thm21-gallery__collage { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }.thm21-gallery__piece { padding: 4px; }.thm21-gallery__piece:nth-child(3n+2) { margin-top: 0; }.thm21-gallery__piece:nth-child(2n) { margin-top: 25px; }.thm21-gallery-dialog { padding: 12px; }
    .thm21-rsvp__aside { text-align: center; }.thm21-rsvp__mark { display: none; }.thm21-form { padding: 24px 20px; }.thm21-wish-card { padding: 24px; }.thm21-gift-card { padding: 26px; }.thm21-dresscode h2,.thm21-livestream h2,.thm21-health h2 { font-size: 2.5rem; }.thm21-closing h2 span { display: block; }.thm21-closing h2 i { display: block; line-height: 1.4; }.thm21-closing__copy::before { height: 100px; }
}
@media (max-width: 359px) { .thm21-cover { padding: 24px; }.thm21-cover__frame { padding: 22px 16px; }.thm21-cover__crest { width: 50px; height: 60px; }.thm21-cover h1 { font-size: 3.8rem; }.thm21-cover--long h1 { font-size: 2.3rem; }.thm21-cover__guest { margin: 18px 0; }.thm21-nav__links { gap: 9px; }.thm21-section { padding-inline: 20px; } }
@media (prefers-reduced-motion: reduce) {
    .theme-thm21 *, .theme-thm21 *::before, .theme-thm21 *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .theme-thm21 [data-thm21-reveal] { opacity: 1 !important; transform: none !important; }.thm21-dust { display: none; }
}

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

/* Long names on a short desktop screen: the 12px type floor made the cover a
   few pixels taller than 900px, so the long title and guest block tighten. */
@media (min-width: 761px) and (max-height: 920px) {
    .thm21-cover--long h1 { font-size: clamp(2.3rem, 3.4vw, 3.2rem); }
    .thm21-cover__guest { margin-block: 20px 16px; }
}



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

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

@media (max-width: 760px) {
    .thm21-video:not([data-video-count="1"]) .theme-video__item { flex-basis: 100%; }
    .thm21-video .theme-video__item { padding: 4px; }
    .thm21-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-thm21) :where(h4, p, small, li, blockquote, figcaption) {
    overflow-wrap: break-word;
}
