/* Sogan (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: "Cormorant Garamond"; src: url("/frontend/assets/fonts/cormorant-garamond-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("/frontend/assets/fonts/lora-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("/frontend/assets/fonts/lora-italic-latin.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root[data-theme="sogan"] {
    --bg: #f4eadb; --surface: #fbf5ea; --ink: #3a2415; --muted: #6a4a33; --accent: #8a4b22; --accent-ink: #fffaf1; --line: #dcc6a6;
    --heading: "Cormorant Garamond", Georgia, serif; --body: "Lora", Georgia, serif;
    --sr-panel: #fbf5ea; --sr-panel-line: #d6bb93; --sr-panel-radius: .35rem; --sr-button-radius: .35rem; --sr-halo: 244, 234, 219;
    --sr-sky: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='%238a4b22' fill-opacity='.08'%3E%3Cellipse cx='20' cy='9' rx='5' ry='8'/%3E%3Cellipse cx='20' cy='31' rx='5' ry='8'/%3E%3Cellipse cx='9' cy='20' rx='8' ry='5'/%3E%3Cellipse cx='31' cy='20' rx='8' ry='5'/%3E%3C/g%3E%3Ccircle cx='20' cy='20' r='1.6' fill='%238a4b22' fill-opacity='.12'/%3E%3C/svg%3E") 0 0 / 56px 56px repeat, linear-gradient(#f4eadb, #efe1cc);
    --sr-gate-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Crect width='60' height='60' fill='%236e3a18'/%3E%3Cg fill='none' stroke='%23e9d3b0' stroke-width='3'%3E%3Cpath d='M-10 50 Q5 35 20 50 T50 50 T80 50' transform='rotate(-45 30 30)'/%3E%3Cpath d='M-10 20 Q5 5 20 20 T50 20 T80 20' transform='rotate(-45 30 30)'/%3E%3C/g%3E%3Cg fill='%23c98d4f'%3E%3Ccircle cx='15' cy='15' r='3'/%3E%3Ccircle cx='45' cy='45' r='3'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 60px 60px; --sr-gate-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Crect width='60' height='60' fill='%236e3a18'/%3E%3Cg fill='none' stroke='%23e9d3b0' stroke-width='3'%3E%3Cpath d='M-10 50 Q5 35 20 50 T50 50 T80 50' transform='rotate(-45 30 30)'/%3E%3Cpath d='M-10 20 Q5 5 20 20 T50 20 T80 20' transform='rotate(-45 30 30)'/%3E%3C/g%3E%3Cg fill='%23c98d4f'%3E%3Ccircle cx='15' cy='15' r='3'/%3E%3Ccircle cx='45' cy='45' r='3'/%3E%3C/g%3E%3C/svg%3E") 30px 0 / 60px 60px; --sr-veil: #f4eadb;
    --sr-rule: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cellipse cx='20' cy='10' rx='5' ry='9'/%3E%3Cellipse cx='20' cy='30' rx='5' ry='9'/%3E%3Cellipse cx='10' cy='20' rx='9' ry='5'/%3E%3Cellipse cx='30' cy='20' rx='9' ry='5'/%3E%3C/svg%3E");
    --sr-frame-radius: 999px 999px .35rem .35rem; --sr-frame-ring: 0 0 0 1px #8a4b22, 0 0 0 7px #fbf5ea, 0 0 0 8px #c98d4f, 0 0 0 11px #fbf5ea, 0 0 0 12px #8a4b22;
    --sr-swatch-radius: 50% 50% .3rem .3rem; --sr-photo-radius: .35rem;
}
:root[data-theme="sogan"][data-scheme="dark"] {
    color-scheme: dark;
    --bg: #22150c; --surface: #2e1d11; --ink: #f4e6cf; --muted: #d4bc9a; --accent: #e0a96e; --accent-ink: #22150c; --line: #5a3b22;
    --sr-panel: #2e1d11; --sr-panel-line: #5a3b22; --sr-halo: 34, 21, 12; --sr-veil: #22150c;
    --sr-sky: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='%23e0a96e' fill-opacity='.08'%3E%3Cellipse cx='20' cy='9' rx='5' ry='8'/%3E%3Cellipse cx='20' cy='31' rx='5' ry='8'/%3E%3Cellipse cx='9' cy='20' rx='8' ry='5'/%3E%3Cellipse cx='31' cy='20' rx='8' ry='5'/%3E%3C/g%3E%3Ccircle cx='20' cy='20' r='1.6' fill='%23e0a96e' fill-opacity='.12'/%3E%3C/svg%3E") 0 0 / 56px 56px repeat, linear-gradient(#22150c, #2a1a0f);
}
.sr-panel { box-shadow: inset 0 0 0 6px var(--sr-panel), inset 0 0 0 7px var(--sr-panel-line), 0 24px 60px -36px rgba(58, 36, 21, .5); }
.sr-names, .sr-title { letter-spacing: .01em; }
.sr-kicker { font-family: var(--heading); font-size: .9rem; letter-spacing: .3em; font-weight: 500; }
/* Painted layers (owner art, 19 Nov 2026). */
:root[data-theme="sogan"] {
    --sr-sky: linear-gradient(rgba(244, 234, 219, .55), rgba(244, 234, 219, .55)), url("/frontend/themes/wedding/sogan/img/paper.webp") 0 0 / 200px 200px repeat;
    --sr-gate-l: url("/frontend/themes/wedding/sogan/img/parang.webp") right center / cover no-repeat; --sr-gate-r: url("/frontend/themes/wedding/sogan/img/parang.webp") left center / cover no-repeat;
}
:root[data-theme="sogan"][data-scheme="dark"] {
    --sr-sky: linear-gradient(rgba(34, 21, 12, .9), rgba(34, 21, 12, .9)), url("/frontend/themes/wedding/sogan/img/paper.webp") 0 0 / 200px 200px repeat;
}
.sr-monogram { display: flex; align-items: center; justify-content: center; width: 8rem; aspect-ratio: 560 / 695; margin: .25rem auto .5rem; padding-top: 1.2rem; box-sizing: border-box;
    background: url("/frontend/themes/wedding/sogan/img/frame.webp") center / contain no-repeat; font-size: 2.6rem; }
:root[data-scheme="dark"] .sr-monogram { filter: brightness(1.6) sepia(.4); }
