/*
 * More premium finishes: wood tones, antique (parchment, leather, art deco,
 * Victorian, old map, letterpress) and artistic (watercolour, pop art, Bauhaus,
 * ink wash, stained glass). Same idea as materials.css: the template names a
 * 'material' (mat-*) and optionally a 'tone' (tone-*).
 */

/* ======================================================================
   WOOD TONES (oak, ebony, mahogany, driftwood) on top of .mat-wood
   ====================================================================== */
.mat-wood {
    --wood-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.006 0.12' numOctaves='4' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.08 0 0 0 0 0.03 0 0 0 0.75 0'/%3E%3C/filter%3E%3Crect width='800' height='800' filter='url(%23w)'/%3E%3C/svg%3E");
    --wood-rings: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.002 0.03' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0.2 0 0 0 0 0.1 0 0 0 0 0.04 0 0 0 0.45 0'/%3E%3C/filter%3E%3Crect width='900' height='900' filter='url(%23r)'/%3E%3C/svg%3E");
}
body.mat-wood.tone-oak { background: var(--wood-grain), var(--wood-rings), linear-gradient(170deg, #c79a5f 0%, #a87a43 50%, #8d6332 100%); background-attachment: fixed; color: #fffaf0; }
body.mat-wood.tone-ebony { background: var(--wood-grain), linear-gradient(170deg, #2a1c14 0%, #1a110b 50%, #0f0906 100%); background-attachment: fixed; }
body.mat-wood.tone-mahogany { background: var(--wood-grain), var(--wood-rings), linear-gradient(170deg, #7a2e1d 0%, #5a1f12 50%, #3f140b 100%); background-attachment: fixed; }
body.mat-wood.tone-driftwood { background: var(--wood-grain), var(--wood-rings), linear-gradient(170deg, #9a958c 0%, #7c776e 50%, #615d56 100%); background-attachment: fixed; }
.mat-wood.tone-oak .company, .mat-wood.tone-oak .person { filter: drop-shadow(0 2px 2px rgb(60 30 5 / .7)); }
.mat-wood.tone-ebony { --foil: linear-gradient(100deg, #6f747c 0%, #cfd3d8 22%, #ffffff 38%, #a9aeb5 55%, #e6e9ec 72%, #7c8188 100%); --foil-base: #c9ced5; --foil-ink: #1a1c20; }
.mat-wood.tone-ebony .section { background: var(--grain), linear-gradient(180deg, #f4f1ec, #e2ddd4); }
.mat-wood.tone-mahogany { --foil: linear-gradient(100deg, #8a6418 0%, #e9c96b 22%, #fff4c9 38%, #c9a03a 55%, #f6dd8d 72%, #9c7420 100%); }
.mat-wood.tone-driftwood { --foil: linear-gradient(100deg, #3a3f45 0%, #7e858d 22%, #d9dde1 38%, #5d636b 55%, #a7adb4 72%, #444a51 100%); --foil-base: #9aa1a8; --foil-ink: #fff; }
.mat-wood.tone-driftwood .section { background: var(--grain), linear-gradient(180deg, #f6f5f1, #e7e4dc); color: #2e2b26; }
.mat-wood.tone-driftwood .section > h2 { color: #4b4740; }

/* ======================================================================
   ANTIQUE PARCHMENT: aged paper, burnt edges, sepia ink, printer's flourishes
   ====================================================================== */
body.mat-parchment {
    background:
        radial-gradient(ellipse at center, transparent 45%, rgb(92 52 12 / .55) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='500'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.012' numOctaves='5' seed='8'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.3 0 0 0 0 0.12 0 0 0 0.35 0'/%3E%3C/filter%3E%3Crect width='500' height='500' filter='url(%23p)'/%3E%3C/svg%3E"),
        var(--grain), linear-gradient(170deg, #f3e2bb, #e6cd98 60%, #d9b878);
    background-attachment: fixed;
    color: #3b2610;
}
.mat-parchment .company { color: #3b2610; font-size: 30px; letter-spacing: .02em; text-shadow: 0 1px 0 rgb(255 245 220 / .6); }
.mat-parchment .person { color: #4a3018; font-style: italic; }
.mat-parchment .position { color: #7a1f12; opacity: 1; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.mat-parchment .header > div::after, .mat-parchment .section > h2::after { content: '\2766'; display: block; color: #7a1f12; font-size: 18px; margin-top: 6px; opacity: .8; }
.mat-parchment .section { background: rgb(255 248 228 / .55); color: #3b2610; border: 1px solid rgb(92 52 12 / .35); box-shadow: inset 0 0 0 4px rgb(255 248 228 / .4), inset 0 0 0 5px rgb(92 52 12 / .25), 0 10px 24px -12px rgb(60 30 5 / .5); }
.mat-parchment .section > h2 { color: #3b2610; font-size: 20px; }
.mat-parchment .action .ic, .mat-parchment .social { background: #7a1f12; color: #f6e7c6 !important; border: 2px solid #f3e2bb; box-shadow: 0 0 0 2px #7a1f12, 0 6px 12px rgb(60 30 5 / .35); }
.mat-parchment .action .lbl { color: #3b2610; }
.mat-parchment .btn { background: #7a1f12; color: #f6e7c6; box-shadow: 0 6px 14px rgb(60 30 5 / .35); }
.mat-parchment .btn-outline { background: transparent; color: #7a1f12; border: 1.5px solid #7a1f12; }
.mat-parchment .contact-list > div, .mat-parchment .item { border-color: rgb(92 52 12 / .2); }
.mat-parchment .gallery img, .mat-parchment .item img, .mat-parchment .product img { filter: sepia(.35) contrast(1.05); box-shadow: 0 0 0 4px #fff8e4, 0 0 0 5px rgb(92 52 12 / .3); }

/* ======================================================================
   TOOLED LEATHER: dark hide, stitched panels, gold blocking
   ====================================================================== */
body.mat-leather {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='l'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.08' numOctaves='3' seed='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.05 0 0 0 0 0.02 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23l)'/%3E%3C/svg%3E"),
        radial-gradient(ellipse at 50% 20%, #8a4b25 0%, #5c2f15 55%, #3a1c0b 100%);
    background-attachment: fixed;
    color: #f5e6cf;
}
.mat-leather .company { font-size: 30px; filter: drop-shadow(0 2px 1px rgb(0 0 0 / .6)); }
.mat-leather .position { color: var(--foil-base); opacity: 1; letter-spacing: .18em; text-transform: uppercase; font-size: 12px; }
.mat-leather .section {
    background: linear-gradient(180deg, rgb(110 58 28 / .92), rgb(78 40 18 / .95));
    color: #f5e6cf; border: 1px solid rgb(0 0 0 / .4);
    outline: 2px dashed rgb(245 222 179 / .55); outline-offset: -9px;
    box-shadow: inset 0 2px 10px rgb(0 0 0 / .45), 0 16px 30px -14px rgb(0 0 0 / .8);
}
.mat-leather .section > h2 { text-transform: uppercase; letter-spacing: .16em; font-size: 15px; }
.mat-leather .action .ic, .mat-leather .social { background: var(--foil); color: var(--foil-ink) !important; border: 1px solid rgb(0 0 0 / .4); box-shadow: inset 0 1px 0 rgb(255 255 255 / .5), 0 5px 12px rgb(0 0 0 / .5); }
.mat-leather .action .lbl { color: #f5e6cf; }
.mat-leather .btn { background: var(--foil); color: var(--foil-ink); border: 1px solid rgb(0 0 0 / .4); }
.mat-leather .btn-outline { background: transparent; color: #f5e6cf; border: 1.5px dashed var(--foil-base); }
.mat-leather .contact-list > div, .mat-leather .item { border-color: rgb(245 222 179 / .18); }
.mat-leather .rich a, .mat-leather .product .price { color: var(--foil-base); }
.mat-leather .product, .mat-leather .quote { background: rgb(0 0 0 / .18); }
.mat-leather .company, .mat-leather .section > h2 {
    background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}

/* ======================================================================
   ART DECO: black lacquer, gold fan pattern, stepped frames
   ====================================================================== */
body.mat-deco {
    background:
        repeating-radial-gradient(circle at 50% 100%, transparent 0 9px, rgb(212 175 55 / .28) 9px 10px, transparent 10px 15px),
        linear-gradient(180deg, #0b0b0d, #15151a);
    background-size: 52px 26px, 100% 100%;
    background-attachment: fixed;
    color: #f4e7c1;
}
.mat-deco .company { font-size: 28px; letter-spacing: .14em; text-transform: uppercase; }
.mat-deco .person { color: #f4e7c1; letter-spacing: .08em; }
.mat-deco .position { color: #d4af37; opacity: 1; letter-spacing: .3em; text-transform: uppercase; font-size: 11px; }
.mat-deco .header > div::after { content: ''; display: block; width: 140px; height: 10px; margin: 16px auto 0; background: linear-gradient(#d4af37, #d4af37) center / 100% 1px no-repeat, linear-gradient(45deg, transparent 40%, #d4af37 40% 60%, transparent 60%) center / 10px 10px no-repeat; }
.mat-deco .section {
    background: linear-gradient(180deg, #121216, #0c0c0f); color: #f4e7c1;
    border: 1px solid #d4af37; outline: 1px solid rgb(212 175 55 / .45); outline-offset: 4px;
    border-radius: 2px; box-shadow: 0 20px 40px -18px rgb(0 0 0 / .9);
}
.mat-deco .section > h2 { color: #d4af37; text-transform: uppercase; letter-spacing: .3em; font-size: 14px; }
.mat-deco .action .ic, .mat-deco .social { background: #0c0c0f; color: #d4af37 !important; border: 1.5px solid #d4af37; box-shadow: 0 0 0 3px #0c0c0f, 0 0 0 4px rgb(212 175 55 / .5); border-radius: 4px; transform: rotate(45deg); }
.mat-deco .action .ic i, .mat-deco .social i, .mat-deco .social svg { transform: rotate(-45deg); }
.mat-deco .action { gap: 12px; }
.mat-deco .action .lbl { color: #f4e7c1; letter-spacing: .08em; text-transform: uppercase; font-size: 10px; }
.mat-deco .btn { background: linear-gradient(180deg, #e9cd6f, #b8902a); color: #0c0c0f; border-radius: 2px; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.mat-deco .btn-outline { background: transparent; color: #d4af37; border: 1px solid #d4af37; }
.mat-deco .bar .btn.share { background: #0c0c0f; color: #d4af37; border: 1px solid #d4af37; }
.mat-deco .contact-list > div, .mat-deco .item { border-color: rgb(212 175 55 / .2); }
.mat-deco .contact-list dt { color: #d4af37; opacity: .9; }
.mat-deco .product, .mat-deco .quote { background: rgb(212 175 55 / .06); border: 1px solid rgb(212 175 55 / .2); border-radius: 2px; }
.mat-deco .rich a, .mat-deco .product .price { color: #d4af37; }

/* ======================================================================
   VICTORIAN: deep green damask, ornate gold frames, cream panels
   ====================================================================== */
body.mat-victorian {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='120' viewBox='0 0 80 120'%3E%3Cg fill='none' stroke='%23c9a24b' stroke-opacity='.22' stroke-width='1.4'%3E%3Cpath d='M40 10c10 12 22 18 22 34S50 66 40 74C30 66 18 60 18 44S30 22 40 10z'/%3E%3Cpath d='M40 30c5 6 10 9 10 16s-5 11-10 15c-5-4-10-8-10-15s5-10 10-16z'/%3E%3Ccircle cx='40' cy='96' r='5'/%3E%3Cpath d='M0 96h30M50 96h30M40 74v17M40 101v19'/%3E%3C/g%3E%3C/svg%3E"),
        radial-gradient(ellipse at 50% 30%, #1f4a3a 0%, #133126 60%, #0b1f18 100%);
    background-size: 80px 120px, 100% 100%;
    background-attachment: fixed;
    color: #f3e9d2;
}
.mat-victorian .company { font-size: 30px; }
.mat-victorian .person { font-style: italic; color: #f3e9d2; }
.mat-victorian .position { color: #c9a24b; opacity: 1; letter-spacing: .16em; text-transform: uppercase; font-size: 12px; }
.mat-victorian .section {
    background: linear-gradient(180deg, #fbf5e6, #efe3c6); color: #2a2216;
    border: 3px double #b08a3e; box-shadow: 0 0 0 4px rgb(11 31 24 / .6), 0 0 0 5px rgb(201 162 75 / .5), 0 20px 36px -16px rgb(0 0 0 / .8);
}
.mat-victorian .section > h2 { color: #6e1a2a; font-size: 20px; }
.mat-victorian .section > h2::before, .mat-victorian .section > h2::after { content: ' \2767 '; color: #b08a3e; font-size: 14px; }
.mat-victorian .action .ic, .mat-victorian .social { background: radial-gradient(circle at 35% 30%, #8a2436, #5a1020); color: #f3e9d2 !important; border: 2px solid #c9a24b; box-shadow: 0 6px 14px rgb(0 0 0 / .5); }
.mat-victorian .action .lbl { color: #f3e9d2; }
.mat-victorian .btn { background: linear-gradient(180deg, #8a2436, #5a1020); color: #f3e9d2; border: 1px solid #c9a24b; }
.mat-victorian .btn-outline { background: transparent; color: #6e1a2a; border: 1.5px solid #b08a3e; }
.mat-victorian .bar .btn.share { background: #fbf5e6; color: #6e1a2a; }
.mat-victorian .contact-list > div, .mat-victorian .item { border-color: rgb(176 138 62 / .3); }
.mat-victorian .rich a, .mat-victorian .product .price { color: #6e1a2a; }

/* ======================================================================
   OLD MAP: explorer's chart, contour lines, latitude grid
   ====================================================================== */
body.mat-map {
    background:
        radial-gradient(ellipse at center, transparent 50%, rgb(110 70 20 / .45) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.006' numOctaves='3' seed='21'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='0 .55 0 .55 0 .55 0 .55 0 .55 0'/%3E%3C/feComponentTransfer%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.3 0 0 0 0 0.12 0 0 0 0.35 0'/%3E%3C/filter%3E%3Crect width='600' height='600' filter='url(%23c)'/%3E%3C/svg%3E"),
        repeating-linear-gradient(0deg, transparent 0 79px, rgb(110 70 20 / .18) 79px 80px),
        repeating-linear-gradient(90deg, transparent 0 79px, rgb(110 70 20 / .18) 79px 80px),
        var(--grain), linear-gradient(170deg, #efdcae, #e2c68a);
    background-attachment: fixed;
    color: #3d2a12;
}
.mat-map .company { color: #3d2a12; font-size: 28px; letter-spacing: .06em; }
.mat-map .position { color: #8c2f1a; opacity: 1; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.mat-map .header > div::after { content: '\2638'; display: block; font-size: 26px; color: #8c2f1a; margin-top: 8px; opacity: .75; }
.mat-map .section { background: rgb(250 238 208 / .78); color: #3d2a12; border: 1px solid rgb(110 70 20 / .45); border-radius: 4px; box-shadow: 4px 4px 0 rgb(110 70 20 / .25); }
.mat-map .section > h2 { color: #3d2a12; font-size: 18px; letter-spacing: .08em; border-bottom: 1px dashed rgb(140 47 26 / .5); padding-bottom: 8px; }
.mat-map .action .ic, .mat-map .social { background: #f5e6c0; color: #8c2f1a !important; border: 2px solid #8c2f1a; box-shadow: 2px 2px 0 #3d2a12; }
.mat-map .action .lbl { color: #3d2a12; }
.mat-map .btn { background: #8c2f1a; color: #fbefd2; box-shadow: 3px 3px 0 #3d2a12; border-radius: 4px; }
.mat-map .btn-outline { background: transparent; color: #8c2f1a; border: 1.5px solid #8c2f1a; box-shadow: none; }
.mat-map .contact-list > div, .mat-map .item { border-color: rgb(110 70 20 / .22); border-bottom-style: dashed; }
.mat-map .gallery img, .mat-map .item img, .mat-map .product img { filter: sepia(.3); }

/* ======================================================================
   LETTERPRESS: cotton paper, typewriter type, rubber-stamp buttons
   ====================================================================== */
body.mat-letterpress {
    background: var(--grain), radial-gradient(ellipse at center, #fbf8f1 40%, #ece5d6 100%);
    background-attachment: fixed;
    color: #1f1d1a;
}
.mat-letterpress .company { color: #1f1d1a; font-size: 28px; text-shadow: 0 1px 0 rgb(255 255 255 / .9), 0 -1px 0 rgb(0 0 0 / .15); letter-spacing: .02em; }
.mat-letterpress .position { color: #b0261c; opacity: 1; letter-spacing: .2em; text-transform: uppercase; font-size: 11px; }
.mat-letterpress .section { background: #fffdf8; color: #1f1d1a; border: 1px solid #d9d1c0; border-left: 3px double #b0261c; border-radius: 2px; box-shadow: 0 1px 0 #fff inset, 0 12px 22px -14px rgb(0 0 0 / .35); }
.mat-letterpress .section > h2 { color: #1f1d1a; text-transform: uppercase; letter-spacing: .18em; font-size: 14px; }
.mat-letterpress .action .ic, .mat-letterpress .social { background: transparent; color: #b0261c !important; border: 2px solid #b0261c; border-radius: 6px; box-shadow: none; transform: rotate(-4deg); }
.mat-letterpress .action:nth-child(even) .ic { transform: rotate(3deg); }
.mat-letterpress .action .lbl { color: #1f1d1a; text-transform: uppercase; letter-spacing: .08em; font-size: 10px; }
.mat-letterpress .btn { background: #1f1d1a; color: #fbf8f1; border-radius: 2px; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; }
.mat-letterpress .btn-outline { background: transparent; color: #b0261c; border: 2px solid #b0261c; }
.mat-letterpress .bar .btn.share { background: #fbf8f1; color: #b0261c; border: 2px solid #b0261c; }
.mat-letterpress .contact-list > div, .mat-letterpress .item { border-color: #e6dfd0; }
.mat-letterpress .gallery img, .mat-letterpress .item img, .mat-letterpress .product img { filter: grayscale(.2) contrast(1.05); }

/* ======================================================================
   WATERCOLOUR: soft colour washes on cold-press paper
   ====================================================================== */
body.mat-watercolor {
    background:
        radial-gradient(38% 26% at 18% 12%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%),
        radial-gradient(34% 24% at 85% 30%, rgb(244 114 182 / .35), transparent 70%),
        radial-gradient(40% 28% at 25% 70%, rgb(96 165 250 / .32), transparent 70%),
        radial-gradient(36% 26% at 80% 88%, rgb(250 204 21 / .3), transparent 70%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.04' numOctaves='4' seed='5'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.45 0 0 0 0 0.4 0 0 0 0.12 0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23p)'/%3E%3C/svg%3E"),
        #fdfcf8;
    background-attachment: fixed;
    color: #2b2a33;
}
body.mat-watercolor::before { content: ''; position: fixed; inset: -10%; z-index: 0; pointer-events: none; filter: blur(30px); opacity: .5;
    background: radial-gradient(20% 14% at 60% 50%, color-mix(in srgb, var(--accent) 50%, transparent), transparent 70%), radial-gradient(18% 12% at 30% 35%, rgb(167 139 250 / .5), transparent 70%); }
.mat-watercolor .page { position: relative; z-index: 1; }
.mat-watercolor .company { color: #2b2a33; font-size: 34px; }
.mat-watercolor .position { color: color-mix(in srgb, var(--accent) 80%, black); opacity: 1; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.mat-watercolor .section { background: rgb(255 255 255 / .72); color: #2b2a33; border: 0; border-radius: 28px 22px 30px 20px; box-shadow: 0 18px 40px -22px rgb(60 40 90 / .45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.mat-watercolor .section > h2 { color: #2b2a33; font-size: 22px; display: inline-block; padding: 0 10px; background: linear-gradient(transparent 55%, color-mix(in srgb, var(--accent) 35%, transparent) 55% 90%, transparent 90%); }
.mat-watercolor .action .ic, .mat-watercolor .social { background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--accent) 70%, white), var(--accent)); color: #fff !important; border: 0; box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--accent) 70%, transparent); border-radius: 46% 54% 50% 50% / 55% 45% 55% 45%; }
.mat-watercolor .action .lbl { color: #2b2a33; }
.mat-watercolor .btn { background: var(--accent); color: var(--accent-text); border-radius: 999px; box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.mat-watercolor .btn-outline { background: rgb(255 255 255 / .7); color: #2b2a33; border: 1.5px solid var(--accent); }
.mat-watercolor .bar .btn.share { background: #fff; }
.mat-watercolor .gallery img, .mat-watercolor .item img, .mat-watercolor .product img { border-radius: 18px 12px 20px 14px; }

/* ======================================================================
   POP ART: halftone dots, thick ink lines, comic-strip panels
   ====================================================================== */
body.mat-pop {
    background:
        radial-gradient(circle, rgb(239 68 68 / .55) 2.2px, transparent 2.6px) 0 0 / 12px 12px,
        linear-gradient(160deg, #fde047, #facc15);
    background-attachment: fixed;
    color: #111;
}
.mat-pop .company { color: #111; font-size: 36px; letter-spacing: .03em; text-transform: uppercase; text-shadow: 3px 3px 0 #fff, 5px 5px 0 #111; }
.mat-pop .person { color: #111; font-weight: 800; }
.mat-pop .position { display: inline-block; background: #111; color: #fde047; opacity: 1; padding: 2px 10px; transform: rotate(-2deg); text-transform: uppercase; font-weight: 700; font-size: 12px; }
.mat-pop .section { background: #fff; color: #111; border: 3px solid #111; border-radius: 4px; box-shadow: 7px 7px 0 #111; }
.mat-pop .section > h2 { display: inline-block; background: #ef4444; color: #fff; padding: 4px 14px; border: 3px solid #111; transform: rotate(-2deg); text-transform: uppercase; font-size: 18px; box-shadow: 3px 3px 0 #111; }
.mat-pop .action .ic, .mat-pop .social { background: #3b82f6; color: #fff !important; border: 3px solid #111; box-shadow: 4px 4px 0 #111; }
.mat-pop .action:nth-child(3n+2) .ic { background: #ef4444; } .mat-pop .action:nth-child(3n) .ic { background: #22c55e; }
.mat-pop .action .lbl { color: #111; font-weight: 800; text-transform: uppercase; font-size: 10px; }
.mat-pop .btn { background: #ef4444; color: #fff; border: 3px solid #111; border-radius: 4px; box-shadow: 4px 4px 0 #111; text-transform: uppercase; font-weight: 800; }
.mat-pop .btn-outline { background: #fff; color: #111; }
.mat-pop .bar .btn.share { background: #fff; color: #111; border: 3px solid #111; }
.mat-pop .contact-list > div, .mat-pop .item { border-color: #111; border-bottom-width: 2px; }
.mat-pop .gallery img, .mat-pop .item img, .mat-pop .product img { border: 3px solid #111; }
.mat-pop .product { background: #fff; border: 3px solid #111; }

/* ======================================================================
   BAUHAUS: primary colours, circles and blocks, strict grid
   ====================================================================== */
body.mat-bauhaus {
    background:
        radial-gradient(circle at 100% 0%, #e63946 0 120px, transparent 121px),
        radial-gradient(circle at 0% 38%, #1d4ed8 0 90px, transparent 91px),
        linear-gradient(135deg, transparent 0 82%, #f4b400 82% 100%),
        conic-gradient(from 90deg at 0 100%, #111 0 25%, transparent 25%) 0 100% / 140px 140px no-repeat,
        #f2ede4;
    background-attachment: fixed;
    color: #111;
}
.mat-bauhaus .company { color: #111; font-size: 32px; text-transform: uppercase; letter-spacing: .04em; font-weight: 800; }
.mat-bauhaus .position { color: #b81d24; opacity: 1; text-transform: uppercase; letter-spacing: .2em; font-size: 12px; font-weight: 700; }
.mat-bauhaus .section { background: #fff; color: #111; border: 0; border-top: 8px solid #111; border-radius: 0; box-shadow: none; }
.mat-bauhaus .section:nth-of-type(3n+1) { border-top-color: #e63946; } .mat-bauhaus .section:nth-of-type(3n+2) { border-top-color: #1d4ed8; } .mat-bauhaus .section:nth-of-type(3n) { border-top-color: #f4b400; }
.mat-bauhaus .section > h2 { color: #111; text-transform: uppercase; letter-spacing: .14em; font-size: 15px; font-weight: 800; }
.mat-bauhaus .action .ic, .mat-bauhaus .social { background: #111; color: #fff !important; border: 0; box-shadow: none; }
.mat-bauhaus .action:nth-child(4n+1) .ic { background: #e63946; border-radius: 50%; } .mat-bauhaus .action:nth-child(4n+2) .ic { background: #1d4ed8; border-radius: 0; }
.mat-bauhaus .action:nth-child(4n+3) .ic { background: #f4b400; color: #111 !important; border-radius: 50% 50% 0 0; } .mat-bauhaus .action:nth-child(4n) .ic { background: #111; border-radius: 0 50% 50% 0; }
.mat-bauhaus .action .lbl { color: #111; text-transform: uppercase; font-weight: 700; font-size: 10px; letter-spacing: .06em; }
.mat-bauhaus .btn { background: #111; color: #fff; border-radius: 0; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.mat-bauhaus .btn-outline { background: transparent; color: #111; border: 2px solid #111; }
.mat-bauhaus .bar .btn.share { background: #f4b400; color: #111; border-radius: 0; }
.mat-bauhaus .gallery img, .mat-bauhaus .item img, .mat-bauhaus .product img, .mat-bauhaus .product { border-radius: 0; }

/* ======================================================================
   INK WASH (sumi-e): rice paper, brushed grey washes, red seal
   ====================================================================== */
body.mat-sumi {
    background:
        radial-gradient(60% 30% at 80% 5%, rgb(30 30 30 / .18), transparent 70%),
        radial-gradient(50% 25% at 10% 95%, rgb(30 30 30 / .14), transparent 70%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='500'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.02 0.3' numOctaves='3' seed='9'/%3E%3CfeColorMatrix values='0 0 0 0 0.4 0 0 0 0 0.38 0 0 0 0 0.33 0 0 0 0.1 0'/%3E%3C/filter%3E%3Crect width='500' height='500' filter='url(%23r)'/%3E%3C/svg%3E"),
        #f6f2e8;
    background-attachment: fixed;
    color: #1c1c1c;
}
.mat-sumi .company { color: #1c1c1c; font-size: 32px; letter-spacing: .04em; }
.mat-sumi .position { color: #b91c1c; opacity: 1; letter-spacing: .3em; font-size: 11px; text-transform: uppercase; }
.mat-sumi .header > div::after { content: ''; display: block; width: 26px; height: 26px; margin: 14px auto 0; background: #b91c1c; border-radius: 4px; box-shadow: inset 0 0 0 3px #f6f2e8, inset 0 0 0 4px #b91c1c; }
.mat-sumi .section { background: rgb(255 253 247 / .82); color: #1c1c1c; border: 0; border-radius: 2px; box-shadow: 0 1px 0 rgb(0 0 0 / .05); }
.mat-sumi .section > h2 { color: #1c1c1c; font-size: 20px; letter-spacing: .12em; padding-bottom: 10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='12' viewBox='0 0 160 12'%3E%3Cpath d='M2 7c30-6 70-6 156-1' stroke='%231c1c1c' stroke-width='5' stroke-linecap='round' fill='none' opacity='.75'/%3E%3C/svg%3E") center bottom / 120px 10px no-repeat; }
.mat-sumi .action .ic, .mat-sumi .social { background: #1c1c1c; color: #f6f2e8 !important; border: 0; box-shadow: none; border-radius: 48% 52% 46% 54%; }
.mat-sumi .action .lbl { color: #1c1c1c; letter-spacing: .06em; }
.mat-sumi .btn { background: #1c1c1c; color: #f6f2e8; border-radius: 2px; letter-spacing: .1em; }
.mat-sumi .btn-outline { background: transparent; color: #b91c1c; border: 1.5px solid #b91c1c; }
.mat-sumi .bar .btn.share { background: #b91c1c; color: #fff; }
.mat-sumi .contact-list > div, .mat-sumi .item { border-color: rgb(0 0 0 / .08); }
.mat-sumi .gallery img, .mat-sumi .item img, .mat-sumi .product img { filter: grayscale(.25); }

/* ======================================================================
   STAINED GLASS: jewel-coloured panes in dark leading, lit from behind
   ====================================================================== */
body.mat-stained {
    background:
        radial-gradient(ellipse at 50% 0%, rgb(255 255 255 / .18), transparent 60%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg stroke='%23140f0c' stroke-width='4' stroke-linejoin='round'%3E%3Cpath fill='%23b91c1c' d='M0 0h70L40 50z'/%3E%3Cpath fill='%231d4ed8' d='M70 0h90v40L100 60z'/%3E%3Cpath fill='%23ca8a04' d='M0 0l40 50L0 90z'/%3E%3Cpath fill='%23047857' d='M40 50L70 0l30 60-30 40z'/%3E%3Cpath fill='%236d28d9' d='M100 60l60-20v70l-50 10z'/%3E%3Cpath fill='%230e7490' d='M0 90l40-40 30 50-20 60H0z'/%3E%3Cpath fill='%23be185d' d='M70 100l30-40 10 60-20 40H50z'/%3E%3Cpath fill='%23d97706' d='M110 120l50-10v50H90z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 100% 100%, 160px 160px;
    background-attachment: fixed;
    color: #fff8e7;
}
body.mat-stained::before { content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 35%, rgb(255 236 179 / .25), rgb(0 0 0 / .45) 80%); }
.mat-stained .page { position: relative; z-index: 1; }
.mat-stained .company { font-size: 30px; text-shadow: 0 0 18px rgb(255 214 120 / .7), 0 2px 2px rgb(0 0 0 / .8); }
.mat-stained .person { text-shadow: 0 2px 3px rgb(0 0 0 / .8); }
.mat-stained .position { color: #fcd34d; opacity: 1; letter-spacing: .16em; text-transform: uppercase; font-size: 12px; text-shadow: 0 1px 2px rgb(0 0 0 / .8); }
.mat-stained .section { background: rgb(20 15 12 / .88); color: #fff8e7; border: 3px solid #140f0c; box-shadow: inset 0 0 0 1px rgb(252 211 77 / .5), 0 0 30px rgb(255 200 90 / .25); border-radius: 14px; }
.mat-stained .section > h2 { color: #fcd34d; letter-spacing: .1em; }
.mat-stained .action .ic, .mat-stained .social { background: radial-gradient(circle at 35% 30%, rgb(255 255 255 / .6), transparent 45%), linear-gradient(160deg, #fcd34d, #d97706); color: #140f0c !important; border: 3px solid #140f0c; box-shadow: 0 0 0 1px rgb(252 211 77 / .6), 0 0 18px rgb(252 200 80 / .45); }
.mat-stained .action .lbl { color: #fff8e7; text-shadow: 0 1px 2px rgb(0 0 0 / .9); }
.mat-stained .btn { background: linear-gradient(180deg, #fcd34d, #d97706); color: #140f0c; border: 2px solid #140f0c; }
.mat-stained .btn-outline { background: rgb(20 15 12 / .8); color: #fcd34d; border: 2px solid #fcd34d; }
.mat-stained .contact-list > div, .mat-stained .item { border-color: rgb(252 211 77 / .18); }
.mat-stained .rich a, .mat-stained .product .price { color: #fcd34d; }
.mat-stained .product, .mat-stained .quote { background: rgb(255 255 255 / .05); }

/* A background the owner picked shows through these finishes too. */
body.own-bg:is(.mat-wood, .mat-parchment, .mat-leather, .mat-deco, .mat-victorian, .mat-map, .mat-letterpress, .mat-watercolor, .mat-pop, .mat-bauhaus, .mat-sumi, .mat-stained) {
    background: var(--bg); background-size: auto; background-blend-mode: normal; background-attachment: fixed;
}

/* ======================================================================
   NEON NIGHT: black glass, faint grid, glowing cyan and magenta tubes
   ====================================================================== */
body.mat-neon {
    --neon-2: #f0abfc;
    background:
        radial-gradient(60% 40% at 50% 0%, rgb(217 70 239 / .22), transparent 70%),
        radial-gradient(55% 35% at 50% 100%, rgb(34 211 238 / .16), transparent 70%),
        linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px) 0 0 / 28px 28px,
        linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px) 0 0 / 28px 28px,
        #07060d;
    background-attachment: fixed;
    color: #e9e7ff;
}
.mat-neon .company { color: #fff; text-transform: uppercase; letter-spacing: .07em; font-weight: 800; text-shadow: 0 0 4px #fff, 0 0 12px var(--accent), 0 0 26px var(--accent); }
.mat-neon .person { color: var(--neon-2); text-shadow: 0 0 10px rgb(217 70 239 / .8); }
.mat-neon .position { color: var(--accent); opacity: 1; text-transform: uppercase; letter-spacing: .2em; font-size: 12px; }
.mat-neon .action .ic, .mat-neon .social { background: rgb(7 6 13 / .6); color: var(--accent) !important; border: 2px solid var(--accent); box-shadow: 0 0 10px var(--accent), inset 0 0 10px rgb(34 211 238 / .35); }
.mat-neon .action:nth-child(even) .ic, .mat-neon .social:nth-child(even) { color: var(--neon-2) !important; border-color: var(--neon-2); box-shadow: 0 0 10px #d946ef, inset 0 0 10px rgb(217 70 239 / .35); }
.mat-neon .action .lbl { color: #e9e7ff; letter-spacing: .04em; }
.mat-neon .section { background: rgb(14 11 28 / .88); color: #e9e7ff; border: 1px solid rgb(240 171 252 / .3); box-shadow: inset 0 0 0 1px rgb(34 211 238 / .1), 0 0 26px rgb(217 70 239 / .12); backdrop-filter: none; }
.mat-neon .section > h2 { color: var(--neon-2); text-transform: uppercase; letter-spacing: .18em; font-size: 15px; text-shadow: 0 0 10px #d946ef; }
.mat-neon .btn { background: transparent; color: var(--accent); border: 2px solid var(--accent); box-shadow: 0 0 12px rgb(34 211 238 / .6), inset 0 0 10px rgb(34 211 238 / .25); text-shadow: 0 0 8px var(--accent); }
.mat-neon .btn-outline { color: var(--neon-2); border-color: var(--neon-2); box-shadow: 0 0 12px rgb(217 70 239 / .5); text-shadow: 0 0 8px #d946ef; }
.mat-neon .bar .btn { background: rgb(7 6 13 / .85); }
.mat-neon .bar .btn.share { color: var(--neon-2); border: 2px solid var(--neon-2); }
.mat-neon .contact-list > div, .mat-neon .item { border-color: rgb(240 171 252 / .15); }
.mat-neon .contact-list dt { color: var(--accent); opacity: .85; }
.mat-neon .rich a, .mat-neon .product .price { color: var(--accent); }
.mat-neon .product, .mat-neon .quote { background: rgb(255 255 255 / .04); border: 1px solid rgb(34 211 238 / .15); }
body.own-bg.mat-neon { background: var(--bg); background-attachment: fixed; }

/* ======================================================================
   HEADER PICTURE FRAMES per material (see the variables in v2.css).
   A transparent logo with no plate never gets a box: only a shadow that
   follows its shape (--bare).
   ====================================================================== */
.mat-glass { --frame: 0 0 0 2px rgb(255 255 255 / .5); --photo-frame: 0 0 0 2px rgb(255 255 255 / .6); --bare: drop-shadow(0 6px 18px rgb(0 0 0 / .4)); --plate-dark: #0f172a; }
.mat-paper { --frame: 0 0 0 1px var(--foil-base); --photo-frame: 0 0 0 2px var(--foil-base); --bare: drop-shadow(0 3px 8px rgb(0 0 0 / .2)); --plate-dark: #2b2b2b; }
.mat-carbon { --frame: 0 0 0 2px var(--accent); --photo-frame: 0 0 0 2px var(--accent), 0 0 18px color-mix(in srgb, var(--accent) 40%, transparent); --bare: drop-shadow(0 0 12px color-mix(in srgb, var(--accent) 50%, transparent)); --plate-dark: #1b1b1b; }
.mat-wood { --frame: 0 0 0 2px var(--foil-base); --photo-frame: 0 0 0 2px var(--foil-base); --bare: drop-shadow(0 3px 4px rgb(0 0 0 / .55)); --plate-dark: #2a1a0e; }
.mat-marble { --frame: 0 0 0 2px var(--foil-base); --photo-frame: 0 0 0 2px var(--foil-base); --bare: drop-shadow(0 4px 10px rgb(0 0 0 / .25)); --plate-dark: #1f1f1f; }
.mat-parchment { --frame: 0 0 0 2px #7a1f12; --photo-frame: 0 0 0 2px #7a1f12; --bare: sepia(.3) drop-shadow(0 2px 3px rgb(60 30 5 / .45)); --plate-dark: #3b2610; }
.mat-leather { --frame: 0 0 0 2px var(--foil-base); --photo-frame: 0 0 0 2px var(--foil-base); --bare: drop-shadow(0 2px 2px rgb(0 0 0 / .7)); --plate-dark: #2e170a; }
.mat-deco { --frame: 0 0 0 1px #d4af37, 0 0 0 4px #0c0c0f, 0 0 0 5px rgb(212 175 55 / .5); --photo-frame: 0 0 0 1px #d4af37, 0 0 0 4px #0c0c0f, 0 0 0 5px rgb(212 175 55 / .5); --bare: drop-shadow(0 0 10px rgb(212 175 55 / .4)); --plate-dark: #0c0c0f; }
.mat-deco .logo, .mat-deco .logo-chip { border-radius: 2px; }
.mat-victorian { --frame: 0 0 0 2px #c9a24b; --photo-frame: 0 0 0 2px #c9a24b; --bare: drop-shadow(0 2px 6px rgb(0 0 0 / .6)); --plate-dark: #0b1f18; }
.mat-map { --frame: 0 0 0 2px #8c2f1a, 3px 3px 0 2px rgb(61 42 18 / .3); --photo-frame: 0 0 0 2px #8c2f1a; --bare: drop-shadow(2px 2px 0 rgb(61 42 18 / .35)); --plate-dark: #3d2a12; }
.mat-letterpress { --frame: 0 0 0 1px #cfc6b2; --photo-frame: 0 0 0 1px #cfc6b2; --bare: drop-shadow(0 1px 1px rgb(0 0 0 / .25)); --plate-dark: #1f1d1a; }
.mat-letterpress .logo, .mat-letterpress .logo-chip { border-radius: 2px; }
.mat-watercolor { --frame: 0 0 0 2px rgb(255 255 255 / .9); --photo-frame: 0 0 0 3px rgb(255 255 255 / .9); --bare: drop-shadow(0 6px 14px color-mix(in srgb, var(--accent) 45%, transparent)); --plate-dark: #2b2a33; }
.mat-pop { --frame: 0 0 0 3px #111, 4px 4px 0 3px #111; --photo-frame: 0 0 0 3px #111, 4px 4px 0 3px #111; --bare: drop-shadow(3px 3px 0 #111); --plate-dark: #111; }
.mat-pop .logo, .mat-pop .logo-chip { border-radius: 4px; }
.mat-bauhaus { --frame: 0 0 0 2px #111, 5px 5px 0 2px #1d4ed8; --photo-frame: 0 0 0 2px #111, 5px 5px 0 2px #e63946; --bare: drop-shadow(4px 4px 0 #1d4ed8); --plate-dark: #111; }
.mat-bauhaus .logo, .mat-bauhaus .logo-chip { border-radius: 0; }
.mat-sumi { --frame: 0 0 0 1px #1c1c1c; --photo-frame: 0 0 0 1px #1c1c1c; --bare: drop-shadow(0 2px 4px rgb(0 0 0 / .2)); --plate-dark: #1c1c1c; }
.mat-stained { --frame: 0 0 0 2px #fcd34d, 0 0 14px rgb(252 200 80 / .4); --photo-frame: 0 0 0 2px #fcd34d, 0 0 16px rgb(252 200 80 / .45); --bare: drop-shadow(0 0 10px rgb(252 211 77 / .55)); --plate-dark: #140f0c; }
.mat-neon { --frame: 0 0 0 2px var(--accent), 0 0 14px var(--accent); --photo-frame: 0 0 0 2px var(--neon-2), 0 0 16px rgb(217 70 239 / .6); --bare: drop-shadow(0 0 6px var(--accent)) drop-shadow(0 0 16px rgb(34 211 238 / .6)); --plate-dark: #07060d; }

/* Polished metal and foil: a gradient bezel (a ring of the metal itself) around the plate or photo. */
.mat-metal { --bare: drop-shadow(0 1px 0 var(--metal-hi)) drop-shadow(0 4px 8px var(--metal-lo)); --plate-dark: #1f2328; --bezel: var(--metal-button); }
.mat-foil { --bare: drop-shadow(0 6px 14px rgb(0 0 0 / .5)); --plate-dark: #141414; --bezel: var(--foil); }
:is(.mat-metal, .mat-foil) :is(.logo, .logo-chip):not(.bare) {
    border: 2px solid transparent;
    background-image: linear-gradient(var(--plate, #fff), var(--plate, #fff)), var(--bezel);
    background-origin: border-box; background-clip: padding-box, border-box;
    box-shadow: 0 10px 24px rgb(0 0 0 / .25);
}
:is(.mat-metal, .mat-foil).hdr-cover .logo:not(.bare), :is(.mat-metal, .mat-foil) .photo {
    border: 3px solid transparent;
    background: var(--bezel) border-box;
    box-shadow: 0 12px 30px rgb(0 0 0 / .3);
}

/* ---------- Applies to every material (this file loads last) ----------
   In pill buttons the pill itself is the button: the icon is a plain glyph.
   Without this, a material's round icon disc (glass, paper, wood, parchment...) shrinks around
   the glyph inside the pill and shows as a clipped circle. Round, list and tile buttons keep their discs. */
body.btn-pills .action .ic {
    width: auto !important; height: auto !important; padding: 0 !important;
    background: none !important; border: 0 !important; border-radius: 0 !important;
    box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
    transform: none !important; color: inherit !important;
}
body.btn-pills .action .ic::after { content: none !important; }

/* Side Share tab in the card's finish: gold looks gold, silver looks silver */
.mat-metal .rail-btn { background: var(--metal-button); color: var(--metal-ink); border: 1px solid rgb(0 0 0 / .22); border-right: 0; filter: none; text-shadow: 0 1px 0 var(--metal-hi); box-shadow: inset 0 1px 0 rgb(255 255 255 / .95), inset 0 -2px 4px rgb(0 0 0 / .18), -3px 4px 12px var(--metal-lo); }
.mat:is(.mat-foil, .mat-wood, .mat-marble, .mat-leather) .rail-btn { background: var(--foil); color: var(--foil-ink); border: 1px solid rgb(0 0 0 / .3); border-right: 0; filter: none; box-shadow: inset 0 1px 0 rgb(255 255 255 / .55), -3px 4px 12px rgb(0 0 0 / .35); }
.mat-carbon .rail-btn { background: linear-gradient(160deg, #3a3a3a, #121212); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); border-right: 0; filter: none; }
.mat-deco .rail-btn { background: #0c0c0f; color: #d4af37; border: 1.5px solid #d4af37; border-right: 0; filter: none; }
.mat:is(.mat-metal, .mat-foil, .mat-wood, .mat-marble, .mat-leather, .mat-carbon, .mat-deco) .sheet-save { background: var(--metal-button, var(--foil, #111827)); color: var(--metal-ink, var(--foil-ink, #ffffff)); }

/* ---------- The owner's logo style (Header → Logo style); beats every template and finish ---------- */
body[class*=' lg-'] :is(.logo, .logo-chip, .logo-badge) { transition: border-radius .15s, background-color .15s; }
.lg-shape-square :is(.logo, .logo-chip, .logo-badge) { border-radius: 6px !important; }
.lg-shape-rounded :is(.logo, .logo-chip, .logo-badge) { border-radius: 24% !important; }
.lg-shape-circle :is(.logo, .logo-chip, .logo-badge) { border-radius: 50% !important; aspect-ratio: 1; min-width: 0 !important; width: auto !important; }
.lg-shape-circle .hdr-cover .logo, .hdr-cover.lg-shape-circle .logo { width: 116px !important; }
.lg-shape-none :is(.logo, .logo-chip, .logo-badge) { border-radius: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; border: 0 !important; outline: 0 !important; }
.lg-bg-none :is(.logo, .logo-chip, .logo-badge) { background: transparent !important; }
.lg-bg-white :is(.logo, .logo-chip, .logo-badge) { background: #ffffff !important; }
.lg-bg-black :is(.logo, .logo-chip, .logo-badge) { background: #111111 !important; }
.lg-bg-accent :is(.logo, .logo-chip, .logo-badge) { background: var(--accent) !important; }
.lg-bg-custom :is(.logo, .logo-chip, .logo-badge) { background: var(--lg-bg, #ffffff) !important; }
.lg-size :is(.logo, .logo-chip, .logo-badge, .media-logo, .offset-logo, .hex-logo, .logo-in) { zoom: var(--lg-scale, 1); }
/* Up to 300%: never wider than the card (zoom also scales max-width, so divide by it) */
.lg-size .header :is(.logo, .logo-chip, .logo-badge, .media-logo, .offset-logo) { max-width: calc(min(300px, 84vw) / var(--lg-scale, 1)); }
/* Logo position sliders (owner 2026-11-16): moves the logo from its place without changing the layout around it */
.lg-move :is(.logo, .logo-chip, .logo-badge, .media-logo, .offset-logo, .hex-logo, .logo-in) { translate: var(--lg-x, 0px) var(--lg-y, 0px); }
.lg-fill :is(.logo, .logo-chip, .logo-badge) { padding: 0 !important; object-fit: cover !important; }
.lg-no-ring :is(.logo, .logo-chip, .logo-badge) { --frame: 0 0 0 0 transparent; --photo-frame: 0 0 0 0 transparent; outline: 0 !important; border: 0 !important; }
.lg-no-ring.lg-no-shadow :is(.logo, .logo-chip, .logo-badge), .lg-no-shadow :is(.logo, .logo-chip, .logo-badge) { box-shadow: var(--frame, 0 0 0 0 transparent) !important; filter: none !important; }
.lg-no-ring.lg-no-shadow :is(.logo, .logo-chip, .logo-badge) { box-shadow: none !important; }

/* ---------- One section's own look (builder → section → Style); beats every template and finish ---------- */
[data-section-id].st-bg > * { background: var(--st-bg) !important; border-radius: var(--radius); }
[data-section-id].st-nobg > * { background: transparent !important; box-shadow: none !important; border-color: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
[data-section-id].st-text > *, [data-section-id].st-text > * :is(p, li, dd, dt, span, small, a, td, th, h3, h4, .muted, .lbl, .rich *) { color: var(--st-text) !important; -webkit-text-fill-color: var(--st-text); }
[data-section-id].st-title > * > h2, [data-section-id].st-title > * h2 { color: var(--st-title) !important; -webkit-text-fill-color: var(--st-title); }
[data-section-id].st-size-s > * { zoom: .9; }
[data-section-id].st-size-l > * { zoom: 1.12; }
