
:root{
  --brick:#A24B2E; --brick-deep:#6E3120; --espresso:#2B1D16; --choc:#4A2C1E;
  --cream:#F5EBD7; --white-d:#EDE7DA; --amber:#E8833A; --tag-red:#C0392B;
  --taupe:#9C8F7F; --neon:#35D97B; --logo:url("/img/brick-house-logo-wall.jpg");
  --brick-tex:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Crect width='120' height='60' fill='%23241811'/%3E%3Cg fill='%232e1f15'%3E%3Crect x='1' y='1' width='57' height='27' rx='2'/%3E%3Crect x='61' y='1' width='58' height='27' rx='2'/%3E%3Crect x='-29' y='31' width='57' height='27' rx='2'/%3E%3Crect x='31' y='31' width='57' height='27' rx='2'/%3E%3Crect x='91' y='31' width='57' height='27' rx='2'/%3E%3C/g%3E%3C/svg%3E");
  --paper-tex:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Crect width='120' height='60' fill='%23f5ebd7'/%3E%3Cg fill='%23f0e2c8'%3E%3Crect x='1' y='1' width='57' height='27' rx='2'/%3E%3Crect x='61' y='1' width='58' height='27' rx='2'/%3E%3Crect x='-29' y='31' width='57' height='27' rx='2'/%3E%3Crect x='31' y='31' width='57' height='27' rx='2'/%3E%3Crect x='91' y='31' width='57' height='27' rx='2'/%3E%3C/g%3E%3C/svg%3E");
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Sarabun',system-ui,sans-serif;background:var(--cream);color:var(--choc);line-height:1.6}
h1,h2,h3,.disp{font-family:'Oswald',Impact,sans-serif;text-transform:uppercase;letter-spacing:.03em;line-height:1.15}
img{max-width:100%;display:block}
.logoimg{display:block;background:var(--logo) center/cover;border-radius:50%;box-shadow:0 3px 14px rgba(0,0,0,.5);border:2px solid rgba(237,231,218,.25)}
a{color:inherit}
.wrap{max-width:1120px;margin:0 auto;padding:0 22px}
.script{font-family:'Caveat',cursive;text-transform:none;letter-spacing:0;color:var(--amber)}

/* ---------- header ---------- */
header{position:fixed;top:0;left:0;right:0;z-index:50;background:rgba(30,20,14,.92);backdrop-filter:blur(6px);border-bottom:1px solid rgba(237,231,218,.12)}
.nav{display:flex;align-items:center;gap:26px;max-width:1180px;margin:0 auto;padding:10px 22px}
.nav .mark{width:44px;height:44px;flex:none}
.brand{font-family:'Oswald';font-weight:700;font-size:1.15rem;letter-spacing:.08em;color:var(--white-d);text-decoration:none;text-transform:uppercase}
.brand small{display:block;font-size:.5rem;letter-spacing:.35em;color:var(--taupe);font-weight:500;white-space:nowrap}
nav.links{margin-left:auto;display:flex;gap:22px}
nav.links a{color:var(--white-d);text-decoration:none;font-size:.92rem;font-weight:600;opacity:.85}
nav.links a:hover{opacity:1;color:var(--amber)}
.callbtn{background:var(--tag-red);color:#fff;text-decoration:none;font-weight:700;padding:9px 18px;border-radius:6px;font-size:.92rem;white-space:nowrap}
.callbtn:hover{background:var(--brick-deep)}
.burger{display:none;background:none;border:1px solid rgba(237,231,218,.4);color:var(--white-d);font-size:1.3rem;border-radius:6px;padding:10px 14px;min-height:44px;min-width:44px;margin-left:auto}

/* ---------- hero ---------- */
.hero{position:relative;min-height:94vh;display:flex;align-items:flex-end;background-color:#1A100A;background-image:url('/img/hero-brick-house-neon-udon-thani.jpg');background-position:center 40%;background-size:var(--herosize,cover);background-repeat:no-repeat}
.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(24,16,8,.42) 0%,rgba(24,16,8,.18) 34%,rgba(24,16,8,.68) 66%,rgba(24,16,8,.94) 100%)}
.hero-in{position:relative;z-index:2;width:100%;max-width:1120px;margin:0 auto;padding:120px 22px 14px}
.hero .mark{width:92px;height:92px;margin-bottom:18px;filter:drop-shadow(0 4px 14px rgba(0,0,0,.5))}
.hero h1{color:var(--white-d);font-size:clamp(2.1rem,5.4vw,3.9rem);max-width:820px;text-shadow:0 3px 18px rgba(0,0,0,.55)}
.hero h1 em{font-style:normal;color:var(--amber)}
.hero p.lead{color:var(--white-d);opacity:.92;font-size:clamp(1rem,2vw,1.25rem);max-width:640px;margin:14px 0 22px;text-shadow:0 2px 10px rgba(0,0,0,.6)}
.openbadge{display:inline-flex;align-items:center;gap:9px;border:1.5px solid var(--neon);color:var(--neon);border-radius:999px;padding:7px 18px;font-family:'Oswald';font-weight:600;letter-spacing:.12em;font-size:.85rem;text-transform:uppercase;box-shadow:0 0 14px rgba(53,217,123,.35),inset 0 0 10px rgba(53,217,123,.12);text-shadow:0 0 8px rgba(53,217,123,.8);margin-bottom:24px;background:rgba(24,16,8,.45)}
.openbadge .dot{width:9px;height:9px;border-radius:50%;background:var(--neon);box-shadow:0 0 8px var(--neon);animation:pulse 2.2s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.35}}
.cta-row{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:20px}
.btn{display:inline-block;text-decoration:none;font-family:'Oswald';font-weight:600;letter-spacing:.06em;text-transform:uppercase;font-size:1rem;padding:14px 34px;border-radius:8px;transition:.18s}
.btn-red{background:var(--tag-red);color:#fff;box-shadow:0 6px 18px rgba(192,57,43,.4)}
.btn-red:hover{background:#a93226;transform:translateY(-2px)}
.btn-ghost{border:1.5px solid var(--white-d);color:var(--white-d)}
.btn-ghost:hover{background:rgba(237,231,218,.14)}
.tripchip{display:inline-flex;align-items:center;gap:10px;background:rgba(237,231,218,.96);color:var(--espresso);border-radius:999px;padding:8px 20px;font-weight:600;font-size:.95rem;box-shadow:0 4px 14px rgba(0,0,0,.35)}
.tripchip .stars{color:#00aa6c;letter-spacing:.05em}

/* ---------- shared sections ---------- */
section{padding:84px 0}
.dark{background:var(--espresso) var(--brick-tex);color:var(--white-d)}
.light{background:var(--cream) var(--paper-tex)}
.kicker{font-family:'Caveat',cursive;font-size:1.9rem;color:var(--amber);display:block;margin-bottom:4px}
h2.sec{font-size:clamp(1.7rem,3.6vw,2.6rem);margin-bottom:14px}
.dark h2.sec{color:var(--white-d)}
.sec-sub{max-width:640px;opacity:.85;margin-bottom:42px}

/* ---------- famous for ---------- */
.cards4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.fcard{background:linear-gradient(160deg,#3a2417,#241811);border:1px solid rgba(237,231,218,.1);border-radius:14px;overflow:hidden;text-decoration:none;color:var(--white-d);transition:.2s;display:flex;flex-direction:column}
.fcard:hover{transform:translateY(-5px);border-color:var(--amber);box-shadow:0 14px 30px rgba(0,0,0,.4)}
.slot{aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;text-align:center;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:rgba(237,231,218,.5);border-bottom:1px solid rgba(237,231,218,.1);padding:10px;background:radial-gradient(ellipse at 30% 20%,rgba(232,131,58,.25),transparent 60%),radial-gradient(ellipse at 75% 85%,rgba(162,75,46,.35),transparent 55%)}
.ph{display:flex;flex-direction:column;align-items:center;gap:7px}
.ph-ic{font-size:2.7rem;opacity:.95}
.ph-t{font-family:'Oswald';font-weight:600;letter-spacing:.16em;text-transform:uppercase;font-size:.95rem;color:var(--white-d)}
.ph-s{font-size:.6rem;letter-spacing:.24em;text-transform:uppercase;color:rgba(237,231,218,.45)}
.light .ph-t{color:var(--choc)}
.light .ph-s{color:#8a7a5c}
.fcard .txt{padding:18px 20px 22px}
.fcard h3{font-size:1.18rem;color:var(--amber);margin-bottom:6px}
.fcard p{font-size:.9rem;opacity:.82;margin-bottom:10px}
.fcard .price{font-family:'Oswald';font-weight:600;background:var(--tag-red);color:#fff;display:inline-block;padding:3px 12px;border-radius:5px;transform:rotate(-2deg);font-size:.95rem}
.fcard .go{margin-top:auto;padding-top:8px;font-weight:700;font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;color:var(--white-d);opacity:.7}
.fcard:hover .go{opacity:1;color:var(--amber)}

/* ---------- menu board ---------- */
.board{max-width:760px;margin:0 auto;background:var(--cream);border:1px solid #e2d3b4;border-radius:14px;box-shadow:0 18px 44px rgba(43,29,22,.18);overflow:hidden}
.board-head{background:var(--choc);color:var(--cream);text-align:center;padding:20px 16px 16px}
.board-head h3{font-size:1.5rem;letter-spacing:.14em}
.board-head .script{font-size:1.5rem;display:block;color:var(--amber)}
.board ul{list-style:none;padding:28px 34px 12px}
.board li{display:flex;align-items:baseline;gap:10px;padding:9px 0;font-size:1.02rem}
.board li .nm{font-weight:700;color:var(--choc)}
.board li .th{color:var(--taupe);font-size:.85rem}
.board li .dots{flex:1;border-bottom:2px dotted #cbb488;transform:translateY(-4px)}
.board li .pr{font-family:'Oswald';font-weight:600;color:var(--tag-red);white-space:nowrap}
.board .note{text-align:center;color:var(--taupe);font-size:.85rem;padding:6px 20px 26px}
.center{text-align:center;margin-top:34px}
.qrline{display:inline-flex;align-items:center;gap:10px;color:var(--taupe);font-size:.9rem;margin-top:16px}

/* ---------- split bands (roast / breakfast) ---------- */
.split{display:grid;grid-template-columns:1.05fr .95fr;gap:54px;align-items:center}
.split .slot{aspect-ratio:4/3.2;border:none;border-radius:14px}
.dark .split .slot{background:radial-gradient(ellipse at 40% 30%,rgba(192,57,43,.3),transparent 60%),linear-gradient(160deg,#3a2417,#1d130c)}
.light .split .slot{background:radial-gradient(ellipse at 40% 30%,rgba(232,131,58,.25),transparent 60%),linear-gradient(160deg,#efe0c2,#e6d2ad);color:#8a7a5c;border-radius:14px}
.pricechips{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0 26px}
.chip{background:var(--tag-red);color:#fff;font-family:'Oswald';font-weight:600;padding:7px 16px;border-radius:6px;transform:rotate(-1.5deg);font-size:.98rem}
.chip small{display:block;font-family:'Sarabun';font-weight:400;font-size:.72rem;opacity:.85}
.checklist{list-style:none;margin:16px 0 6px}
.checklist li{padding-left:26px;position:relative;margin-bottom:7px}
.checklist li:before{content:"✓";position:absolute;left:0;color:var(--amber);font-weight:700}

/* ---------- the place ---------- */
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:10px}
.tile{position:relative;border-radius:9px;padding:22px;transition:.2s;box-shadow:0 7px 18px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,232,200,.12);background:repeating-linear-gradient(180deg,rgba(0,0,0,0) 0 56px,rgba(45,25,10,.5) 56px 58px),url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'260'%20height%3D'260'%3E%3Cfilter%20id%3D'w'%3E%3CfeTurbulence%20type%3D'fractalNoise'%20baseFrequency%3D'0.008%200.16'%20numOctaves%3D'4'%20seed%3D'47'%2F%3E%3CfeColorMatrix%20type%3D'matrix'%20values%3D'0.42%200%200%200%200.46%20%200.30%200%200%200%200.30%20%200.16%200%200%200%200.12%20%200%200%200%200%201'%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D'100%'%20height%3D'100%'%20filter%3D'url(%23w)'%2F%3E%3C%2Fsvg%3E");background-size:auto,260px 260px;border:2px solid #5e3c17}
.tile h3{color:#2a1405;text-shadow:0 1px 0 rgba(255,244,222,.45)}
.tile p{color:#2e1c0c;opacity:1}
.tile:hover{border-color:var(--amber);transform:translateY(-3px)}
.tile .ic{font-size:1.6rem;margin-bottom:8px;display:block}
.tile h3{font-size:1.05rem;margin-bottom:4px}
.tile p{font-size:.88rem;opacity:.8}

/* ---------- reviews ---------- */
.quotes{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.q{background:rgba(237,231,218,.06);border:1px solid rgba(237,231,218,.12);border-radius:12px;padding:26px 24px}
.q .stars{color:#00aa6c;letter-spacing:2px;margin-bottom:10px;font-size:1rem}
.q p{font-size:.95rem;opacity:.9;font-style:italic}
.q .who{margin-top:14px;font-weight:700;font-size:.85rem;color:var(--amber);font-style:normal}

/* ---------- find us ---------- */
.find{display:grid;grid-template-columns:1fr 1fr;gap:54px;align-items:start}
.mapslot{aspect-ratio:4/3;border-radius:14px;background:linear-gradient(160deg,#efe0c2,#e2cea6);display:flex;align-items:center;justify-content:center;color:#8a7a5c;font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;border:1.5px dashed #c9b283}
.hours{width:100%;border-collapse:collapse;margin:18px 0 24px}
.hours td{padding:7px 0;border-bottom:1px solid #e0d0ae;font-size:.95rem}
.hours td:last-child{text-align:right;font-weight:700}
.landmark{padding-left:26px;position:relative;margin-bottom:9px}
.landmark:before{content:"📍";position:absolute;left:0;font-size:.9rem}

/* ---------- footer ---------- */
footer{background:#1d130c;color:var(--taupe);padding:46px 0 90px}
footer .frow{display:flex;align-items:center;gap:26px;flex-wrap:wrap}
footer .mark{width:60px;height:60px}
footer a{color:var(--white-d);text-decoration:none}
footer .soc{margin-left:auto;display:flex;gap:18px;font-weight:600;font-size:.9rem}
footer .fine{margin-top:22px;font-size:.8rem;opacity:.7}

.thisweek{background:#1d130c;border-top:1px dashed rgba(237,231,218,.22);border-bottom:1px dashed rgba(237,231,218,.22);padding:15px 0}
.tw-in{display:flex;gap:16px;align-items:center;justify-content:center;flex-wrap:wrap}
.tw-k{font-family:'Caveat',cursive;font-size:1.6rem;color:var(--amber)}
.tw-i{color:var(--white-d);font-size:.95rem}
.tw-i b{color:#fff}
.tw-sep{color:var(--taupe)}
.checker{height:12px;background:repeating-conic-gradient(#3f2a1c 0% 25%,#f5ebd7 0% 50%) 0 0/16px 16px}
footer .soc span{color:var(--white-d);font-weight:600;font-size:.9rem}
/* ---------- mobile ---------- */
.stickycall{display:none}
/* HERO IMAGE SLOTS — art-directed per breakpoint (swap when AI-edited images are ready):
   DESKTOP: base64 url in the .hero rule above (center 32%).
   TABLET (<=880): replace background-image inside the 880 block below.
   MOBILE (<=520): replace background-image inside the 520 block below.
   Interim: position-tuned so the neon sign survives the crop. */
@media(max-width:880px){
  .cards4{grid-template-columns:1fr 1fr}
  .split,.find{grid-template-columns:1fr;gap:30px}
  .tiles{grid-template-columns:1fr 1fr}
  .quotes{grid-template-columns:1fr}
  nav.links{display:none}
  nav.links.open{display:flex;position:fixed;top:64px;left:0;right:0;background:rgba(30,20,14,.98);flex-direction:column;padding:22px;gap:18px;border-bottom:1px solid rgba(237,231,218,.15)}
  .burger{display:block}
  .nav .callbtn{display:none}
  section{padding:60px 0}
  .hero{min-height:calc(82vh + 66px)}
  .hero-in{padding:92px 22px 84px}
  .stickycall{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:60}
  .stickycall a{flex:1;text-align:center;padding:15px 8px;font-family:'Oswald';font-weight:600;letter-spacing:.08em;text-transform:uppercase;text-decoration:none;font-size:.95rem}
  .stickycall .c1{background:var(--tag-red);color:#fff}
  .stickycall .c2{background:var(--choc);color:var(--cream)}
  .stickycall .c3{background:#120b07;color:var(--cream)}
}
@media(max-width:520px){.hero{background-position:26% 22%}.cards4{grid-template-columns:1fr}.tiles{grid-template-columns:1fr}.board li{flex-wrap:wrap}.board li .dots{display:none}.board li .pr{margin-left:auto}.board li .th{flex-basis:100%;order:3;margin-top:-4px}}

/* ---------- real photo slots + gallery ---------- */
.slot-img{background-size:cover;background-position:center}
.slot-img .ph{display:none}
.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.gallery a{display:block;aspect-ratio:4/3;border-radius:10px;overflow:hidden}
.gallery img{width:100%;height:100%;object-fit:cover;transition:.25s}
.gallery a:hover img{transform:scale(1.05)}
@media(max-width:880px){.gallery{grid-template-columns:1fr 1fr}}

/* ---------- lightbox ---------- */
.lb{position:fixed;inset:0;background:rgba(18,11,6,.93);display:none;align-items:center;justify-content:center;z-index:200;cursor:zoom-out}
.lb.open{display:flex}
.lb img{max-width:92vw;max-height:86vh;border-radius:10px;box-shadow:0 20px 60px rgba(0,0,0,.6)}
.lb .x{position:absolute;top:14px;right:26px;color:#EDE7DA;font-size:2.4rem;cursor:pointer;line-height:1}
/* review-round-2: compact famous cards on small phones */
@media(max-width:520px){
  .cards4{grid-template-columns:1fr 1fr;gap:12px}
  .fcard .txt{padding:12px 14px 16px}
  .fcard h3{font-size:1rem}
  .fcard p{font-size:.8rem}
}

/* ---------- TIME-OF-DAY HERO ENGINE (v2 — final AI images, same framing) ----------
   Slots (drop-in, no code change):
     /img/hero-day.jpg    bright daytime, sign unlit
     /img/hero-night-base.jpg  night, venue lit, SIGN OFF (night base — the ignition lights it)
     /img/hero-night.jpg  night, sign LIT (source/fallback, not referenced by CSS)
     /img/hero-sign-letters.png  isolated letters overlay (THE night ignition layer)
     /img/hero-closed.jpg night, sign OFF (also the base plate under the night ignition)
   Night state = closed.jpg base + LETTERS-ONLY overlay flickering to life (v3, letter ignition). */
.hero--day{--heropos:center 13%;background-image:url('/img/hero-day.jpg');background-position:var(--heropos)}
.hero--night{--heropos:center 13%;background-image:url('/img/hero-night-base.jpg');background-position:var(--heropos)}
/* Twilight lift (2026-07-23): early-evening the night photo is brightened toward real Udon dusk.
   --twlift 0 = full night (today's exact look, the held peak) .. ~0.9 = 5pm brightness.
   Warm light strongest at the BOTTOM (the area that was reading too dark), soft sky tint above.
   screen-blend overlay, no filters on animated layers (Safari rule), fades with the 2s transition. */
.hero-tw{position:absolute;inset:0;z-index:0;pointer-events:none;opacity:0;transition:opacity 2.5s ease;
  background:linear-gradient(to top, rgba(255,196,130,.62) 0%, rgba(255,178,120,.34) 34%, rgba(150,150,205,.20) 70%, rgba(120,130,190,.12) 100%);
  mix-blend-mode:screen}
.hero--night .hero-tw{opacity:var(--twlift, 0)}
.hero--closed{--heropos:center 13%;background-image:url('/img/hero-closed.jpg');background-position:var(--heropos)}
.neon-layer{position:absolute;inset:0;z-index:0;pointer-events:none}
.hero--night .neon-layer--idle,
.hero--night .neon-layer--ignite{background:url('/img/hero-sign-letters.png') var(--heropos)/var(--herosize,cover) no-repeat}
/* idle runs from first paint, revealed later via visibility (never restarted) */
.hero--night .neon-layer--idle{opacity:1;visibility:hidden;animation:bhIdle 6s linear infinite}
.hero--night.hero-lit .neon-layer--idle{visibility:visible}
/* ignite is the only one-shot */
.hero--night .neon-layer--ignite{opacity:0}
.hero--night.hero-ready .neon-layer--ignite{animation:bhLetters 2s linear 1 both}
.hero--night.hero-lit .neon-layer--ignite{visibility:hidden;animation:none}
/* live boundary transition overlay (JS-created) */
.hero-xfade{position:absolute;inset:0;z-index:0;pointer-events:none;background-size:var(--herosize,cover);background-position:var(--heropos);background-repeat:no-repeat;opacity:0;transition:opacity 1.95s ease}
/* day state: sun-glint on the sign (masked warm patch, random position via --gx/--gy)
   + barely-perceptible facade light-breathe. Letters PNG doubles as the glint mask. */
.day-breathe{position:absolute;inset:0;z-index:0;pointer-events:none;background:#FFD696;opacity:0;animation:bhBreathe 34s ease-in-out 15s infinite}
.day-glint{position:absolute;inset:0;z-index:0;pointer-events:none;opacity:0;
  background:radial-gradient(ellipse 30% 16% at var(--gx,50%) var(--gy,15%), rgba(255,244,214,.9), rgba(255,236,190,.4) 45%, rgba(255,236,190,0) 72%);
  -webkit-mask-image:url('/img/hero-sign-letters.png');-webkit-mask-size:var(--herosize,cover);-webkit-mask-position:var(--heropos);-webkit-mask-repeat:no-repeat;
  mask-image:url('/img/hero-sign-letters.png');mask-size:var(--herosize,cover);mask-position:var(--heropos);mask-repeat:no-repeat}
.day-glint.glint-on{animation:bhGlint 3.2s ease-in-out 1}
@keyframes bhBreathe{0%{opacity:0}50%{opacity:.012}100%{opacity:0}}
@property --gx{syntax:'<percentage>';inherits:false;initial-value:50%}
@keyframes bhGlint{0%{opacity:0;--gx:6%}38%{opacity:.9}70%{opacity:.8}100%{opacity:0;--gx:92%}}
/* closed state: rare, faint "ghost sputter" of the dead sign — pure CSS, no JS */
.hero--closed .neon-layer--idle{background:url('/img/hero-sign-letters.png') var(--heropos)/var(--herosize,cover) no-repeat;opacity:0;animation:bhGhost 18s linear 3s infinite}
.hero:before{z-index:1}
.hero--day:before{background:linear-gradient(180deg,rgba(24,16,8,.22) 0%,rgba(24,16,8,.1) 34%,rgba(24,16,8,.58) 66%,rgba(24,16,8,.9) 100%)}
@keyframes bhLetters{
  0%{opacity:0}
  5%{opacity:.85}
  7%{opacity:.04}
  12%{opacity:.9}
  14%{opacity:.08}
  25%{opacity:.8}
  29%{opacity:.12}
  38%{opacity:.4}
  48%{opacity:.95}
  56%{opacity:.7}
  62%{opacity:1}
  100%{opacity:1}
}
@keyframes bhGhost{
  0%{opacity:0}
  50%{opacity:0}
  51%{opacity:.16}
  52%{opacity:.02}
  53.5%{opacity:.2}
  55%{opacity:.04}
  56%{opacity:.12}
  58%{opacity:0}
  100%{opacity:0}
}
@keyframes bhIdle{
  0%{opacity:1}
  30%{opacity:1}
  32%{opacity:.35}
  34%{opacity:1}
  37%{opacity:.7}
  39%{opacity:1}
  100%{opacity:1}
}
@media (prefers-reduced-motion: reduce){
  .hero--night .neon-layer--idle{animation:none !important;visibility:visible;opacity:1}
  .hero--night .neon-layer--ignite{animation:none !important;visibility:hidden}
  .hero--closed .neon-layer--idle{animation:none !important;opacity:0}
  .day-breathe,.day-glint{animation:none !important;opacity:0 !important}
}
.openbadge--closed{border-color:var(--taupe);color:var(--taupe);box-shadow:none;text-shadow:none;background:rgba(24,16,8,.55)}
/* subject-safe crops: neon sign lives in the top band, left-to-center */
@media(max-width:880px){
  /* phones: size by WIDTH (not cover) pinned to top — the sign gets a clear band and
     the photo fades into the dark panel where the text sits */
  .hero--day,.hero--night,.hero--closed{--heropos:50% 64px;--herosize:116% auto}
}
/* audit round-3 fixes */
a.tile{display:block;text-decoration:none;color:inherit}
.mapembed{aspect-ratio:4/3;border-radius:14px;overflow:hidden;background:#e6d8b8}


/* ---------- scroll-down cue (hero) ---------- */
.scroll-cue{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:40;color:var(--white-d);font-size:.72rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;opacity:.9;pointer-events:none;text-shadow:0 2px 8px rgba(0,0,0,.75);animation:bhBounce 2s ease-in-out infinite;transition:opacity .3s ease}
.scroll-cue.is-hidden{opacity:0}
@keyframes bhBounce{0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(8px)}}
@media(max-width:880px){.scroll-cue{bottom:70px}}
@media(prefers-reduced-motion:reduce){.scroll-cue{animation:none}}

/* ===== WHAT'S ON / SPECIALS — promo cards + accessible poster lightbox ===== */
.promos{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin-top:10px}
.promo{display:flex;gap:18px;background:linear-gradient(160deg,#3a2417,#1d130c);border:2px solid #5e3c17;border-radius:12px;padding:18px;box-shadow:0 7px 18px rgba(0,0,0,.35)}
.promo--hot{border-color:var(--amber);box-shadow:0 7px 22px rgba(232,131,58,.28)}
.promo-img{flex:0 0 42%;max-width:42%;padding:0;border:0;background:none;cursor:zoom-in;position:relative;border-radius:8px;overflow:hidden;align-self:start;line-height:0}
.promo-img img{display:block;width:100%;height:auto;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.45)}
.promo-img:focus-visible{outline:3px solid var(--amber);outline-offset:3px}
.promo-zoom{position:absolute;right:8px;bottom:8px;background:rgba(18,11,6,.72);color:var(--white-d);border-radius:50%;width:30px;height:30px;display:flex;align-items:center;justify-content:center;font-size:1.05rem;line-height:1;pointer-events:none}
.promo-txt{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:9px;color:var(--white-d)}
.promo-txt h3{font-size:1.35rem;color:#fff}
.promo-badges{display:flex;flex-wrap:wrap;gap:8px}
.promo-badge{font-size:.7rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;padding:4px 11px;border-radius:999px;line-height:1.5}
.promo-badge--event{background:var(--brick);color:#fff}
.promo-badge--dish{background:var(--amber);color:#2a1405}
.promo-badge--hot{background:var(--tag-red);color:#fff}
.promo-badge--venue{background:transparent;border:1px solid rgba(237,231,218,.5);color:rgba(237,231,218,.92)}
.promo-when{font-weight:700;color:var(--amber);font-size:1.02rem}
.promo-blurb{font-size:.95rem;opacity:.88;line-height:1.55}
.promo-price{font-family:'Oswald',Impact,sans-serif;font-size:1.35rem;color:#fff;letter-spacing:.03em}
.promo .btn{margin-top:auto}
@media(max-width:900px){.promos{grid-template-columns:1fr}}
@media(max-width:520px){.promo{gap:14px;padding:14px}.promo-img{flex-basis:38%;max-width:38%}.promo-txt h3{font-size:1.15rem}.promo-price{font-size:1.2rem}}
.plb{position:fixed;inset:0;background:rgba(18,11,6,.93);display:flex;align-items:center;justify-content:center;z-index:220}
.plb[hidden]{display:none}
.plb img{max-width:92vw;max-height:88vh;border-radius:10px;box-shadow:0 20px 60px rgba(0,0,0,.6)}
.plb-x{position:absolute;top:12px;right:16px;background:rgba(0,0,0,.45);border:2px solid rgba(237,231,218,.45);color:var(--white-d);font-size:1.9rem;line-height:1;width:48px;height:48px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center}
.plb-x:hover{border-color:var(--amber);color:#fff}
.plb-x:focus-visible{outline:3px solid var(--amber);outline-offset:2px}
body.plb-lock{overflow:hidden}

/* ===== Living Dish — cinemagraph video layered over a .slot's background image =====
   Reusable: add .slot--living to any .slot.slot-img, drop a <video class="living-dish"
   data-src="..."> inside. The slot's background-image is the poster; the video's first
   frame is identical to it, so the fade-in is seamless. JS (living-dish init in index)
   lazy-loads on approach, pauses off-screen, and skips entirely for reduced-motion /
   Save-Data / no-IntersectionObserver — those users keep the static photo. */
.slot--living{position:relative;overflow:hidden;transform:translateZ(0)}
.living-dish{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .9s ease}
.living-dish.is-on{opacity:1}
@media(prefers-reduced-motion:reduce){.living-dish{display:none}}

/* ===== FEATURE GRID — reusable "Blend" tiled-features component (added 2026-07-23) =====
   Reusable across bar sites (replaces the old faux-wood .tiles/.tile — those rules are now dead).
   Markup:
     <div class="feature-grid">
       <div class="feature-card">            (or <a class="feature-card" href="…"> for a linked card)
         <span class="fc-ic"><svg …/></span>  amber line-icon, ~28px, no fill/badge
         <h3 class="fc-title">TITLE</h3><span class="fc-line"></span>
         <p class="fc-body">…</p>
       </div> … (x6)
     </div>
   Sits on a dark background. The amber line under each title is the ONLY accent device. */
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:10px}
.feature-card{display:block;text-decoration:none;color:inherit;background:rgba(22,15,10,.6);border:1px solid rgba(255,255,255,.06);border-radius:11px;padding:18px 17px;transition:transform .22s ease,background-color .22s ease,border-color .22s ease}
.feature-card .fc-ic{display:block;width:28px;height:28px;color:#d9a441;margin-bottom:10px;transition:color .22s ease}
.feature-card .fc-ic svg{width:100%;height:100%;display:block}
.feature-card .fc-title{color:#f2e7cf;font-weight:700;text-transform:uppercase;font-size:14.5px;letter-spacing:.02em;line-height:1.25;margin:0}
.feature-card .fc-line{display:block;width:34px;height:2px;border-radius:2px;background:#d9a441;opacity:.5;margin-top:6px;transition:width .22s ease,opacity .22s ease}
.feature-card .fc-body{color:#c4b193;font-size:13px;line-height:1.5;margin:9px 0 0}
.feature-card:hover{transform:translateY(-4px);background:rgba(30,21,14,.72);border-color:rgba(217,164,65,.32)}
.feature-card:hover .fc-ic{color:#eabd5b}
.feature-card:hover .fc-line{opacity:1;width:48px}
@media(max-width:880px){.feature-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.feature-grid{grid-template-columns:1fr}}

/* ===== GALLERY LIGHTBOX NAV — reusable (added 2026-07-23) =====
   Pairs with /js/gallery-nav.js. Chevrons sit on a semi-transparent dark disc so they stay visible over the
   full contrast range of gallery photos (near-black bar interiors -> bright white plates). */
.lb img{opacity:1;transition:opacity .22s ease}
.lb-nav{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;padding:0;background:rgba(0,0,0,.45);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);border:1px solid rgba(255,255,255,.16);color:#f2e7cf;cursor:pointer;z-index:2;transition:background .18s ease,color .18s ease,border-color .18s ease}
.lb-nav svg{width:20px;height:20px;display:block}
.lb-prev{left:14px}
.lb-next{right:14px}
.lb-nav:hover{background:rgba(0,0,0,.62);color:#d9a441;border-color:rgba(217,164,65,.5)}
.lb-count{position:absolute;top:14px;right:16px;color:#f2e7cf;font-size:12px;letter-spacing:.14em;background:rgba(0,0,0,.45);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);border:1px solid rgba(255,255,255,.14);padding:5px 11px;border-radius:999px;z-index:2}
/* restyle the existing close (.x) into the matching top-LEFT disc (overrides the earlier .lb .x by source order) */
.lb .x{top:14px;left:16px;right:auto;width:34px;height:34px;display:flex;align-items:center;justify-content:center;font-size:1.55rem;border-radius:50%;background:rgba(0,0,0,.45);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);border:1px solid rgba(255,255,255,.16);color:#f2e7cf;z-index:2;transition:background .18s ease,color .18s ease,border-color .18s ease}
.lb .x:hover{background:rgba(0,0,0,.62);color:#d9a441;border-color:rgba(217,164,65,.5)}
@media(max-width:520px){.lb-nav{width:38px;height:38px}.lb-prev{left:7px}.lb-next{right:7px}}

/* ---------- footer: social + phone icons, link affordance (2026-07-23) ----------
   CSS-only. Applies to BOTH footers (index.php inline + inc/bottom.php) via shared
   .frow/.soc classes. Icons are CSS masks so they inherit currentColor and follow hover.
   font-size:0 on .soc hides the bare "." separator text node (pills replace it). */
footer .soc{gap:12px;font-size:0}
footer .soc a{display:inline-flex;align-items:center;gap:7px;font-size:.9rem;color:var(--taupe);
  border:1px solid rgba(217,164,65,.22);border-radius:20px;padding:7px 15px;
  transition:color .18s ease,border-color .18s ease}
footer .soc a:hover,footer .soc a:focus-visible{color:var(--amber);border-color:rgba(217,164,65,.55)}
footer .soc a::before{content:"";width:17px;height:17px;flex:0 0 17px;background-color:currentColor;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:center;mask-position:center;
  -webkit-mask-size:contain;mask-size:contain}
footer .soc a[href*="facebook"]::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 21v-8h2.7l.4-3.1h-3.1V7.9c0-.9.3-1.5 1.6-1.5h1.7V3.6c-.3 0-1.3-.1-2.4-.1-2.4 0-4 1.5-4 4.1v2.3H7.6V13h2.7v8z'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 21v-8h2.7l.4-3.1h-3.1V7.9c0-.9.3-1.5 1.6-1.5h1.7V3.6c-.3 0-1.3-.1-2.4-.1-2.4 0-4 1.5-4 4.1v2.3H7.6V13h2.7v8z'/%3E%3C/svg%3E")}
footer .soc a[href*="line.me"]::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.2c-5.1 0-9.2 3.3-9.2 7.5 0 3.7 3.3 6.8 7.7 7.4.3.1.7.2.8.4.1.2.1.6 0 .8l-.1.8c0 .2-.2.9.8.5 1-.4 5.2-3.1 7.1-5.3 1.3-1.4 2-2.9 2-4.6 0-4.2-4.1-7.5-9.1-7.5z'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.2c-5.1 0-9.2 3.3-9.2 7.5 0 3.7 3.3 6.8 7.7 7.4.3.1.7.2.8.4.1.2.1.6 0 .8l-.1.8c0 .2-.2.9.8.5 1-.4 5.2-3.1 7.1-5.3 1.3-1.4 2-2.9 2-4.6 0-4.2-4.1-7.5-9.1-7.5z'/%3E%3C/svg%3E")}
footer .frow a[href^="tel:"]{display:inline-flex;align-items:center;gap:6px;color:var(--white-d);font-weight:600;transition:color .18s ease}
footer .frow a[href^="tel:"]:hover{color:var(--amber)}
footer .frow a[href^="tel:"]::before{content:"";width:15px;height:15px;flex:0 0 15px;background-color:var(--amber);
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:center;mask-position:center;
  -webkit-mask-size:contain;mask-size:contain;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 15.5c-1.2 0-2.4-.2-3.6-.6-.3-.1-.7 0-1 .2l-2.2 2.2a15.1 15.1 0 0 1-6.6-6.6l2.2-2.2c.3-.3.4-.7.2-1-.4-1.2-.6-2.4-.6-3.6 0-.6-.4-1-1-1H4c-.6 0-1 .4-1 1 0 9.4 7.6 17 17 17 .6 0 1-.4 1-1v-3.5c0-.5-.4-.9-1-.9z'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 15.5c-1.2 0-2.4-.2-3.6-.6-.3-.1-.7 0-1 .2l-2.2 2.2a15.1 15.1 0 0 1-6.6-6.6l2.2-2.2c.3-.3.4-.7.2-1-.4-1.2-.6-2.4-.6-3.6 0-.6-.4-1-1-1H4c-.6 0-1 .4-1 1 0 9.4 7.6 17 17 17 .6 0 1-.4 1-1v-3.5c0-.5-.4-.9-1-.9z'/%3E%3C/svg%3E")}
@media (max-width:560px){
  footer .soc{margin-left:0;width:100%;flex-wrap:wrap}
}

/* ---------- logo: clean transparent white mark (2026-07-23) ----------
   Replaces the 700x700 JPEG photo-of-a-wall (brick-house-logo-wall.jpg) with a flat
   white-on-transparent PNG. Override is append-only: redefines --logo and drops the
   circular crop/ring/shadow, which only existed to cut the mark out of the wall photo.
   The artwork is already a circular stamp, so the ring drew a second concentric circle. */
:root{--logo:url("/img/brick-house-logo.png")}
.logoimg{background:var(--logo) center/contain no-repeat;border:none;box-shadow:none;border-radius:0}

/* ---------- phone icon on all tel: links (2026-07-23) ----------
   Replaces the removed telephone emoji site-wide. Sized in em so it scales with each
   button's own font-size; currentColor so it follows the link/button colour and hover.
   The more-specific footer rule above keeps its amber icon. */
a[href^="tel:"]{display:inline-flex;align-items:center;gap:.5em}
a[href^="tel:"]::before{content:"";width:1em;height:1em;flex:0 0 auto;background-color:currentColor;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:center;mask-position:center;
  -webkit-mask-size:contain;mask-size:contain;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 15.5c-1.2 0-2.4-.2-3.6-.6-.3-.1-.7 0-1 .2l-2.2 2.2a15.1 15.1 0 0 1-6.6-6.6l2.2-2.2c.3-.3.4-.7.2-1-.4-1.2-.6-2.4-.6-3.6 0-.6-.4-1-1-1H4c-.6 0-1 .4-1 1 0 9.4 7.6 17 17 17 .6 0 1-.4 1-1v-3.5c0-.5-.4-.9-1-.9z'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 15.5c-1.2 0-2.4-.2-3.6-.6-.3-.1-.7 0-1 .2l-2.2 2.2a15.1 15.1 0 0 1-6.6-6.6l2.2-2.2c.3-.3.4-.7.2-1-.4-1.2-.6-2.4-.6-3.6 0-.6-.4-1-1-1H4c-.6 0-1 .4-1 1 0 9.4 7.6 17 17 17 .6 0 1-.4 1-1v-3.5c0-.5-.4-.9-1-.9z'/%3E%3C/svg%3E")}
.stickycall a[href^="tel:"]{justify-content:center}

/* ---------- footer social: brand-coloured icons on hover (2026-07-24) ----------
   Option D + softened Facebook blue. Text and border stay amber; only the icon takes
   the brand colour, so the palette holds. Facebook uses a desaturated/warmed blue
   (#5b9be0) because full #1877F2 reads as a foreign object on the warm dark footer.
   LINE keeps its full brand green (#06C755), which sits comfortably as-is. */
footer .soc a[href*="facebook"]:hover::before,
footer .soc a[href*="facebook"]:focus-visible::before{background-color:#5b9be0}
footer .soc a[href*="line.me"]:hover::before,
footer .soc a[href*="line.me"]:focus-visible::before{background-color:#06C755}

/* ---------- homepage photo provenance note (2026-09-03) ----------
   ONE line, once, under the four Famous cards. Deliberately not repeated under
   the breakfast/roast sections: menu-side review was 2-1 that a repeated notice
   reads as a disclaimer system rather than provenance. Placed above both
   animated sections so it is read before that motion is seen; its wording
   covers the steam and the gravy pour. Sits in a .dark section. */
.photo-note{max-width:640px;margin:26px auto 0;text-align:center;font-style:italic;
  font-size:.82rem;line-height:1.55;opacity:.62}
@media(max-width:640px){.photo-note{font-size:.78rem;margin-top:20px}}

/* 2026-10-21 What's On: bigger posters. One promo = full-width card with a large poster; phones = poster on top, full width. */
.promos > .promo:only-child{grid-column:1 / -1}
.promo:only-child{padding:24px;gap:30px}
.promo:only-child .promo-img{flex:0 0 44%;max-width:460px}
.promo:only-child .promo-txt h3{font-size:1.7rem}
.promo:only-child .promo-blurb{font-size:1.02rem}
@media(max-width:640px){.promo{flex-direction:column}.promo-img,.promo:only-child .promo-img{flex:0 0 auto;max-width:100%;width:100%}.promo:only-child{padding:16px;gap:16px}}
