/* Senja Pantai (Seri Elegant). Layout in ../seri.css; this file holds the palette, type and art.
   Painted WebP layers in img/ (owner art, prompts in design-system/seri-elegant-immersive.md); SVG/CSS fills the rest. Generated by design-system/seri-src/gen_themes.py. */
@font-face { font-family: "Italiana"; src: url("/frontend/assets/fonts/italiana-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Mulish"; src: url("/frontend/assets/fonts/mulish-latin.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }

:root[data-theme="pantai"] {
    --bg: #f8efe3; --surface: #fffaf3; --ink: #273743; --muted: #52636e; --accent: #2c6973; --accent-ink: #ffffff; --line: #e3d3bd;
    --heading: "Italiana", Didot, serif; --body: "Mulish", system-ui, sans-serif;
    --sr-panel: rgba(255, 250, 243, .9); --sr-panel-line: #ecdcc5; --sr-panel-radius: 2rem; --sr-halo: 248, 239, 227;
    --sr-sky: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 160' preserveAspectRatio='none'%3E%3Cpath d='M0 60 C60 40 120 80 200 60 S340 40 400 60 V160 H0z' fill='%2391c3c4' fill-opacity='.55'/%3E%3Cpath d='M0 95 C70 75 140 110 210 92 S340 78 400 95 V160 H0z' fill='%235f9ea6' fill-opacity='.55'/%3E%3Cpath d='M0 125 C80 112 150 138 220 124 S350 112 400 126 V160 H0z' fill='%23efe3cf'/%3E%3Cpath d='M0 125 C80 112 150 138 220 124 S350 112 400 126' fill='none' stroke='%23ffffff' stroke-width='3' stroke-opacity='.9'/%3E%3C/svg%3E") center bottom / 100% 34% no-repeat, linear-gradient(180deg, #f6c9a8 0%, #f8dcc0 30%, #f8efe3 62%);
    --sr-gate-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 160' preserveAspectRatio='none'%3E%3Cpath d='M0 60 C60 40 120 80 200 60 S340 40 400 60 V160 H0z' fill='%2391c3c4' fill-opacity='.55'/%3E%3Cpath d='M0 95 C70 75 140 110 210 92 S340 78 400 95 V160 H0z' fill='%235f9ea6' fill-opacity='.55'/%3E%3Cpath d='M0 125 C80 112 150 138 220 124 S350 112 400 126 V160 H0z' fill='%23efe3cf'/%3E%3Cpath d='M0 125 C80 112 150 138 220 124 S350 112 400 126' fill='none' stroke='%23ffffff' stroke-width='3' stroke-opacity='.9'/%3E%3C/svg%3E") center bottom / 100% 60% no-repeat, linear-gradient(#f6c9a8, #f8efe3); --sr-gate-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 160' preserveAspectRatio='none'%3E%3Cpath d='M0 60 C60 40 120 80 200 60 S340 40 400 60 V160 H0z' fill='%2391c3c4' fill-opacity='.55'/%3E%3Cpath d='M0 95 C70 75 140 110 210 92 S340 78 400 95 V160 H0z' fill='%235f9ea6' fill-opacity='.55'/%3E%3Cpath d='M0 125 C80 112 150 138 220 124 S350 112 400 126 V160 H0z' fill='%23efe3cf'/%3E%3Cpath d='M0 125 C80 112 150 138 220 124 S350 112 400 126' fill='none' stroke='%23ffffff' stroke-width='3' stroke-opacity='.9'/%3E%3C/svg%3E") center bottom / 100% 60% no-repeat, linear-gradient(#f6c9a8, #f8efe3);
    --sr-veil: #f8efe3; --sr-rule: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 34 L6 16 A16 16 0 0 1 34 16 Z'/%3E%3C/svg%3E");
    --sr-frame-radius: 2rem; --sr-frame-ring: 0 0 0 6px #fffaf3, 0 18px 40px -20px rgba(39, 55, 67, .45);
    --sr-spark: rgba(255, 255, 255, .85); --sr-spark-size: 7px;
}
:root[data-theme="pantai"][data-scheme="dark"] {
    color-scheme: dark;
    --bg: #13242d; --surface: #1b313b; --ink: #f4eadb; --muted: #c2cdd0; --accent: #8fd0d6; --accent-ink: #13242d; --line: #2f4a55;
    --sr-panel: rgba(27, 49, 59, .92); --sr-panel-line: #2f4a55; --sr-halo: 19, 36, 45; --sr-veil: #13242d;
    --sr-sky: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 160' preserveAspectRatio='none'%3E%3Cpath d='M0 60 C60 40 120 80 200 60 S340 40 400 60 V160 H0z' fill='%2391c3c4' fill-opacity='.55'/%3E%3Cpath d='M0 95 C70 75 140 110 210 92 S340 78 400 95 V160 H0z' fill='%235f9ea6' fill-opacity='.55'/%3E%3Cpath d='M0 125 C80 112 150 138 220 124 S350 112 400 126 V160 H0z' fill='%231d3a45'/%3E%3Cpath d='M0 125 C80 112 150 138 220 124 S350 112 400 126' fill='none' stroke='%23ffffff' stroke-width='3' stroke-opacity='.9'/%3E%3C/svg%3E") center bottom / 100% 34% no-repeat, linear-gradient(180deg, #2a3557 0%, #23384a 40%, #13242d 70%);
}
.sr-names, .sr-title, .sr-opening-title { letter-spacing: .02em; }
.sr-kicker { font-weight: 800; }
.sr-elegant .sr-layer-sky { animation: sr-tide 9s ease-in-out infinite alternate; }
@keyframes sr-tide { to { background-position: center calc(100% + 6px), 0 0; } }
/* Painted layers (owner art, 19 Nov 2026). */
:root[data-theme="pantai"] {
    --sr-sky: url("/frontend/themes/wedding/pantai/img/waves.webp") center bottom / max(150%, 60rem) auto no-repeat, linear-gradient(rgba(248, 239, 227, .35), rgba(248, 239, 227, .55)), url("/frontend/themes/wedding/pantai/img/sky.webp") center top / cover no-repeat;
    --sr-gate-l: url("/frontend/themes/wedding/pantai/img/waves.webp") left bottom / 200vw auto no-repeat, url("/frontend/themes/wedding/pantai/img/sky.webp") left center / 200vw auto no-repeat, #f6c9a8;
    --sr-gate-r: url("/frontend/themes/wedding/pantai/img/waves.webp") right bottom / 200vw auto no-repeat, url("/frontend/themes/wedding/pantai/img/sky.webp") right center / 200vw auto no-repeat, #f6c9a8;
}
:root[data-theme="pantai"][data-scheme="dark"] {
    --sr-sky: url("/frontend/themes/wedding/pantai/img/waves.webp") center bottom / max(150%, 60rem) auto no-repeat, linear-gradient(rgba(19, 36, 45, .78), rgba(19, 36, 45, .88)), url("/frontend/themes/wedding/pantai/img/sky.webp") center top / cover no-repeat;
}


/* Tema Fase 5 (4 Dec 2026): the cover card's own ornament, a line of waves. */
.sr-opening-card::before { content: ""; display: block; width: 6.5rem; height: 1.4rem; margin-bottom: .6rem; background: var(--accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 22'%3E%3Cpath d='M2 9c6-6 12-6 18 0s12 6 18 0 12-6 18 0 12 6 18 0 12-6 18 0' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M14 17c6-5 12-5 18 0s12 5 18 0 12-5 18 0 12 5 18 0' fill='none' stroke='%23000' stroke-opacity='.5' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 22'%3E%3Cpath d='M2 9c6-6 12-6 18 0s12 6 18 0 12-6 18 0 12 6 18 0 12-6 18 0' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M14 17c6-5 12-5 18 0s12 5 18 0 12-5 18 0 12 5 18 0' fill='none' stroke='%23000' stroke-opacity='.5' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
