/* L.I.T. Website Module — theme system. Themes are CSS variables, not codebases. */
[hidden]{display:none !important}
*{box-sizing:border-box} html{scroll-behavior:smooth}
body{margin:0;font-family:var(--font-body);font-size:var(--base);color:var(--text);background:var(--bg);line-height:1.6}
h1,h2,h3{font-family:var(--font-head);line-height:1.12;margin:0 0 .5em}
h1{font-size:clamp(2.2rem,6vw,4.2rem)} h2{font-size:clamp(1.6rem,3.5vw,2.4rem)} h3{font-size:1.25rem}
.wrap{max-width:1120px;margin:0 auto;padding:0 20px} .narrow{max-width:760px}
.previewbar{background:#b91c1c;color:#fff;text-align:center;padding:8px;font-weight:600;font-size:.9rem}
.site-header{background:var(--primary);color:#fff;padding:14px 0;z-index:20}
.site-header.sticky{position:sticky;top:0;box-shadow:0 4px 18px rgba(0,0,0,.25)}
.header-in{display:flex;align-items:center;gap:22px}
.logo{color:#fff;text-decoration:none;font-family:var(--font-head);font-size:1.3rem;font-weight:700;margin-right:auto;min-width:0;overflow:hidden}
.site-header nav{display:flex;gap:18px;overflow-x:auto;white-space:nowrap;min-width:0}
.site-header nav a{color:#e7e5e4;text-decoration:none;font-weight:600}
.btn{display:inline-block;padding:13px 26px;border-radius:var(--radius);text-decoration:none;font-weight:700;border:0;cursor:pointer;font-size:1rem}
.btn-head{background:var(--accent);color:#111;padding:9px 18px;white-space:nowrap;flex-shrink:0}
/* Narrow screens (Defect-2, 2026-11-24): the header row WRAPS
   instead of crushing the logo into the space the nav and the
   phone button leave — logo + phone stay on the first row, the
   nav drops to its own full-width row and scrolls sideways there. */
@media(max-width:640px){
  .header-in{flex-wrap:wrap;gap:10px 16px}
  .site-header nav{order:3;flex:1 1 100%}
  .logo-img{height:36px}
}
.btn-cta{background:var(--accent);color:#111;box-shadow:0 8px 24px rgba(0,0,0,.3)}
.hero{position:relative;display:flex;align-items:center;background-size:cover;background-position:center;color:#fff}
.hero-shade{position:absolute;inset:0;background:linear-gradient(100deg,rgba(0,0,0,.72),rgba(0,0,0,.25))}
.hero-media{position:absolute;inset:0;overflow:hidden}
.hero-media iframe{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:100vw;height:56.25vw;min-width:177.78vh;min-height:100vh;border:0;pointer-events:none}
.hero-in{position:relative;padding:64px 20px}
.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-weight:700;color:var(--accent)}
.hero-sub{font-size:1.2em;max-width:34em}
.section{padding:72px 0} .section.alt{background:#fff}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-top:26px}
.card{background:#fff;border-radius:var(--radius);padding:26px;box-shadow:0 10px 30px rgba(0,0,0,.08);border-top:5px solid var(--accent)}
blockquote{font-family:var(--font-head);font-size:1.5rem;margin:0} blockquote cite{display:block;font-family:var(--font-body);font-size:1rem;margin-top:14px;color:#57534e}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:36px} @media(max-width:760px){.contact-grid{grid-template-columns:1fr}}
.leadform{background:var(--primary);color:#fff;border-radius:var(--radius);padding:26px;display:grid;gap:12px}
.leadform label{display:grid;gap:5px;font-weight:600}
.leadform input,.leadform textarea{padding:12px;border-radius:8px;border:0;font:inherit}
.leadform .ok{background:#14532d;padding:10px 14px;border-radius:8px}
.site-footer{background:#111;color:#d6d3d1;padding:44px 0;text-align:center}
.site-footer .powered{opacity:.65;font-size:.9rem}
.promo-pop{position:fixed;right:18px;bottom:18px;max-width:360px;background:var(--primary);color:#fff;border-radius:var(--radius);padding:24px;box-shadow:0 20px 50px rgba(0,0,0,.4);z-index:50;border-top:5px solid var(--accent)}
.promo-pop h3{margin-bottom:6px}.promo-x{position:absolute;top:8px;right:12px;background:none;border:0;color:#fff;font-size:1.5rem;cursor:pointer}
.promo-pop img{display:block;max-width:100%;border-radius:8px;margin:0 0 10px}
.reveal{opacity:0;transform:translateY(18px);transition:opacity .6s,transform .6s}
.reveal.in{opacity:1;transform:none}

/* ---- TWINKLE TIME: gaudy Christmas overlay, one flag (body.twinkle) ---- */
.twinklebar,.lights{display:none}
body.twinkle .twinklebar{display:flex;gap:14px;align-items:center;justify-content:center;flex-wrap:wrap;background:#b91c1c;color:#fef3c7;padding:10px 16px;font-weight:600;text-align:center}
body.twinkle .twinklebar a{background:#f59e0b;color:#451a03;padding:7px 18px;border-radius:999px;text-decoration:none;font-weight:800;box-shadow:0 4px 14px rgba(0,0,0,.35)}
body.twinkle .lights{display:block;position:relative;height:34px;background-color:#14532d;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='34' viewBox='0 0 160 34'%3E%3Cpath d='M0 3 Q80 30 160 3' fill='none' stroke='%23152a1c' stroke-width='2'/%3E%3Cg stroke='%23152a1c' stroke-width='2'%3E%3Cline x1='20' y1='9' x2='20' y2='13'/%3E%3Cline x1='60' y1='15.7' x2='60' y2='19.7'/%3E%3Cline x1='100' y1='15.7' x2='100' y2='19.7'/%3E%3Cline x1='140' y1='9' x2='140' y2='13'/%3E%3C/g%3E%3Cg fill='%2322303a'%3E%3Crect x='17.4' y='12' width='5.2' height='4.4' rx='1.2'/%3E%3Crect x='57.4' y='18.7' width='5.2' height='4.4' rx='1.2'/%3E%3Crect x='97.4' y='18.7' width='5.2' height='4.4' rx='1.2'/%3E%3Crect x='137.4' y='12' width='5.2' height='4.4' rx='1.2'/%3E%3C/g%3E%3Ccircle cx='20' cy='20.5' r='4.6' fill='%23f87171'/%3E%3Ccircle cx='60' cy='27.3' r='4.6' fill='%23fbbf24'/%3E%3Ccircle cx='100' cy='27.3' r='4.6' fill='%234ade80'/%3E%3Ccircle cx='140' cy='20.5' r='4.6' fill='%2360a5fa'/%3E%3Cg fill='%23fff7e0'%3E%3Ccircle cx='20' cy='19.4' r='1.7'/%3E%3Ccircle cx='60' cy='26.2' r='1.7'/%3E%3Ccircle cx='100' cy='26.2' r='1.7'/%3E%3Ccircle cx='140' cy='19.4' r='1.7'/%3E%3C/g%3E%3C/svg%3E");
 background-size:160px 34px;background-repeat:repeat-x;background-position:top left}
/* Bulb glow: two halo layers on alternating bulbs, pulsing out of phase
   at different periods, so the string shimmers bulb-by-bulb instead of
   the old uniform whole-strip blink. Halo centers sit exactly on the
   SVG bulb cores in the same 160x34 tile. */
body.twinkle .lights::before,body.twinkle .lights::after{content:"";position:absolute;inset:0;pointer-events:none;
 background-repeat:repeat-x;background-size:160px 34px;background-position:top left}
body.twinkle .lights::before{background-image:
 radial-gradient(circle at 20px 20.5px,rgba(248,113,113,.55) 0,rgba(248,113,113,.20) 9px,transparent 18px),
 radial-gradient(circle at 100px 27.3px,rgba(74,222,128,.55) 0,rgba(74,222,128,.20) 9px,transparent 18px);
 animation:twglow-a 2.3s ease-in-out infinite alternate}
body.twinkle .lights::after{background-image:
 radial-gradient(circle at 60px 27.3px,rgba(251,191,36,.55) 0,rgba(251,191,36,.20) 9px,transparent 18px),
 radial-gradient(circle at 140px 20.5px,rgba(96,165,250,.55) 0,rgba(96,165,250,.20) 9px,transparent 18px);
 animation:twglow-b 3.1s ease-in-out infinite alternate-reverse}
@keyframes twglow-a{from{opacity:.45}to{opacity:1}}
@keyframes twglow-b{from{opacity:.5}to{opacity:1}}
@media (prefers-reduced-motion: reduce){
 body.twinkle .lights::before,body.twinkle .lights::after{animation:none}
}
body.twinkle .hero-shade{background:linear-gradient(100deg,rgba(20,60,30,.8),rgba(140,20,20,.38))}
body.twinkle .eyebrow{color:#fbbf24}
body.twinkle .card{border-top-color:#dc2626;box-shadow:0 10px 30px rgba(185,28,28,.16)}
body.twinkle blockquote{color:#14532d}
body.twinkle .site-footer{background:#14532d;color:#fef3c7}
body.twinkle h2::after{content:" 🎄";font-size:.72em}
/* Snow is a single canvas now (website_site.js): three depth layers of
   soft round flakes with drift + sway. The element exists only while
   Twinkle is on; off = removed from the DOM, no residue. */
canvas.snow-canvas{position:fixed;inset:0;z-index:60;pointer-events:none}
.logo-img{height:44px;width:auto;max-width:min(220px,100%);object-fit:contain;background:#fff;border-radius:8px;padding:4px 8px;vertical-align:middle}
.site-header nav{scrollbar-width:none}.site-header nav::-webkit-scrollbar{display:none}
.catnav .wrap{scrollbar-width:none}.catnav .wrap::-webkit-scrollbar{display:none}

/* ---- Logo treatments (badge logos need presentation, not a redraw) ---- */
.logo-img.sz-s{height:34px}.logo-img.sz-m{height:52px}.logo-img.sz-l{height:78px}.logo-img.sz-xl{height:104px}
.logo-img.ls-plain{background:transparent;padding:0;border-radius:0;box-shadow:none}
.logo-img.ls-round{border-radius:50%;padding:6px}
.footer-logo{display:block;height:64px;max-width:min(240px,100%);object-fit:contain;background:#fff;border-radius:10px;padding:6px 10px;margin:0 auto 12px}
.footer-logo.ls-plain{background:transparent;padding:0}
.footer-logo.ls-round{border-radius:50%}

/* ---- Header nav separators (the Barley's pipe look) ---- */
.site-header nav a + a::before{content:"|";margin:0 12px 0 0;opacity:.4;font-weight:400}

/* ---- Tile layout (the Hopps pattern) ---- */
.masthead{background:var(--primary);color:#fff;text-align:center;padding:34px 16px 0}
.masthead .m-logo{display:block;margin:0 auto}
.masthead .m-logo img{height:92px;max-width:min(300px,100%);object-fit:contain;background:#fff;border-radius:12px;padding:8px 12px}
.masthead .m-logo img.ls-plain{background:transparent}
.masthead .m-logo img.ls-round{border-radius:50%}
.masthead h1{color:#fff;font-size:clamp(2rem,6vw,3.4rem);letter-spacing:.06em;margin:14px 0 2px;text-transform:uppercase}
.masthead .m-sub{letter-spacing:.34em;text-transform:uppercase;opacity:.85;font-size:.85rem;margin:0 0 20px}
.pipe-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:0;background:rgba(255,255,255,.14);padding:11px 10px}
.pipe-nav a{color:#fff;text-decoration:none;font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:.86rem;padding:2px 4px}
.pipe-nav span{color:rgba(255,255,255,.55);padding:2px 5px}
.cta-row{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;padding:26px 16px 6px}
.cta-row a{background:var(--accent);color:#171310;text-decoration:none;font-weight:800;padding:13px 34px;border-radius:4px;letter-spacing:.03em}
.tilegrid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding:20px 16px 8px}
@media(max-width:820px){.tilegrid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.tilegrid{grid-template-columns:1fr}}
.tile{position:relative;display:block;aspect-ratio:4/3;background-size:cover;background-position:center;text-decoration:none;overflow:hidden}
.tile::after{content:"";position:absolute;inset:0;background:rgba(10,8,6,.38);transition:background .2s}
.tile:hover::after{background:rgba(10,8,6,.18)}
.tile span{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-family:var(--font-head);font-size:clamp(1.25rem,2.6vw,1.8rem);letter-spacing:.12em;text-transform:uppercase;text-align:center;padding:10px;z-index:1;text-shadow:0 2px 14px rgba(0,0,0,.6)}
.hours-strip{color:#e7e5e4;text-align:center;padding:8px 16px 30px}
.hours-strip strong{color:#fff;letter-spacing:.14em;text-transform:uppercase}

/* Centered column over a tiled page background (the Hopps frame) */
.tiles-wrap{min-height:100vh;background-color:#211a13}
.tiles-wrap.has-bg{background-repeat:repeat;background-size:460px auto;background-position:top center}
.tiles-col{max-width:1140px;margin:0 auto;background:#26221f;box-shadow:0 0 70px rgba(0,0,0,.5)}
body.tilesmode .site-footer{max-width:1140px;margin:0 auto;box-shadow:0 0 70px rgba(0,0,0,.5)}

/* Wood runs THROUGH the page in Tile layout (John, 2026-10-24): the column
   is glass, not a slab — masthead gets a translucent brand wash, sections
   and footer get translucent dark veils so text stays readable over planks. */
.tiles-col{background:transparent;box-shadow:none}
.masthead{background:var(--primary);background:color-mix(in srgb, var(--primary) 84%, transparent)}
.hours-strip{background:transparent;text-shadow:0 1px 8px rgba(0,0,0,.55)}
body.tilesmode .site-footer{background:transparent;box-shadow:none;text-shadow:0 1px 8px rgba(0,0,0,.55)}
body.tilesmode .tiles-col .section{background:transparent;color:#f3efe7;text-shadow:0 1px 8px rgba(0,0,0,.5)}
body.tilesmode .tiles-col .section h2{color:#fff}
body.tilesmode .tiles-col .section a{color:#fcd34d}
body.tilesmode .tiles-col .section .leadform{background:rgba(15,12,8,.55)}

/* Tiles band sits on the charcoal panel (their layout); contact + footer
   stay bare wood. Real Barley's plank photo is the bundled texture now. */
.tiles-col .cta-row, .tiles-col .tilegrid{background:#26221f}
.hours-strip{background:#26221f;text-shadow:none}

/* FINAL tiles framing — per the reference site, superseding the glass
   experiments above: the wood is ONLY the outer frame. The column is one
   continuous unit of solid bands: green masthead, charcoal tiles band,
   charcoal contact, green footer. Nothing transparent, no void below. */
.tiles-col{background:#26221f;box-shadow:0 0 70px rgba(0,0,0,.5);min-height:100vh}
.masthead{background:var(--primary)}
body.tilesmode .site-footer{background:var(--primary);box-shadow:0 0 70px rgba(0,0,0,.5);text-shadow:none}
body.tilesmode .tiles-col .section{background:#26221f;color:#f3efe7;text-shadow:none}
body.tilesmode .tiles-col .section .leadform{background:var(--primary)}

/* The wrap was painting dark over the body wood — that's why planks only
   showed beside the footer (the one area outside the wrap). Transparent
   wrap: body wood runs on both sides of the column, top to bottom. */
.tiles-wrap{background-color:transparent}

/* ---- Twinkle realism: snowcaps (hub-dasheditorfix-2026-10-28a;
   seam fix hub-editorfix2-2026-10-28a) ----
   Snow resting on top edges, Twinkle mode only. One reusable cap: two
   SVG drift layers at different tile widths (230px + an offset 170px
   half-opacity ridge) over sparkle dots, so the bumps never align into
   a pattern. Every cap is an absolutely positioned ::before — zero
   layout shift, text untouched, tile clicks unaffected
   (pointer-events:none) — and every rule is scoped to body.twinkle, so
   Twinkle off leaves no trace.
   SEAM FIX: the original 140px SVG had no preserveAspectRatio, so the
   browser letterboxed it (meet) inside each background tile — the
   drift painted only ~122px of every 140px tile with transparent
   gutters either side, which read as discrete white BLOCKS with hard
   vertical ends floating on the masthead. The drift SVGs now carry
   preserveAspectRatio='none' and paths whose bottom edge starts and
   ends at the same depth, so tiles abut seamlessly; on top of that,
   every cap is end-masked with a horizontal fade (below) so an edge
   can never cut vertically, and caps sit flush at top:0. */
body.twinkle .masthead,body.twinkle .pipe-nav,body.twinkle .cta-row a,
body.twinkle .tile,body.twinkle .hours-strip,body.twinkle .card,
body.twinkle .hero .btn-cta,body.twinkle .site-footer{position:relative}
body.twinkle .site-header:not(.sticky){position:relative}
body.twinkle .masthead::before,body.twinkle .pipe-nav::before,
body.twinkle .cta-row a::before,body.twinkle .tile::before,
body.twinkle .hours-strip::before,body.twinkle .card::before,
body.twinkle .hero .btn-cta::before,body.twinkle .site-footer::before,
body.twinkle .site-header::before{
 content:"";position:absolute;top:0;left:0;right:0;height:14px;z-index:2;pointer-events:none;
 background-image:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='230' height='16' viewBox='0 0 230 16' preserveAspectRatio='none'%3E%3Cpath d='M0 1Q57 0 115 1.2Q172 2.2 230 0.8V9C219 12.8 208 6.4 196 9.6C184 13 172 6.8 160 9.2C148 12.4 136 7.2 124 10.2C112 13.4 100 6.6 88 9.4C76 12.2 64 7.4 52 10C40 12.8 28 7 16 9.6C9 11.2 4 10.4 0 9Z' fill='%23ffffff'/%3E%3C/svg%3E"),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='16' viewBox='0 0 170 16' preserveAspectRatio='none'%3E%3Cpath d='M0 1.2Q42 0.4 85 1Q128 1.8 170 1V8.5C158 11 148 7 136 9C124 11.4 112 7.2 100 8.8C88 10.6 76 7 64 9.2C52 11.2 40 7.4 28 9C18 10.4 8 9.8 0 8.5Z' fill='%23ffffff' fill-opacity='.5'/%3E%3C/svg%3E"),
  radial-gradient(circle at 26px 3px,rgba(255,255,255,.95) 1px,transparent 1.8px),
  radial-gradient(circle at 64px 5px,rgba(219,234,254,.9) 1px,transparent 1.8px);
 background-repeat:repeat-x;background-size:230px 100%,170px 100%,90px 12px,90px 12px;
 background-position:top left,64px 0,12px 1px,48px 2px;
 filter:drop-shadow(0 1px 1px rgba(15,23,42,.22));
 /* The ends feather out instead of cutting vertically: a horizontal
    fade mask on every cap, so a cap can thin to nothing but can never
    end in a straight edge. (hub-editorfix2-2026-10-28a) */
 -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 26px,#000 calc(100% - 26px),transparent 100%);
 mask-image:linear-gradient(90deg,transparent 0,#000 26px,#000 calc(100% - 26px),transparent 100%)}
/* Cap heights per surface: full caps on the big bands, a dusting on
   buttons and cards. */
body.twinkle .pipe-nav::before{height:10px}
body.twinkle .hours-strip::before{height:10px}
body.twinkle .tile::before{height:15px;z-index:1}
body.twinkle .tile span{z-index:2}
body.twinkle .card::before{height:11px}
body.twinkle .cta-row a::before,body.twinkle .hero .btn-cta::before{height:8px}
/* Buttons are the narrowest capped surfaces: a tighter end fade keeps
   their short caps from reading as blocks. */
body.twinkle .cta-row a::before,body.twinkle .hero .btn-cta::before{
 -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 16px,#000 calc(100% - 16px),transparent 100%);
 mask-image:linear-gradient(90deg,transparent 0,#000 16px,#000 calc(100% - 16px),transparent 100%)}

/* Page-background frame at column width (hub-editorfix2-2026-10-28a):
   the tiled page background lives on body behind the centered 1140px
   column, so below ~1160px the full-bleed column hid it completely —
   the editor's phone preview (and any phone visit) showed no trace of
   the picked background and the picker looked broken. When a
   background is set (body.has-bg), inset the column and footer a
   touch at those widths so the frame reads at every width. Desktop
   framing (>1160px) is untouched: the column already floats on the
   background there. */
@media (max-width:1160px){
 body.has-bg .tiles-col{margin:10px 10px 0}
 body.has-bg.tilesmode .site-footer{margin:0 10px 10px}
}

/* Heritage + Retail layouts (hub-websitetemplates-2026-10-28a).
   Heritage: story chapters flowed from the site's pages (heading / text /
   photo / button blocks), a quotes band, specials cards, hours+contact
   close. Retail: masthead + pipe nav (shared rules above), a featured
   products grid fed by the shop catalog where one is connected, featured
   sections, a story strip, contact. */
.story-h{margin:6px 0 12px}
.story-p{line-height:1.8;margin:0 0 14px}
.story-fig{margin:28px 0}
.story-fig img{width:100%;display:block;border-radius:var(--radius)}
.story-fig figcaption{margin-top:8px;font-size:.9em;opacity:.72;text-align:center}
.story-cta{text-align:center;margin:26px 0 4px}
.story-sec .story-p{font-size:1.05em}
.quotes-band{background:var(--primary);color:#fff}
.quotes-band blockquote{font-size:1.5em;line-height:1.5;margin:0}
.quotes-band cite{display:block;margin-top:14px;font-size:.62em;font-style:normal;opacity:.85;letter-spacing:.04em}
.prodgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:18px;margin-top:18px}
.prod{display:block;background:#fff;color:#292524;border-radius:var(--radius);overflow:hidden;text-decoration:none;box-shadow:0 8px 24px rgba(0,0,0,.10)}
.prod img{width:100%;height:180px;object-fit:cover;display:block}
.prod-in{display:block;padding:12px 14px}
.prod-cat{display:block;font-size:.78em;opacity:.6;text-transform:uppercase;letter-spacing:.07em}
.prod-name{display:block;font-weight:700;margin:2px 0}
.prod-price{display:block;color:var(--accent);font-weight:800}
.retailmode .masthead{padding-top:26px}
@media(max-width:560px){.prodgrid{grid-template-columns:repeat(2,1fr);gap:12px}.prod img{height:130px}.quotes-band blockquote{font-size:1.25em}}

/* ---- Seasonal skins (hub-websiteskins-2026-10-28a): Twinkle generalized.
   The renderer resolves ONE overlay server-side: body.skin-on + skin-<key>
   (never together with body.twinkle). The banner rides the skin palette
   vars; each skin's strand/bunting is pure CSS/SVG below its banner.
   Snowcaps stay Twinkle-only. Off = no skin classes = nothing here fires,
   and the FX canvas is never created (site.js). */
.skinbar,.skinstrand{display:none}
.skin-fx-canvas{position:fixed;inset:0;z-index:60;pointer-events:none}
body.skin-custom .skinstrand{display:none}
body.skin-on .skinbar{display:flex;gap:14px;align-items:center;justify-content:center;flex-wrap:wrap;background:var(--primary);color:#fff;padding:10px 16px;font-weight:600;text-align:center}
body.skin-on .skinbar a{background:var(--accent);color:#fff;padding:7px 18px;border-radius:999px;text-decoration:none;font-weight:800;box-shadow:0 4px 14px rgba(0,0,0,.35)}
body.skin-on .skinstrand{display:block;position:relative;height:30px;overflow:hidden}
body.skin-halloween .skinstrand{background-color:#1a0b2e;background-image:radial-gradient(circle at 10px 12px,#fb923c 5px,rgba(251,146,60,.55) 9px,transparent 13px),radial-gradient(circle at 34px 19px,#c084fc 4px,rgba(192,132,252,.5) 8px,transparent 12px);background-size:48px 30px}
body.skin-halloween .skinstrand::after{content:"";position:absolute;inset:0;background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="132" height="30" viewBox="0 0 132 30"><path d="M16 19 Q23 8 29 15 Q33 9 37 15 Q43 8 50 19 Q41 15 37 20 Q33 16 29 20 Q25 15 16 19 Z" fill="%23000000" opacity="0.8"/><path d="M86 16 Q91 8 96 13 Q99 9 102 13 Q107 8 112 16 Q105 13 102 17 Q99 14 96 17 Q93 13 86 16 Z" fill="%23000000" opacity="0.6"/></svg>');background-repeat:repeat-x;background-position:0 1px}
body.skin-oktoberfest .skinstrand{background-color:#dbeafe}
body.skin-oktoberfest .skinstrand::after{content:"";position:absolute;inset:0;background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="56" height="30" viewBox="0 0 56 30"><path d="M0 0 L14 0 L7 25 Z" fill="%232563eb"/><path d="M14 0 L28 0 L21 25 Z" fill="%23ffffff"/><path d="M28 0 L42 0 L35 25 Z" fill="%232563eb"/><path d="M42 0 L56 0 L49 25 Z" fill="%23ffffff"/></svg>');background-repeat:repeat-x;background-size:56px 30px}
body.skin-stpatricks .skinstrand{background-color:#052e16;background-image:radial-gradient(circle at 12px 13px,#4ade80 4px,rgba(74,222,128,.55) 8px,transparent 12px),radial-gradient(circle at 36px 18px,#d4af37 3px,rgba(212,175,55,.55) 6px,transparent 10px);background-size:48px 30px}
body.skin-stpatricks .skinstrand::after{content:"";position:absolute;inset:0;background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="30" viewBox="0 0 120 30"><g fill="%2316a34a"><circle cx="52" cy="10" r="5"/><circle cx="62" cy="10" r="5"/><circle cx="57" cy="16" r="5"/><path d="M57 18 q2 7 -3 10 l-2 -1 q4 -3 3 -9 Z"/></g></svg>');background-repeat:repeat-x;background-position:0 1px}
body.skin-july4 .skinstrand{background-color:#172554}
body.skin-july4 .skinstrand::after{content:"";position:absolute;inset:0;background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="56" height="30" viewBox="0 0 56 30"><path d="M0 0 L14 0 L7 25 Z" fill="%23dc2626"/><path d="M14 0 L28 0 L21 25 Z" fill="%23ffffff"/><path d="M28 0 L42 0 L35 25 Z" fill="%232563eb"/><path d="M42 0 L56 0 L49 25 Z" fill="%23ffffff"/></svg>');background-repeat:repeat-x;background-size:56px 30px}
body.skin-july4 .skinstrand::before{content:"";position:absolute;inset:0;background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="30" viewBox="0 0 120 30"><path d="M60 5 L62.4 11.6 L69.5 11.8 L63.9 16 L65.9 22.8 L60 18.8 L54.1 22.8 L56.1 16 L50.5 11.8 L57.6 11.6 Z" fill="%23ffffff" opacity="0.9"/></svg>');background-repeat:repeat-x;background-position:0 2px}
body.skin-nye .skinstrand{background-color:#0c0a09;background-image:radial-gradient(circle at 12px 10px,#fbbf24 3px,rgba(251,191,36,.6) 6px,transparent 10px),radial-gradient(circle at 36px 19px,#e5e7eb 2.5px,rgba(229,231,235,.5) 5px,transparent 9px);background-size:48px 30px}
@keyframes skinPulse{0%,100%{filter:brightness(1)}50%{filter:brightness(1.35)}}
body.skin-halloween .skinstrand,body.skin-nye .skinstrand{animation:skinPulse 2.6s ease-in-out infinite}
@media (prefers-reduced-motion: reduce){
 body.skin-halloween .skinstrand,body.skin-nye .skinstrand{animation:none}
}

/* ---- Jolly the Elf corner (Twinkle only): official character + cocoa mug
   prop, emitted by site_jolly_html()/wsite_jolly_html() only when Twinkle
   is on. Hidden by default so a stray emission can never show off-skin.
   Layering: z-index 40 — above content, below the promo pop (50) and the
   snow canvas (60), so snow still falls over him and he never covers the
   promo pop in the same corner. ---- */
.jolly{display:none}
body.twinkle .jolly{display:block;position:fixed;right:16px;bottom:0;width:132px;z-index:40;pointer-events:none;animation:jollybob 3.4s ease-in-out infinite;transform-origin:50% 100%}
body.twinkle .jolly .sipwrap{position:relative;animation:jollysip 7s ease-in-out infinite;transform-origin:50% 92%}
body.twinkle .jolly img.char{width:100%;display:block;filter:drop-shadow(0 6px 10px rgba(0,0,0,.35))}
@keyframes jollybob{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes jollysip{0%,70%,100%{transform:rotate(0deg)}79%{transform:rotate(-5deg) translate(-3px,-2px)}87%{transform:rotate(-5deg) translate(-3px,-2px)}95%{transform:rotate(0deg)}}
body.twinkle .jolly .mug{position:absolute;left:-16%;bottom:16%;width:52%}
body.twinkle .jolly .mug svg{width:100%;display:block;filter:drop-shadow(0 3px 4px rgba(0,0,0,.3))}
body.twinkle .jolly .steam{position:absolute;left:6%;bottom:44%;width:26px;height:40px}
body.twinkle .jolly .steam i{position:absolute;bottom:0;width:7px;height:24px;border-radius:50%;background:radial-gradient(ellipse at center,rgba(255,255,255,.85),rgba(255,255,255,0) 70%);opacity:0;animation:jollyrise 2.6s ease-in-out infinite}
body.twinkle .jolly .steam i:nth-child(1){left:1px}
body.twinkle .jolly .steam i:nth-child(2){left:10px;animation-delay:.85s}
body.twinkle .jolly .steam i:nth-child(3){left:19px;animation-delay:1.7s}
@keyframes jollyrise{0%{transform:translateY(5px) scaleY(.6);opacity:0}35%{opacity:.9}100%{transform:translateY(-20px) scaleY(1.25) translateX(3px);opacity:0}}
@media (prefers-reduced-motion: reduce){
 body.twinkle .jolly,body.twinkle .jolly .sipwrap,body.twinkle .jolly .steam i{animation:none}
 body.twinkle .jolly .steam{display:none}
}
@media (max-width:600px){body.twinkle .jolly{width:94px;right:8px}}

/* ---- Fidelity blocks (hub-fidelityblocks-2026-11-10a): hero banner,
   video, tabbed section, photo gallery — page blocks with the shared
   .blk-* classes in both codebases. Panels/slides beyond the first
   carry [hidden]; the site JS removes it on switch. ---- */
.blk-hero{position:relative;width:100vw;max-width:1120px;margin-left:calc(50% - min(50vw,560px));margin-top:22px;margin-bottom:22px;border-radius:var(--radius);overflow:hidden;background-color:var(--primary);background-size:cover;background-position:center;color:#fff;min-height:340px;display:flex;align-items:center}
body:has(.blk-hero){overflow-x:hidden}
.blk-hero-shade{position:absolute;inset:0;background:linear-gradient(100deg,rgba(0,0,0,.68),rgba(0,0,0,.22))}
.blk-hero--empty{background-image:linear-gradient(125deg,var(--primary) 52%,var(--accent) 165%)}
.blk-hero--empty .blk-hero-shade{background:radial-gradient(560px 260px at 85% 12%,rgba(255,255,255,.22),rgba(255,255,255,0) 70%),linear-gradient(100deg,rgba(0,0,0,.30),rgba(0,0,0,.04))}
.blk-hero-in{position:relative;padding:52px 34px;max-width:640px}
.blk-hero-h{font-size:clamp(1.9rem,4.5vw,3.1rem);margin:0 0 10px}
.blk-hero-sub{font-size:1.15em;line-height:1.5;margin:0 0 8px;max-width:32em}
.blk-hero-btnp{margin:18px 0 0}
.blk-video{margin:22px 0}
.blk-video-frame{position:relative;padding-top:56.25%;border-radius:var(--radius);overflow:hidden;background:#000}
.blk-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.blk-cap{margin:8px 0 0;font-size:.92em;opacity:.75;text-align:center}
.blk-p{line-height:1.65}
.blk-tabs{margin:22px 0}
.blk-tabs-bar{display:flex;gap:6px;flex-wrap:wrap;border-bottom:2px solid rgba(0,0,0,.12);padding-bottom:0}
.blk-tab-btn{border:1px solid rgba(0,0,0,.16);border-bottom:0;background:rgba(0,0,0,.05);color:var(--text);border-radius:10px 10px 0 0;padding:9px 18px;font:inherit;font-weight:700;cursor:pointer}
.blk-tab-btn.is-on{background:var(--accent);color:#111;border-color:var(--accent)}
.blk-tab-panel{padding:18px 4px 4px}
.blk-gallery{margin:22px 0}
.blk-gal-stage{border-radius:var(--radius);overflow:hidden;background:rgba(0,0,0,.06)}
.blk-gal-slide{margin:0}
.blk-gal-slide img{display:block;width:100%;max-height:560px;object-fit:cover}
.blk-gal-slide figcaption{padding:9px 12px;font-size:.92em;opacity:.8;text-align:center}
.blk-gal-ctl{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:10px}
.blk-gal-prev,.blk-gal-next{border:1px solid rgba(0,0,0,.2);background:#fff;color:#111;border-radius:50%;width:40px;height:40px;font-size:1.3rem;line-height:1;cursor:pointer}
.blk-gal-prev:hover,.blk-gal-next:hover{border-color:var(--accent)}
.blk-gal-count{font-weight:700;font-size:.92em}
.blk-gal-dots{display:flex;gap:7px;justify-content:center;margin-top:9px;flex-wrap:wrap}
.blk-gal-dot{width:11px;height:11px;border-radius:50%;border:1px solid rgba(0,0,0,.3);background:transparent;cursor:pointer;padding:0}
.blk-gal-dot.is-on{background:var(--accent);border-color:var(--accent)}

/* Form pieces (Marketing Kit, 2026-11-15): big, friendly, one column.
   Tap targets are tall, words are full-size (16px stops phone zoom),
   and a note about an answer sits right under its question. */
.blk-form{max-width:640px;margin:26px auto;padding:4px 2px}
.blk-form-h{margin:0 0 6px}
.blk-form-intro{margin:0 0 8px;line-height:1.55}
.lit-form .lit-field{margin:15px 0}
.lit-form label{display:block;font-weight:700;margin-bottom:5px}
.lit-form .lit-req{color:#b45309}
.lit-form input[type=text],.lit-form input[type=email],.lit-form input[type=tel],.lit-form input[type=date],.lit-form select,.lit-form textarea{width:100%;box-sizing:border-box;min-height:52px;padding:12px 13px;font:inherit;font-size:16px;border:1.5px solid rgba(0,0,0,.25);border-radius:var(--radius);background:#fff;color:#1c1917}
.lit-form textarea{min-height:110px}
.lit-form .lit-choice{display:flex;gap:10px;align-items:center;min-height:48px;font-weight:500;padding:4px 2px;cursor:pointer}
.lit-form .lit-choice input{width:23px;height:23px;flex:none;accent-color:var(--accent)}
.lit-form .lit-err{color:#b91c1c;font-weight:600;margin:5px 0 0}
.lit-form .lit-form-msg{background:#fee2e2;border-radius:10px;padding:11px 14px;font-weight:600}
.lit-form .lit-form-btn{min-height:52px;padding:12px 30px;font-size:1.02rem}
.lit-form .lit-form-btn:disabled{opacity:.6}
.lit-form .lit-form-note{color:#57534e;font-size:.92rem}
.lit-form .lit-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.lit-form-done{background:#f0fdf4;border:1.5px solid #bbf7d0;border-radius:var(--radius);padding:20px 22px}
.lit-form-done p{margin:0;line-height:1.55}
