@font-face {
    font-family: "Gallery";
    src: url("/fonts/Gallery.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Shared responsive renderer for Jawa, Floral, Modern, and Islami themes. */
*,
*::before,
*::after {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body.theme-template {
    margin: 0;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: "DM Sans", system-ui, sans-serif
}

.theme-template .theme-stage {
    container: invitation-stage/inline-size;
    overflow: hidden;
    background: var(--bg)
}

.theme-template .section {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 0;
    padding: clamp(72px, 9vw, 116px) clamp(18px, 5vw, 56px);
    overflow: hidden
}

.theme-template .hero {
    min-height: min(100dvh, 920px);
    padding-top: clamp(88px, 12vw, 148px);
    padding-bottom: clamp(82px, 10vw, 132px)
}

.theme-template .section::before {
    content: "";
    position: absolute;
    pointer-events: none
}

.theme-template .inner {
    position: relative;
    z-index: 1;
    width: min(100%, 820px);
    margin-inline: auto;
    text-align: center
}

.theme-template .eyebrow {
    max-width: 64ch;
    margin: 0 auto;
    color: var(--accent);
    font-size: clamp(.66rem, 2cqi, .78rem);
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: .2em;
    text-transform: uppercase;
    text-wrap: balance
}

.theme-template .muted {
    margin-inline: auto;
    opacity: .76;
    line-height: 1.8;
    text-wrap: pretty
}

.theme-template .section-intro {
    max-width: 62ch;
    margin-top: 18px
}

.theme-template h1,
.theme-template h2,
.theme-template h3 {
    overflow-wrap: anywhere;
    text-wrap: balance
}

.theme-template .hero h1 {
    margin: 28px 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(3rem, 15cqi, 6.5rem);
    font-weight: 600;
    line-height: .88;
    letter-spacing: -.055em
}

.theme-template .hero h1 span {
    display: block;
    margin: .12em 0;
    color: var(--accent);
    font-size: .68em;
    font-style: italic;
    font-weight: 500;
    line-height: .8
}

.theme-template .section>.inner>h2 {
    margin: 18px auto 0;
    font: 600 clamp(2.25rem, 10cqi, 4.6rem)/.98 "Playfair Display", Georgia, serif;
    letter-spacing: -.035em
}

.theme-template .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 24px;
    padding: 12px 21px;
    border: 1px solid var(--accent);
    border-radius: 999px;
    background: var(--accent);
    color: var(--bg);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .22s ease, filter .22s ease
}

.theme-template .button:hover {
    transform: translateY(-2px);
    filter: brightness(1.06)
}

.theme-template .button:active {
    transform: translateY(0) scale(.98)
}

.theme-template .button:focus-visible,
.theme-template .lang a:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--accent) 65%, white);
    outline-offset: 4px
}

.theme-template .photo {
    display: block;
    width: min(100%, 430px);
    aspect-ratio: 4/5;
    margin: 32px auto;
    object-fit: cover;
    object-position: center;
    border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
    border-radius: 48% 48% 18px 18px
}

.theme-template .couple {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 30px;
    width: 100%;
    margin-top: 42px
}

.theme-template .person {
    min-width: 0
}

.theme-template .couple h2 {
    max-width: 13ch;
    margin: 16px auto 8px;
    font: 600 clamp(2.1rem, 10cqi, 4.15rem)/.98 "Playfair Display", Georgia, serif;
    letter-spacing: -.035em
}

.theme-template .person-photo {
    display: block;
    width: min(100%, 270px);
    aspect-ratio: 3/4;
    margin: 0 auto 20px;
    object-fit: cover;
    object-position: center;
    border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
    border-radius: 48% 48% 16px 16px
}

.theme-template .person .muted {
    max-width: 34ch;
    margin-bottom: 0
}

.theme-template .amp {
    color: var(--accent);
    font: italic 3rem/1 "Playfair Display", Georgia, serif
}

.theme-template .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 14px;
    width: 100%;
    margin-top: 32px
}

.theme-template .card {
    min-width: 0;
    padding: 24px;
    text-align: left;
    border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
    border-radius: 20px;
    background: color-mix(in srgb, var(--text) 6%, transparent)
}

.theme-template .card h3 {
    margin: 0 0 12px;
    font: 600 clamp(1.4rem, 6cqi, 1.9rem)/1.08 "Playfair Display", Georgia, serif
}

.theme-template .card p,
.theme-template .card strong,
.theme-template .card small {
    overflow-wrap: anywhere
}

.theme-template .story {
    max-width: 30ch;
    margin: 30px auto 0;
    font: italic clamp(1.35rem, 6cqi, 2.4rem)/1.55 "Playfair Display", Georgia, serif;
    white-space: pre-line
}

.theme-template .gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin-top: 30px
}

.theme-template .gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 18px
}

.theme-template .gallery img:first-child {
    grid-column: 1/-1;
    aspect-ratio: 2/1
}

.theme-template .form {
    display: grid;
    gap: 14px;
    margin-top: 30px;
    text-align: left
}

.theme-template .form label {
    font-size: .85rem;
    font-weight: 700
}

.theme-template .form input,
.theme-template .form select,
.theme-template .form textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 14px;
    border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
    border-radius: 12px;
    background: transparent;
    color: inherit;
    font: inherit
}

.theme-template .form option {
    color: #111
}

.theme-template .check {
    display: flex;
    gap: 10px;
    align-items: flex-start
}

.theme-template .check input {
    width: auto
}

.theme-template .notice {
    padding: 14px;
    border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
    border-radius: 12px
}

.theme-template .lang {
    position: fixed;
    right: 14px;
    top: 14px;
    z-index: 20;
    display: flex;
    gap: 6px
}

.theme-template .lang a {
    padding: 6px 9px;
    border: 1px solid currentColor;
    border-radius: 99px;
    color: inherit;
    background: color-mix(in srgb, var(--bg) 78%, transparent);
    font-size: .72rem;
    text-decoration: none;
    backdrop-filter: blur(10px)
}

.theme-template .preview {
    position: fixed;
    inset: 0 0 auto;
    z-index: 30;
    padding: 9px;
    background: #111;
    color: #fff;
    text-align: center;
    font-size: .78rem
}

.theme-template footer.section {
    min-height: 0;
    padding-block: 86px 110px
}

/* Sunda Priangan — original watercolor scenes: melati, bamboo, Priangan, and saung. */
.theme--sunda {
    --sunda-paper: #f3f0e7;
    --sunda-paper-soft: #fbfaf5;
    --sunda-sage: #70866a;
    --sunda-forest: #294037;
    --sunda-gold: #b49456;
    --sunda-line: color-mix(in srgb, var(--sunda-sage) 34%, transparent);
}

.theme--sunda .theme-stage {
    color: var(--sunda-forest);
    background-color: var(--sunda-paper);
}

.theme--sunda .section {
    isolation: isolate;
    padding-block: clamp(86px, 12vw, 142px);
    background-color: var(--sunda-paper);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.theme--sunda .section::before,
.theme--sunda .section::after {
    content: "";
    position: absolute;
    z-index: -1;
    background-repeat: no-repeat;
    pointer-events: none
}

.theme--sunda .section::before {
    inset: 0;
    background: linear-gradient(180deg, rgba(251, 250, 245, .34), rgba(243, 240, 231, .16));
}

.theme--sunda .section::after {
    display: none;
    width: min(60cqi, 330px);
    aspect-ratio: 1;
    right: min(-18cqi, -60px);
    bottom: -58px;
    background-image: url('/themes/sunda-priangan/ornament-jasmine.webp');
    background-position: right bottom;
    background-size: contain;
    opacity: .72;
}

.theme--sunda .inner {
    width: min(100%, 760px)
}

.theme--sunda .eyebrow {
    color: var(--sunda-gold);
    letter-spacing: .22em
}

.theme--sunda h1,
.theme--sunda h2,
.theme--sunda h3,
.theme--sunda .section>.inner>h2,
.theme--sunda .couple h2,
.theme--sunda .card h3 {
    color: var(--sunda-forest);
    font-family: "Gallery", serif;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1;
    font-weight: 500;
}

.theme--sunda .jj-gate__title {
    color: #ffeebc;
}

.theme--sunda .button {
    border-color: var(--sunda-sage);
    background: var(--sunda-sage);
    color: #fffdf7;
    box-shadow: 0 14px 30px rgba(41, 64, 55, .14);
}

.theme--sunda .hero {
    min-height: 100dvh;
    align-items: end;
    padding-bottom: clamp(110px, 18vw, 180px);
    background-color: #f6f1e7;
    background-image: url('/themes/sunda-priangan/cover-hero.webp');
    background-position: center;
    background-size: cover;
}

.theme--sunda .hero::before {
    background: linear-gradient(180deg, rgba(255, 253, 246, .18), rgba(255, 253, 246, .48) 44%, rgba(243, 240, 231, .1));
}

.theme--sunda .hero .inner {
    display: grid;
    justify-items: center
}

.theme--sunda .hero .eyebrow {
    order: 1;
    margin-bottom: 22px
}

.theme--sunda .hero .photo {
    order: 2;
    width: min(76%, 390px);
    aspect-ratio: 4/5;
    margin: 0 auto;
    border: 1px solid rgba(180, 148, 86, .55);
    border-radius: 50% 50% 22px 22px/25% 25% 22px 22px;
    box-shadow: 0 30px 70px rgba(41, 64, 55, .2), 0 0 0 10px rgba(255, 253, 246, .64);
    filter: saturate(.86) contrast(.98);
}

.theme--sunda .hero h1 {
    order: 3;
    position: relative;
    z-index: 2;
    width: min(100%, 13ch);
    margin: -34px auto 18px;
    padding: 20px 12px 4px;
    color: var(--sunda-forest);
    font-size: clamp(3.35rem, 16cqi, 6.7rem);
    font-weight: 500;
    line-height: .82;
    text-shadow: 0 2px 0 var(--sunda-paper-soft);
}

.theme--sunda .hero h1 span {
    color: var(--sunda-gold);
    font-size: .58em
}

.theme--sunda .hero .inner>p:not(.eyebrow) {
    order: 4;
    margin: 12px 0 0;
    font-weight: 600;
    letter-spacing: .08em
}

.theme--sunda .hero .button {
    order: 5
}

.theme--sunda .couple-section {
    background-color: #f8f5ed;
    background-image: url('/themes/sunda-priangan/section-couple.webp');
    background-position: center top;
}

.theme--sunda .couple-section::before {
    background: linear-gradient(180deg, rgba(255, 253, 247, .3), rgba(255, 253, 247, .08));
}

.theme--sunda .couple {
    gap: clamp(44px, 9cqi, 74px);
    margin-top: 58px
}

.theme--sunda .person {
    position: relative;
    isolation: isolate;
    padding: 28px 16px 36px;
}

.theme--sunda .person::before {
    content: "";
    position: absolute;
    z-index: 2;
    right: 38%;
    top: 33%;
    width: 60%;
    aspect-ratio: 1;
    background: url('/themes/sunda-priangan/ornament-jasmine.webp') right center/contain no-repeat;
    opacity: .92;
    pointer-events: none;
}

.theme--sunda .person--groom::before {
    right: auto;
    left: 38%;
    transform: scaleX(-1)
}

.theme--sunda .person-photo {
    position: relative;
    z-index: 1;
    width: min(78%, 300px);
    aspect-ratio: 3/4;
    margin-bottom: 30px;
    border: 1px solid rgba(180, 148, 86, .52);
    border-radius: 50% 50% 26px 26px/22% 22% 26px 26px;
    box-shadow: 0 24px 55px rgba(41, 64, 55, .17), 0 0 0 8px rgba(255, 255, 255, .55);
}

.theme--sunda .couple h2 {
    max-width: 12ch;
    font-size: clamp(2.4rem, 11cqi, 4.5rem);
    line-height: .92
}

.theme--sunda .person .muted {
    max-width: 30ch
}

.theme--sunda .amp {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    margin-inline: auto;
    border: 1px solid rgba(180, 148, 86, .52);
    border-radius: 50%;
    color: var(--sunda-gold);
    background: rgba(251, 250, 245, .82);
    box-shadow: 0 14px 34px rgba(41, 64, 55, .1);
}

.theme--sunda [data-invitation-section="events"] {
    min-height: min(1180px, 180dvh);
    align-items: start;
    padding-bottom: clamp(300px, 62cqi, 470px);
    color: var(--sunda-forest);
    background-color: #f6f1e7;
    background-image: url('/themes/sunda-priangan/section-events.webp');
    background-position: center bottom;
}

.theme--sunda [data-invitation-section="events"]::before {
    background: linear-gradient(180deg, rgba(255, 253, 247, .14), rgba(255, 253, 247, .42) 62%, rgba(255, 253, 247, .02));
}

.theme--sunda [data-invitation-section="events"] .eyebrow {
    color: #8f7136
}

.theme--sunda [data-invitation-section="events"] .card {
    position: relative;
    padding: 38px 26px 30px;
    border-color: rgba(180, 148, 86, .4);
    border-radius: 50% 50% 18px 18px/14% 14% 18px 18px;
    color: var(--sunda-forest);
    background: rgba(255, 253, 247, .82);
    text-align: center;
    box-shadow: 0 20px 50px rgba(41, 64, 55, .1);
    backdrop-filter: blur(7px);
}

.theme--sunda [data-invitation-section="events"] .card h3 {
    color: var(--sunda-forest)
}

.theme--sunda [data-invitation-section="events"] .button {
    border-color: #d7bd7a;
    background: #d7bd7a;
    color: var(--sunda-forest)
}

.theme--sunda [data-invitation-section="countdown"] {
    min-height: min(78dvh, 720px);
    align-items: start;
    background: #edf0e8;
    background-image: linear-gradient(180deg, rgba(247, 245, 238, .96), rgba(247, 245, 238, .46) 58%, rgba(237, 240, 232, .06)), url('/themes/sunda-priangan/priangan-divider.webp');
    background-position: center, center bottom;
    background-size: auto, auto min(48cqi, 350px);
    background-repeat: no-repeat;
}

.theme--sunda [data-invitation-section="countdown"]::before {
    display: none
}

.theme--sunda [data-invitation-section="countdown"]::after {
    display: none
}

.theme--sunda [data-invitation-section="countdown"] .inner {
    align-self: start;
    margin-top: clamp(26px, 8vw, 80px)
}

.theme--sunda [data-invitation-section="love_story"]::before {
    background-image: linear-gradient(90deg, transparent calc(50% - .5px), rgba(180, 148, 86, .28) 50%, transparent calc(50% + .5px)), linear-gradient(180deg, #faf8f1, #f1eee4);
}

.theme--sunda [data-invitation-section="love_story"]::after {
    display: block;
    left: min(-22cqi, -80px);
    right: auto;
    bottom: -86px;
    transform: scaleX(-1);
    opacity: .24
}

.theme--sunda [data-invitation-section="love_story"] .cards {
    gap: 26px
}

.theme--sunda [data-invitation-section="love_story"] .card {
    border: 0;
    border-radius: 2px 40px 2px 40px;
    background: rgba(255, 255, 255, .64);
    box-shadow: 0 20px 50px rgba(41, 64, 55, .09);
}

.theme--sunda [data-invitation-section="love_story"] .card:nth-child(even) {
    border-radius: 40px 2px 40px 2px
}

.theme--sunda [data-invitation-section="gallery"] {
    background: #e9ece3
}

.theme--sunda [data-invitation-section="gallery"]::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(112, 134, 106, .08));
}

.theme--sunda [data-invitation-section="gallery"]::after {
    display: block;
    opacity: .22
}

.theme--sunda [data-invitation-section="gallery"] .gallery {
    gap: 16px;
    margin-top: 42px
}

.theme--sunda [data-invitation-section="gallery"] .gallery img {
    border: 8px solid rgba(255, 255, 255, .86);
    border-radius: 2px;
    box-shadow: 0 18px 38px rgba(41, 64, 55, .14);
    transform: rotate(-1.6deg);
}

.theme--sunda [data-invitation-section="gallery"] .gallery img:nth-child(even) {
    transform: rotate(1.4deg)
}

.theme--sunda [data-invitation-section="digital_envelope"],
.theme--sunda [data-invitation-section="memory_wall"] {
    color: #f8f4e9;
    background: var(--sunda-sage);
}

.theme--sunda [data-invitation-section="digital_envelope"]::before,
.theme--sunda [data-invitation-section="memory_wall"]::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(21, 48, 38, .18));
}

.theme--sunda [data-invitation-section="digital_envelope"]::after,
.theme--sunda [data-invitation-section="memory_wall"]::after {
    display: block;
    filter: saturate(.72) brightness(1.42);
    opacity: .2
}

.theme--sunda [data-invitation-section="digital_envelope"] .eyebrow,
.theme--sunda [data-invitation-section="memory_wall"] .eyebrow {
    color: #f1ddb0
}

.theme--sunda [data-invitation-section="digital_envelope"] h2,
.theme--sunda [data-invitation-section="memory_wall"] h2 {
    color: #fffaf0
}

.theme--sunda [data-invitation-section="digital_envelope"] .card {
    border-color: rgba(255, 255, 255, .35);
    color: #fffaf0;
    background: rgba(41, 64, 55, .24)
}

.theme--sunda [data-invitation-section="digital_envelope"] .card h3 {
    color: #fffaf0
}

.theme--sunda [data-invitation-section="rsvp_wishes"]::before {
    inset: 22px;
    border: 1px solid rgba(112, 134, 106, .28);
    background: linear-gradient(180deg, rgba(251, 250, 245, .72), rgba(243, 240, 231, .58));
}

.theme--sunda [data-invitation-section="rsvp_wishes"] {
    background-image: url('/themes/sunda-priangan/section-couple.webp');
    background-position: center
}

.theme--sunda [data-invitation-section="rsvp_wishes"]::after {
    display: block;
    right: -22%;
    bottom: -78px;
    opacity: .36
}

.theme--sunda footer.section {
    min-height: min(82dvh, 760px);
    align-items: center;
    color: #fffaf0;
    background-color: var(--sunda-forest);
    background-image: url('/themes/sunda-priangan/footer.webp');
    background-position: center;
    background-size: cover;
}

.theme--sunda footer.section::before {
    background: linear-gradient(180deg, rgba(22, 49, 40, .08), rgba(22, 49, 40, .32));
}

.theme--sunda footer.section::after {
    display: none
}

.theme--sunda footer h2 {
    color: #fffaf0 !important
}

/* Jawa — editorial heritage, deep umber, strong vertical rhythm. */
.theme--jawa .theme-stage {
    background: radial-gradient(circle at 15% 8%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 26%), var(--bg)
}

.theme--jawa .section:nth-child(even) {
    background: color-mix(in srgb, var(--text) 3%, var(--bg))
}

.theme--jawa .section::before {
    inset: 24px;
    border-left: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
    border-right: 1px solid color-mix(in srgb, var(--accent) 22%, transparent)
}

.theme--jawa .hero .inner {
    text-align: left
}

.theme--jawa .hero .eyebrow,
.theme--jawa .hero .muted {
    margin-left: 0;
    text-align: left
}

.theme--jawa .hero .photo {
    width: 100%;
    max-width: none;
    aspect-ratio: 4/5;
    margin: 24px 0 0;
    border-radius: 2px;
    filter: saturate(.82) contrast(1.04)
}

.theme--jawa .hero h1 {
    position: relative;
    width: min(92%, 590px);
    margin: -25% 0 28px;
    padding: 26px 24px 18px;
    background: color-mix(in srgb, var(--bg) 91%, transparent);
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.2rem, 15cqi, 6.2rem);
    box-shadow: 18px 18px 0 color-mix(in srgb, var(--accent) 16%, transparent);
    backdrop-filter: blur(10px)
}

.theme--jawa .hero h1 span {
    display: inline;
    margin-inline: .12em;
    font-size: .62em
}

.theme--jawa .couple-section .inner {
    text-align: left
}

.theme--jawa .couple-section .eyebrow,
.theme--jawa .couple-section .section-intro {
    margin-left: 0;
    text-align: left
}

.theme--jawa .person {
    padding: 22px;
    border-bottom: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
    background: color-mix(in srgb, var(--text) 4%, transparent)
}

.theme--jawa .person-photo {
    width: 100%;
    max-width: none;
    aspect-ratio: 5/6;
    border-radius: 1px
}

.theme--jawa .couple h2 {
    max-width: none;
    margin-left: 0;
    font-family: Georgia, "Times New Roman", serif;
    text-align: left
}

.theme--jawa .person .muted {
    margin-left: 0;
    text-align: left
}

.theme--jawa .amp {
    justify-self: center
}

.theme--jawa .card {
    border-radius: 2px;
    border-color: color-mix(in srgb, var(--accent) 48%, transparent);
    background: transparent
}

.theme--jawa .gallery {
    gap: 4px
}

.theme--jawa .gallery img {
    border-radius: 0
}

/* Floral — airy romantic composition with soft, offset imagery. */
.theme--floral {
    --floral-rust: color-mix(in srgb, var(--accent) 50%, var(--text));
    --floral-surface: color-mix(in srgb, var(--accent) 12%, white);
    --floral-surface-strong: color-mix(in srgb, var(--accent) 20%, white)
}

.theme--floral .theme-stage {
    background: radial-gradient(circle at 12% 12%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 24%), radial-gradient(circle at 92% 42%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 22%), var(--bg)
}

.theme--floral .section::before {
    width: 180px;
    aspect-ratio: 1;
    right: -80px;
    top: 42px;
    border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
    border-radius: 58% 42% 68% 32%/44% 60% 40% 56%;
    transform: rotate(24deg)
}

/* Floral contrast fixes — ensure text is readable on light background */
.theme--floral .hero .photo {
    width: min(82%, 430px);
    border: 10px solid color-mix(in srgb, var(--text) 70%, var(--accent));
    border-radius: 52% 48% 44% 56%/42% 48% 52% 58%;
    box-shadow: 0 30px 70px color-mix(in srgb, var(--accent) 22%, transparent);
    transform: rotate(-2.4deg)
}

.theme--floral .hero h1 {
    position: relative;
    margin-top: -84px;
    color: var(--text);
    text-shadow: 0 2px 0 var(--bg)
}

.theme--floral .hero h1 span {
    font-size: .55em
}

.theme--floral .section-intro {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.1rem;
    font-style: italic
}

.theme--floral .person {
    padding: 22px 20px 28px;
    border-radius: 48% 48% 24px 24px;
    background: color-mix(in srgb, var(--accent) 9%, white)
}

.theme--floral .person--bride {
    transform: rotate(-1.2deg)
}

.theme--floral .person--groom {
    transform: rotate(1.2deg)
}

.theme--floral .person-photo {
    border: 8px solid color-mix(in srgb, var(--text) 85%, var(--accent));
    border-radius: 46% 46% 18px 18px;
    box-shadow: 0 20px 45px color-mix(in srgb, var(--accent) 20%, transparent);
    transition: transform .4s ease, box-shadow .3s ease
}

.theme--floral .person-photo:hover {
    transform: scale(1.03);
    box-shadow: 0 24px 48px color-mix(in srgb, var(--accent) 22%, transparent)
}

.theme--floral .card {
    border: 0;
    background: var(--floral-surface);
    box-shadow: 0 18px 44px color-mix(in srgb, var(--accent) 16%, transparent)
}

/* Rangkaian acara — kartu bertumpuk; kartu pertama dapat bingkai putus-putus + badge. */
.theme--floral [data-invitation-section="events"] .event-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 620px;
    margin-top: 32px
}

.theme--floral .event-card {
    padding: 46px 26px;
    text-align: center;
    border: 0;
    border-radius: 18px;
    background: var(--floral-surface-strong)
}

.theme--floral .event-card--invited {
    padding: 32px 26px 46px;
    border: 2px dashed color-mix(in srgb, var(--accent) 75%, var(--text));
    background: var(--floral-surface)
}

.theme--floral .event-eyebrow {
    display: inline-block;
    margin: 0 0 24px;
    padding: 7px 20px;
    border: 1px solid color-mix(in srgb, var(--accent) 70%, var(--text));
    border-radius: 999px;
    color: var(--floral-rust);
    font-size: .84rem;
    font-weight: 500;
    letter-spacing: .01em
}

.theme--floral .event-title {
    margin: 0 0 16px;
    color: var(--text);
    font: 600 clamp(1.95rem, 8.5cqi, 2.6rem)/1.08 "Playfair Display", Georgia, serif;
    letter-spacing: -.01em
}

.theme--floral .event-date,
.theme--floral .event-time {
    margin: 0 0 8px;
    color: var(--floral-rust);
    font-size: clamp(1rem, 4.6cqi, 1.18rem);
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .01em
}

.theme--floral .event-time {
    margin-bottom: 0
}

.theme--floral .event-venue {
    display: grid;
    gap: 4px;
    margin: 28px 0 0;
    color: var(--text);
    font-size: clamp(.95rem, 4.3cqi, 1.06rem);
    line-height: 1.55
}

.theme--floral .event-venue strong {
    font-weight: 700
}

.theme--floral .event-venue span {
    color: color-mix(in srgb, var(--text) 90%, transparent);
    font-weight: 400
}

.theme--floral .event-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 32px
}

.theme--floral .event-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 158px;
    min-height: 54px;
    padding: 14px 28px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--floral-rust);
    box-shadow: 0 12px 30px color-mix(in srgb, var(--text) 12%, transparent);
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform .22s ease, box-shadow .22s ease
}

.theme--floral .event-btn:hover,
.theme--floral .event-btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px color-mix(in srgb, var(--text) 18%, transparent)
}

/* Galeri — strip thumbnail yang bisa digeser + foto besar berbingkai sudut. */
.theme--floral .gallery-title {
    margin-bottom: 6px;
    color: var(--text);
    font: 600 clamp(1.95rem, 8.5cqi, 2.6rem)/1.08 "Playfair Display", Georgia, serif;
    letter-spacing: -.01em
}

.theme--floral .gallery-wrap {
    width: 100%;
    margin-top: 24px
}

.theme--floral .gallery-strip {
    display: flex;
    gap: 14px;
    margin-bottom: 30px;
    padding: 6px 4px 14px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none
}

.theme--floral .gallery-strip::-webkit-scrollbar {
    display: none
}

.theme--floral .gallery-thumb {
    flex: 0 0 auto;
    width: min(46%, 208px);
    padding: 0;
    border: 6px solid #fff;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 14px 32px color-mix(in srgb, var(--text) 12%, transparent);
    scroll-snap-align: start;
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease
}

.theme--floral .gallery-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center
}

.theme--floral .gallery-thumb:hover,
.theme--floral .gallery-thumb.is-active {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px color-mix(in srgb, var(--text) 18%, transparent)
}

.theme--floral .gallery-hero {
    position: relative;
    width: min(100%, 620px);
    margin: 0 auto;
    padding: 10px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 28px 62px color-mix(in srgb, var(--text) 14%, transparent)
}

.theme--floral .gallery-hero-img {
    display: block;
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: center;
    border-radius: 2px
}

.theme--floral .frame-corner {
    position: absolute;
    width: 34px;
    height: 34px;
    border: 2px solid color-mix(in srgb, var(--accent) 70%, var(--text))
}

.theme--floral .frame-corner.tl {
    top: -9px;
    left: -9px;
    border-right: 0;
    border-bottom: 0
}

.theme--floral .frame-corner.tr {
    top: -9px;
    right: -9px;
    border-left: 0;
    border-bottom: 0
}

.theme--floral .frame-corner.bl {
    bottom: -9px;
    left: -9px;
    border-right: 0;
    border-top: 0
}

.theme--floral .frame-corner.br {
    bottom: -9px;
    right: -9px;
    border-left: 0;
    border-top: 0
}

/* Cerita kami — satu kartu per momen, dengan navigasi geser. */
.theme--floral .story-title {
    margin-bottom: 8px;
    color: var(--text);
    font: 600 clamp(1.95rem, 8.5cqi, 2.6rem)/1.08 "Playfair Display", Georgia, serif;
    letter-spacing: -.01em
}

.theme--floral .story-wrap {
    width: 100%;
    max-width: 620px;
    margin: 24px auto 0
}

.theme--floral .story-card {
    padding: 40px 28px;
    text-align: center;
    border: 2px dashed color-mix(in srgb, var(--accent) 60%, var(--text));
    border-radius: 18px;
    background: var(--floral-surface)
}

.theme--floral .story-card.is-hidden {
    display: none
}

.theme--floral .story-date {
    display: block;
    margin-bottom: 12px;
    color: var(--floral-rust);
    font-size: .92rem;
    font-weight: 600;
    letter-spacing: .02em
}

.theme--floral .story-card h3 {
    margin: 0 0 14px;
    color: var(--text);
    font: 600 clamp(1.6rem, 7cqi, 2rem)/1.15 "Playfair Display", Georgia, serif
}

.theme--floral .story-card p {
    max-width: 44ch;
    margin-inline: auto;
    color: color-mix(in srgb, var(--text) 88%, transparent);
    font-size: .98rem;
    line-height: 1.8
}

.theme--floral .story-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 26px
}

.theme--floral .story-nav-btn {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid color-mix(in srgb, var(--accent) 50%, var(--text));
    border-radius: 50%;
    background: #fff;
    color: var(--floral-rust);
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color .22s ease, color .22s ease
}

.theme--floral .story-nav-btn:hover,
.theme--floral .story-nav-btn:focus-visible {
    background: var(--floral-rust);
    color: #fff
}

.theme--floral .story-counter {
    color: var(--floral-rust);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .08em
}

/* Mempelai — foto gaya polaroid dengan sedikit kemiringan. */
.theme--floral .couple-section {
    background: var(--floral-surface)
}

.theme--floral .amp {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 6px auto;
    border: 1px solid color-mix(in srgb, var(--accent) 50%, var(--text));
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent) 10%, white);
    color: var(--floral-rust);
    font: italic 2.4rem/1 "Playfair Display", Georgia, serif
}

/* Modern — Swiss-inspired grid, square geometry, left-aligned typography. */
.theme--modern .theme-stage {
    background: var(--bg);
    font-family: "DM Sans", system-ui, sans-serif
}

.theme--modern .section {
    border-bottom: 1px solid color-mix(in srgb, var(--text) 22%, transparent)
}

.theme--modern .section::before {
    inset: 0 auto 0 28px;
    width: 1px;
    background: color-mix(in srgb, var(--accent) 30%, transparent)
}

.theme--modern .inner {
    text-align: left
}

.theme--modern .eyebrow,
.theme--modern .muted {
    margin-left: 0;
    text-align: left
}

.theme--modern .eyebrow {
    letter-spacing: .12em
}

.theme--modern .hero {
    align-items: end
}

.theme--modern .hero .photo {
    width: 100%;
    max-width: none;
    aspect-ratio: 16/11;
    margin: 28px 0 0;
    border: 0;
    border-radius: 0;
    filter: grayscale(1) contrast(1.08)
}

.theme--modern .hero h1 {
    position: relative;
    margin: -46px 0 24px;
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: clamp(3rem, 17cqi, 7.2rem);
    font-weight: 700;
    line-height: .78;
    letter-spacing: -.075em;
    text-transform: uppercase
}

.theme--modern .hero h1 span {
    display: inline;
    margin: 0 .12em;
    padding: .02em .14em;
    background: var(--accent);
    color: var(--bg);
    font-family: "Playfair Display", Georgia, serif;
    font-size: .46em
}

.theme--modern .section>.inner>h2,
.theme--modern .couple h2,
.theme--modern .card h3 {
    font-family: "DM Sans", system-ui, sans-serif;
    font-style: normal
}

.theme--modern .couple {
    gap: 16px
}

.theme--modern .person {
    padding: 0 0 22px;
    border-bottom: 4px solid var(--accent)
}

.theme--modern .person-photo {
    width: 100%;
    max-width: none;
    aspect-ratio: 4/3;
    border: 0;
    border-radius: 0;
    filter: grayscale(.65)
}

.theme--modern .couple h2 {
    max-width: none;
    margin-left: 0;
    font-size: clamp(2rem, 9cqi, 4rem);
    text-align: left
}

.theme--modern .person .muted {
    margin-left: 0;
    text-align: left
}

.theme--modern .amp {
    justify-self: start;
    font-family: "DM Sans", sans-serif;
    font-style: normal
}

.theme--modern .cards {
    gap: 1px;
    background: color-mix(in srgb, var(--text) 28%, transparent)
}

.theme--modern .card {
    border: 0;
    border-radius: 0;
    background: var(--bg)
}

.theme--modern .button {
    border-radius: 0
}

.theme--modern .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px
}

.theme--modern .gallery img,
.theme--modern .gallery img:first-child {
    grid-column: auto;
    aspect-ratio: 3/4;
    border-radius: 0;
    filter: grayscale(.45)
}

/* Islami — centered arch language with restrained geometric ornament. */
.theme--islami .theme-stage {
    background: radial-gradient(circle at 50% -8%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 30%), var(--bg)
}

.theme--islami .section::before {
    left: 50%;
    top: 34px;
    width: min(76%, 460px);
    height: calc(100% - 68px);
    border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
    border-bottom: 0;
    border-radius: 50% 50% 0 0/18% 18% 0 0;
    transform: translateX(-50%)
}

.theme--islami .hero .inner::before {
    content: "✦";
    display: block;
    margin-bottom: 20px;
    color: var(--accent);
    font-size: 1.15rem
}

.theme--islami .hero .photo {
    width: min(78%, 390px);
    border: 6px double color-mix(in srgb, var(--accent) 62%, transparent);
    border-radius: 50% 50% 12px 12px/24% 24% 12px 12px;
    box-shadow: 0 28px 70px color-mix(in srgb, #000 28%, transparent)
}

.theme--islami .hero h1 {
    font-family: "Palatino Linotype", Palatino, Georgia, serif;
    font-weight: 400;
    letter-spacing: -.035em
}

.theme--islami .hero h1 span {
    font-family: "Playfair Display", Georgia, serif
}

.theme--islami .eyebrow {
    max-width: 50ch
}

.theme--islami .section-intro {
    max-width: 52ch
}

.theme--islami .person {
    padding: 26px 20px;
    border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
    border-radius: 50% 50% 18px 18px/16% 16% 18px 18px;
    background: color-mix(in srgb, var(--text) 4%, transparent)
}

.theme--islami .person-photo {
    border-radius: 50% 50% 10px 10px/24% 24% 10px 10px
}

.theme--islami .couple h2,
.theme--islami .card h3,
.theme--islami .section>.inner>h2 {
    font-family: "Palatino Linotype", Palatino, Georgia, serif;
    font-weight: 400
}

.theme--islami .card {
    border-radius: 50% 50% 16px 16px/18% 18% 16px 16px;
    background: color-mix(in srgb, var(--text) 4%, transparent);
    text-align: center
}

.theme--islami .gallery img {
    border-radius: 50% 50% 12px 12px/16% 16% 12px 12px
}

@container invitation-stage (min-width:720px) {
    .theme-template .couple {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: clamp(24px, 5cqi, 58px)
    }

    .theme--sunda .couple {
        align-items: start
    }

    .theme--sunda .person {
        padding-inline: 8px
    }

    .theme--sunda .person-photo {
        width: 100%
    }

    .theme--sunda .couple h2 {
        font-size: clamp(2rem, 5cqi, 3.6rem)
    }

    .theme--jawa .couple h2,
    .theme--jawa .person .muted,
    .theme--modern .couple h2,
    .theme--modern .person .muted {
        margin-inline: auto;
        text-align: center
    }

    .theme--jawa .amp,
    .theme--modern .amp {
        justify-self: center
    }

    .theme--modern .gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }
}

@media(min-width:1025px) {
    .theme-template .jj-shell-cover__names span {
        max-width: 100%;
        overflow-wrap: anywhere
    }

    .theme--sunda .jj-shell-cover {
        align-items: flex-end;
        padding: clamp(54px, 7vw, 112px);
        background: #294037
    }

    .theme--sunda .jj-shell-cover::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        mix-blend-mode: soft-light;
        opacity: .48;
        pointer-events: none
    }

    .theme--sunda .jj-shell-cover__image {
        filter: saturate(.74) contrast(.96)
    }

    .theme--sunda .jj-shell-cover__scrim {
        background: linear-gradient(90deg, rgba(26, 48, 39, .83), rgba(26, 48, 39, .22) 68%, rgba(26, 48, 39, .48))
    }

    .theme--sunda .jj-shell-cover__copy {
        position: relative;
        z-index: 1;
        max-width: min(680px, 72%);
        padding: 87px 36px 38px;
        border: 1px solid rgba(234, 215, 165, .48);
        border-radius: 0px 97px 14px 45px;
        background: rgba(41, 64, 55, .52);
        box-shadow: 0 30px 80px rgba(12, 28, 22, .26);
        backdrop-filter: blur(8px)
    }

    .theme--sunda .jj-shell-cover__copy::after {
        content: "";
        position: absolute;
        right: 163px;
        bottom: -57px;
        width: 300px;
        aspect-ratio: 1;
        background: url('/themes/sunda-priangan/ornament-jasmine.webp') right bottom/contain no-repeat;
        filter: saturate(.82) brightness(1.16);
        opacity: .86;
        pointer-events: none
    }

    .theme--sunda .jj-shell-cover__kicker {
        margin-bottom: 28px;
        color: #ead7a5
    }

    .theme--sunda .jj-shell-cover__names {
        color: #fff8e8;
        font-family: "Gallery", serif;
        font-size: clamp(4rem, 3vw, 2.6rem);
        font-weight: 500;
        line-height: .78
    }

    .theme--sunda .jj-shell-cover__names i {
        color: #d9bd76
    }

    .theme--sunda .jj-shell-cover__date,
    .theme--sunda .jj-shell-cover__tagline {
        margin-top: 30px;
        color: #f3e4bd
    }

    .theme--jawa .jj-shell-cover {
        align-items: flex-end;
        padding: clamp(54px, 7vw, 110px)
    }

    .theme--jawa .jj-shell-cover__image {
        filter: saturate(.82) contrast(1.06)
    }

    .theme--jawa .jj-shell-cover__copy {
        max-width: min(690px, 82%);
        padding: 26px 30px 30px;
        border-left: 3px solid var(--jj-shell-accent);
        background: color-mix(in srgb, var(--jj-shell-bg) 72%, transparent);
        backdrop-filter: blur(10px)
    }

    .theme--jawa .jj-shell-cover__kicker {
        margin-bottom: 22px
    }

    .theme--jawa .jj-shell-cover__names {
        font-family: Georgia, "Times New Roman", serif;
        font-size: clamp(4rem, 6.2vw, 7.8rem);
        line-height: .78
    }

    .theme--jawa .jj-shell-cover__date,
    .theme--jawa .jj-shell-cover__tagline {
        margin-top: 28px
    }

    .theme--floral .jj-shell-cover {
        display: grid;
        place-items: center;
        padding: clamp(54px, 7vw, 118px);
        text-align: center;
        color: #fff;
        background: #3a2418
    }

    .theme--floral .jj-shell-cover__image {
        filter: saturate(.7) contrast(.98) brightness(.96)
    }

    .theme--floral .jj-shell-cover__scrim {
        background: color-mix(in srgb, var(--jj-shell-accent) 55%, #2b1a12);
        opacity: .74
    }

    .theme--floral .jj-shell-cover__copy {
        position: relative;
        z-index: 1;
        max-width: min(760px, 88%);
        color: #fff
    }

    .theme--floral .jj-shell-cover__copy::before {
        content: "";
        position: absolute;
        inset: -14% -18%;
        z-index: -1;
        pointer-events: none;
        background: radial-gradient(ellipse 72% 58% at 50% 50%, rgba(38, 22, 14, .42), rgba(38, 22, 14, 0) 70%);
        filter: blur(22px)
    }

    .theme--floral .jj-shell-cover__kicker {
        margin: 0 0 clamp(16px, 2.2vw, 28px);
        color: rgba(255, 255, 255, .95);
        font: 500 clamp(.72rem, .9vw, .84rem)/1.4 "DM Sans", system-ui, sans-serif;
        letter-spacing: .34em;
        text-shadow: 0 1px 14px rgba(43, 26, 18, .5);
        text-transform: uppercase
    }

    .theme--floral .jj-shell-cover__names {
        display: block;
        color: #fff;
        font-family: "Great Vibes", "Gallery", cursive;
        font-size: clamp(3.6rem, 5.6vw, 6.6rem);
        font-weight: 400;
        line-height: 1.06;
        letter-spacing: .01em;
        text-shadow: 0 3px 26px rgba(43, 26, 18, .42)
    }

    .theme--floral .jj-shell-cover__names span,
    .theme--floral .jj-shell-cover__names i {
        display: inline
    }

    .theme--floral .jj-shell-cover__names i {
        margin: 0 .14em;
        font-size: .68em;
        font-weight: 400
    }

    .theme--floral .jj-shell-cover__date {
        margin: clamp(18px, 2.4vw, 32px) 0 0;
        color: rgba(255, 255, 255, .96);
        font-family: "Playfair Display", Georgia, serif;
        font-size: clamp(.84rem, 1.05vw, 1.04rem);
        font-weight: 600;
        line-height: 1.6;
        letter-spacing: .26em;
        text-shadow: 0 1px 14px rgba(43, 26, 18, .5);
        text-transform: uppercase
    }

    .theme--modern .jj-shell-cover {
        align-items: flex-end;
        padding: 42px;
        background: #0a0a0a
    }

    .theme--modern .jj-shell-cover__image {
        filter: grayscale(1) contrast(1.1)
    }

    .theme--modern .jj-shell-cover__scrim {
        background: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .8))
    }

    .theme--modern .jj-shell-cover__copy {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        max-width: none;
        width: 100%;
        gap: 24px
    }

    .theme--modern .jj-shell-cover__kicker {
        grid-column: 1/-1;
        margin: 0;
        color: #e8e0d0
    }

    .theme--modern .jj-shell-cover__names {
        font-family: "DM Sans", system-ui, sans-serif;
        font-size: clamp(4rem, 6.5vw, 8rem);
        font-weight: 700;
        line-height: .72;
        text-transform: uppercase
    }

    .theme--modern .jj-shell-cover__names i {
        display: inline-block;
        width: max-content;
        padding: .1em .22em;
        background: #e8e0d0;
        color: #0a0a0a;
        font-family: "Playfair Display", serif
    }

    .theme--modern .jj-shell-cover__date {
        margin: 0 0 4px;
        writing-mode: vertical-rl
    }

    .theme--modern .jj-shell-cover__tagline {
        display: none
    }

    .theme--islami .jj-shell-cover {
        justify-content: center;
        text-align: center
    }

    .theme--islami .jj-shell-cover__scrim {
        background: linear-gradient(180deg, rgba(5, 28, 24, .44), rgba(5, 28, 24, .82))
    }

    .theme--islami .jj-shell-cover__copy {
        max-width: min(620px, 72%);
        padding: 64px 38px 54px;
        border: 1px solid color-mix(in srgb, var(--jj-shell-accent) 55%, transparent);
        border-bottom: 0;
        border-radius: 50% 50% 0 0/18% 18% 0 0;
        background: color-mix(in srgb, var(--jj-shell-bg) 62%, transparent);
        backdrop-filter: blur(8px)
    }

    .theme--islami .jj-shell-cover__kicker {
        margin-bottom: 32px
    }

    .theme--islami .jj-shell-cover__names {
        font-family: "Palatino Linotype", Palatino, Georgia, serif;
        font-size: clamp(4rem, 6vw, 7.4rem);
        font-weight: 400;
        line-height: .82
    }

    .theme--islami .jj-shell-cover__date,
    .theme--islami .jj-shell-cover__tagline {
        margin-top: 32px
    }
}

@media(max-width:600px) {
    .theme-template .section {
        padding: 68px 18px
    }

    .theme-template .hero {
        min-height: 100dvh;
        padding-top: 90px;
        padding-bottom: 76px
    }

    .theme-template .lang {
        top: 10px;
        right: 10px
    }

    .theme--sunda .section {
        padding: 82px 18px 96px
    }

    .theme--sunda .hero {
        padding-top: 92px;
        padding-bottom: 126px
    }

    .theme--sunda .hero .photo {
        width: 82%
    }

    .theme--sunda .person::before {
        right: 27%;
        top: 29%;
        width: 70%
    }

    .theme--sunda .person--groom::before {
        right: auto;
        left: 27%
    }

    .theme--sunda [data-invitation-section="events"] {
        min-height: 1160px;
        padding-bottom: 310px;
        background-size: auto 100%;
    }

    .theme--sunda [data-invitation-section="countdown"] {
        background-size: auto, auto 250px
    }

    .theme--jawa .section::before {
        inset: 14px
    }

    .theme--jawa .hero h1 {
        margin-top: -28%;
        padding: 20px 16px 14px
    }

    .theme--floral .hero h1 {
        margin-top: -62px
    }

    .theme--modern .section::before {
        left: 14px
    }

    .theme--modern .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .theme--modern .gallery img:first-child {
        grid-column: 1/-1;
        aspect-ratio: 2/1
    }

    .theme--islami .section::before {
        width: calc(100% - 30px)
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .theme-template .button {
        transition: none
    }
}