/* L.I.T. Website Module — theme system. Themes are CSS variables, not codebases. */
*{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}
.site-header nav{display:flex;gap:18px;overflow-x:auto;white-space:nowrap}
.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}
.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-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}
.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;height:18px;background-color:#14532d;background-image:
 radial-gradient(circle at 10px 12px,#f87171 4.5px,transparent 5.5px),
 radial-gradient(circle at 34px 12px,#fbbf24 4.5px,transparent 5.5px),
 radial-gradient(circle at 58px 12px,#4ade80 4.5px,transparent 5.5px),
 radial-gradient(circle at 82px 12px,#60a5fa 4.5px,transparent 5.5px),
 radial-gradient(circle at 106px 12px,#f472b6 4.5px,transparent 5.5px);
 background-size:120px 18px;background-repeat:repeat-x;animation:tblink 1.6s ease-in-out infinite alternate}
@keyframes tblink{from{filter:brightness(.82)}to{filter:brightness(1.3)}}
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}
.snowflake{position:fixed;top:-4vh;z-index:60;pointer-events:none;color:#7dd3fc;opacity:.9;text-shadow:0 0 6px rgba(255,255,255,.9);animation-name:snowfall;animation-timing-function:linear;animation-iteration-count:infinite}
@keyframes snowfall{to{transform:translateY(112vh) rotate(320deg)}}
.logo-img{height:44px;max-width:220px;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:240px;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:300px;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}
