/* Di Atas Awan (Seri Immersive). 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: "Tenor Sans"; src: url("/frontend/assets/fonts/tenor-sans-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="awan"] {
    --bg: #f4ecf0; --surface: #ffffff; --ink: #1f2c45; --muted: #4a5770; --accent: #3a5888; --accent-ink: #ffffff; --line: #d8dbe6;
    --heading: "Tenor Sans", system-ui, sans-serif; --body: "Mulish", system-ui, sans-serif;
    --sr-panel: rgba(255, 255, 255, .78); --sr-panel-line: rgba(58, 88, 136, .2); --sr-panel-radius: 1.75rem; --sr-halo: 255, 246, 240;
    --sr-sky: radial-gradient(22% 14% at 50% 46%, #fff6dc, rgba(255, 214, 160, .7) 45%, transparent 75%), linear-gradient(180deg, #8fb2de 0%, #c9c3e3 30%, #f6c6bd 52%, #fde0bf 62%, #f4ecf0 80%);
    --sr-far: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath d='M0 140 L60 110 L110 60 L140 80 L190 30 L240 90 L290 70 L340 105 L400 95 V200 H0z' fill='%23748bb3' fill-opacity='.7'/%3E%3C/svg%3E") center 60% / 100% 26% no-repeat;
    --sr-mid: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0)) 10% 72% / 60% 20% no-repeat, radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0)) 70% 70% / 70% 22% no-repeat, radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0)) 40% 80% / 90% 22% no-repeat, linear-gradient(180deg, transparent 62%, rgba(255, 255, 255, .9) 78%, #ffffff 100%);
    --sr-near: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='xMidYMax slice'%3E%3Cpath d='M0 200 V170 C60 160 90 140 140 145 C190 150 210 132 260 136 C320 140 350 160 400 165 V200z' fill='%23515a6e'/%3E%3Cpath d='M0 200 V180 C80 172 130 160 200 162 C270 164 330 176 400 178 V200z' fill='%233a4255'/%3E%3C/svg%3E") center bottom / 100% 34% no-repeat;
    --sr-front: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0)) -10% 92% / 70% 26% no-repeat, radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0)) 115% 96% / 70% 24% no-repeat;
    --sr-gate-l: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0)) 80% 40% / 140% 60% no-repeat, radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0)) 60% 80% / 140% 50% no-repeat, linear-gradient(180deg, #c9c3e3, #fde0bf);
    --sr-gate-r: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0)) 20% 50% / 140% 60% no-repeat, radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0)) 40% 85% / 140% 50% no-repeat, linear-gradient(180deg, #c9c3e3, #fde0bf);
    --sr-veil: transparent; --sr-rule: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 24'%3E%3Cpath d='M2 22 L16 6 L24 14 L30 8 L46 22z'/%3E%3C/svg%3E");
    --sr-frame-radius: 1.75rem; --sr-frame-ring: 0 0 0 6px rgba(255, 255, 255, .85), 0 20px 40px -20px rgba(31, 44, 69, .45);
    --sr-spark: rgba(255, 255, 255, .7); --sr-spark-size: 5px;
}
:root[data-theme="awan"][data-scheme="dark"] {
    color-scheme: dark;
    --bg: #121a2e; --surface: #1b2540; --ink: #eef1f8; --muted: #b8c2d8; --accent: #a9c2ec; --accent-ink: #121a2e; --line: #2d3a5c;
    --sr-panel: rgba(27, 37, 64, .8); --sr-panel-line: rgba(169, 194, 236, .25); --sr-halo: 18, 26, 46;
    --sr-sky: radial-gradient(1.2px 1.2px at 20% 15%, #fff, transparent), radial-gradient(1px 1px at 65% 10%, #fff, transparent), radial-gradient(1.4px 1.4px at 85% 25%, #fff, transparent), linear-gradient(180deg, #0b1124 0%, #1c2547 50%, #3b3f6b 75%, #121a2e 100%);
}
.sr-names, .sr-title, .sr-opening-title { letter-spacing: .04em; }
.sr-immersive .sr-layer-front { animation: sr-drift-cloud 26s ease-in-out infinite alternate; }
@keyframes sr-drift-cloud { to { background-position: 5% 92%, 100% 96%; } }
/* Painted layers (owner art, 19 Nov 2026). */
:root[data-theme="awan"] {
    --sr-far: url("/frontend/themes/wedding/awan/img/peaks.webp") center 56% / max(120%, 48rem) auto no-repeat;
    --sr-mid: url("/frontend/themes/wedding/awan/img/clouds.webp") center 80% / max(170%, 64rem) auto no-repeat, linear-gradient(180deg, transparent 70%, rgba(255, 255, 255, .85) 88%, #ffffff 100%);
    --sr-near: url("/frontend/themes/wedding/awan/img/summit.webp") center bottom / max(130%, 50rem) auto no-repeat;
    --sr-front: url("/frontend/themes/wedding/awan/img/clouds.webp") -30% 104% / max(90%, 34rem) auto no-repeat, url("/frontend/themes/wedding/awan/img/clouds.webp") 130% 108% / max(90%, 34rem) auto no-repeat;
    --sr-gate-l: url("/frontend/themes/wedding/awan/img/clouds.webp") right 40% / 240% auto no-repeat, url("/frontend/themes/wedding/awan/img/clouds.webp") right 85% / 260% auto no-repeat, linear-gradient(180deg, #c9c3e3, #fde0bf);
    --sr-gate-r: url("/frontend/themes/wedding/awan/img/clouds.webp") left 55% / 240% auto no-repeat, url("/frontend/themes/wedding/awan/img/clouds.webp") left 90% / 260% auto no-repeat, linear-gradient(180deg, #c9c3e3, #fde0bf);
}
:root[data-theme="awan"][data-scheme="dark"] {
    
}


/* Tema Fase 5 (4 Dec 2026): the cover card's own ornament, a cloud under a crescent moon. */
.sr-opening-card::before { content: ""; display: block; width: 6.5rem; height: 2.6rem; 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 40'%3E%3Cpath d='M18 36h58a10 10 0 0 0 1-20 14 14 0 0 0-27-5 11 11 0 0 0-19 7 9 9 0 0 0-13 18z'/%3E%3Cpath d='M84 2a9 9 0 1 0 8 13A7.5 7.5 0 0 1 84 2z'/%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 40'%3E%3Cpath d='M18 36h58a10 10 0 0 0 1-20 14 14 0 0 0-27-5 11 11 0 0 0-19 7 9 9 0 0 0-13 18z'/%3E%3Cpath d='M84 2a9 9 0 1 0 8 13A7.5 7.5 0 0 1 84 2z'/%3E%3C/svg%3E") center / contain no-repeat; }
