/* Haus of Grams, site v6: SWED-style layout, HOG branding */
@font-face {
  font-family: "Free Lunch";
  src: url("fonts/FreeLunch-Regular.otf") format("opentype");
  font-display: swap;
}
:root {
  --charcoal: #292724;
  --ink: #1b1a18;
  --yellow: #F2B131;
  --cream: #FAF6F0;
  --wood: url("images/woodPanel2-web.jpg");
  --display: "Free Lunch", "Arial Black", sans-serif;
  --body: "Space Mono", ui-monospace, monospace;
  --shadow: 5px 5px 0 var(--ink);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--cream); background: var(--charcoal); line-height: 1.6; }
a { color: var(--yellow); }
img { display: block; max-width: 100%; }
.page-width { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Wood banner: dark wash keeps text readable and hides photo softness */
.wood {
  background:
    linear-gradient(rgba(27,26,24,.55), rgba(27,26,24,.7)),
    var(--wood) center / cover;
}

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--yellow); color: var(--ink); text-align: center;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .08em;
  font-size: .95rem; padding: .5rem 1rem;
}

/* ---------- Header: logo centered, menu either side ---------- */
header { position: sticky; top: 0; z-index: 5; background: var(--charcoal); border-bottom: 3px solid var(--yellow); }
.header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem;
  max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem;
}
.header-inner nav { display: flex; gap: 2rem; }
.header-inner nav:last-child { justify-content: flex-end; }
.header-inner nav a {
  color: var(--cream); text-decoration: none; font-family: var(--display);
  text-transform: uppercase; letter-spacing: .06em; font-size: 1.15rem;
  border-bottom: 3px solid transparent; padding-bottom: 2px;
}
.header-inner nav a:hover, .header-inner nav a[aria-current] { color: var(--yellow); border-color: var(--yellow); }
.header-logo img { height: 46px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--display); text-transform: uppercase;
  letter-spacing: .06em; font-size: 1.2rem; text-decoration: none; line-height: 1;
  background: var(--yellow); color: var(--ink); border: 3px solid var(--ink);
  padding: .95rem 2rem; border-radius: 999px; box-shadow: var(--shadow); cursor: pointer;
  transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--cream); box-shadow: none; }
.btn-ghost:hover { background: var(--cream); color: var(--ink); transform: none; box-shadow: none; }
.btn-dark, .cream .btn-dark, .coming .btn-dark { background: var(--ink); color: var(--yellow); text-decoration: none; }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero { min-height: 78vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 5rem 1.5rem; }
.hero h1 img { width: min(560px, 80vw); margin: 0 auto; filter: drop-shadow(6px 6px 0 var(--ink)); }
.tagline {
  display: block; font-family: var(--display); text-transform: uppercase; color: var(--cream);
  font-size: clamp(1.5rem, 3.4vw, 2.4rem); letter-spacing: .08em; margin: 1.75rem 0 2.25rem;
  text-shadow: 3px 3px 0 var(--ink);
}
.hero .btn-row { justify-content: center; }

/* ---------- Badges (straight) ---------- */
.badges { background: var(--ink); border-bottom: 3px solid var(--yellow); }
.badges .page-width { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem 2.25rem; padding-top: 1.6rem; padding-bottom: 1.6rem; }
.badge {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: 1.05rem;
  background: var(--cream); color: var(--ink); border: 3px solid var(--ink);
  outline: 2px dashed var(--yellow); outline-offset: -7px; padding: .7rem 1.3rem; border-radius: 12px;
}

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.cream { background: var(--cream); color: var(--ink); }
.cream a { color: var(--ink); text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.eyebrow {
  display: inline-block; font-family: var(--display); text-transform: uppercase; letter-spacing: .08em;
  background: var(--yellow); color: var(--ink); border: 2px solid var(--ink);
  padding: .25rem .9rem; border-radius: 999px; font-size: .95rem; margin-bottom: 1.1rem;
}
.h2 {
  font-family: var(--display); text-transform: uppercase; line-height: .95;
  font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 1.4rem; letter-spacing: .01em;
}
.on-dark .h2, .wood .h2 { color: var(--yellow); text-shadow: 4px 4px 0 var(--ink); }
.lead { font-size: 1.05rem; margin-bottom: 1.1rem; }
.center { text-align: center; }

.two-col { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }

/* Banner with text on one side */
.banner { padding: 7rem 0; }
.banner .box { max-width: 540px; }
.banner.right .box { margin-left: auto; }

/* ---------- Category tiles ---------- */
.tiles { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); margin-top: 2.5rem; }
.tile {
  display: flex; flex-direction: column; justify-content: space-between; min-height: 190px;
  background: var(--charcoal); color: var(--cream); text-decoration: none;
  border: 3px solid var(--ink); border-radius: 16px; padding: 1.5rem; box-shadow: var(--shadow);
  transition: background .15s, color .15s;
}
.tile b { font-family: var(--display); font-weight: normal; text-transform: uppercase; font-size: 2.3rem; line-height: .95; color: var(--yellow); }
.tile span { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.tile:hover { background: var(--yellow); }
.tile:hover b, .tile:hover span { color: var(--ink); }

/* ---------- Visit ---------- */
.visit { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: stretch; }
.map { width: 100%; height: 100%; min-height: 420px; border: 3px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow); }
.sign {
  background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); border-radius: 16px;
  box-shadow: var(--shadow); padding: 2rem 1.75rem; text-align: center;
}
.sign h3 { font-family: var(--display); font-weight: normal; text-transform: uppercase; font-size: 2.6rem; line-height: 1; margin-bottom: 1rem; }
.sign .hrs { font-family: var(--display); text-transform: uppercase; font-size: 1.35rem; margin-top: .8rem; line-height: 1.1; }
.sign .lc { font-size: .85rem; }
.sign hr { border: 0; border-top: 3px dashed var(--ink); margin: 1.2rem 0; }
.sign p { margin-bottom: .4rem; }
.sign .btn { margin-top: 1rem; }

/* ---------- FAQ (two columns on home) ---------- */
.faq { display: grid; gap: 1rem; }
.faq.cols { grid-template-columns: 1fr 1fr; align-items: start; }
.faq details {
  background: var(--cream); color: var(--ink); border: 3px solid var(--ink);
  border-radius: 14px; box-shadow: var(--shadow); padding: 1.05rem 1.3rem;
}
.faq details[open] { background: var(--yellow); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--display); text-transform: uppercase; font-size: 1.25rem; line-height: 1.1;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: .8; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: .8rem; }
.faq a { color: var(--ink); text-decoration-thickness: 2px; }

/* ---------- Inner pages ---------- */
.page-banner { padding: 5rem 1.5rem 4.5rem; text-align: center; border-bottom: 3px solid var(--yellow); }
.page-banner h1 {
  font-family: var(--display); font-weight: normal; text-transform: uppercase; color: var(--yellow);
  font-size: clamp(3.2rem, 9vw, 6.5rem); line-height: .9; text-shadow: 5px 5px 0 var(--ink);
}
.page-banner p { margin-top: 1rem; font-weight: 700; font-size: 1.1rem; }
.narrow { max-width: 820px; margin: 0 auto; }
.menu-frame { width: 100%; min-height: 100vh; border: 3px solid var(--ink); border-radius: 16px; background: var(--cream); }
.coming {
  max-width: 680px; margin: 0 auto; text-align: center; background: var(--yellow); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 18px; box-shadow: 8px 8px 0 var(--ink); padding: 2.75rem 2rem;
}
.coming a { color: var(--ink); }
.coming .btn { color: var(--yellow); }
.flyers { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.flyers:empty { display: none; }
.flyers img { width: 100%; border: 3px solid var(--ink); border-radius: 12px; box-shadow: var(--shadow); }
.legal-page h2 { font-family: var(--display); font-weight: normal; text-transform: uppercase; font-size: 1.5rem; margin: 2rem 0 .5rem; }
.legal-page ul { margin: .5rem 0 1rem 1.25rem; }
.legal-page p { margin-bottom: .75rem; }
.legal-page .effective { font-weight: 700; }

/* ---------- Footer: four columns ---------- */
footer { background: var(--ink); border-top: 3px solid var(--yellow); padding: 4rem 0 2rem; font-size: .9rem; }
.foot-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
footer h2 { font-family: var(--display); font-weight: normal; color: var(--yellow); text-transform: uppercase; font-size: 1.5rem; letter-spacing: .04em; margin-bottom: .8rem; }
footer ul { list-style: none; display: grid; gap: .35rem; }
footer ul a { color: var(--cream); text-decoration: none; }
footer ul a:hover { color: var(--yellow); }
footer form { display: flex; gap: .5rem; flex-wrap: wrap; margin: .75rem 0 1rem; }
footer input {
  flex: 1; min-width: 160px; padding: .7rem .9rem; font: inherit; color: var(--ink);
  background: var(--cream); border: 3px solid var(--charcoal); border-radius: 999px;
}
footer .btn { font-size: 1rem; padding: .65rem 1.2rem; box-shadow: 3px 3px 0 #000; }
/* Text signup: the consent sits under the phone field, full width. The error shows when a failed
   signup lands on #signup, so it works with JavaScript off. */
footer .sms-consent { flex: 1 1 100%; display: flex; gap: .55rem; align-items: flex-start; font-size: .72rem; line-height: 1.45; }
footer .sms-consent input { flex: none; min-width: 0; width: 1.15rem; height: 1.15rem; margin-top: .15rem; padding: 0; border-radius: 3px; accent-color: var(--yellow); }
footer .sms-consent a { color: var(--yellow); }
.signup-error { display: none; margin: .5rem 0; padding: .6rem .8rem; border: 2px solid var(--yellow); border-radius: 10px; font-size: .85rem; }
#signup:target .signup-error, .signup-error.show { display: block; }
.foot-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px dashed rgba(250,246,240,.3);
  display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: .75rem;
}
.plate {
  display: inline-flex; flex-direction: column; align-items: center; background: var(--cream); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 8px; padding: .25rem .9rem .3rem;
  outline: 2px solid var(--cream); outline-offset: 2px;
}
.plate small { font-size: .55rem; letter-spacing: .25em; text-transform: uppercase; color: #8a5a00; }
.plate b { font-family: var(--display); font-weight: normal; font-size: 1.3rem; letter-spacing: .08em; }

/* ---------- Age gate ---------- */
#age-gate {
  position: fixed; inset: 0; z-index: 20; background: var(--yellow); color: var(--ink);
  display: flex; align-items: center; justify-content: center; padding: 1.5rem; text-align: center;
}
#age-gate[hidden] { display: none; }
.gate-box img { width: min(340px, 75vw); margin: 0 auto 2rem; }
.gate-box p { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.4rem, 3.4vw, 2rem); line-height: 1.1; margin-bottom: 2rem; }
.gate-actions { display: flex; gap: 1.1rem; justify-content: center; flex-wrap: wrap; }
.gate-box .btn { background: var(--ink); color: var(--yellow); }
.gate-box .btn-exit { background: transparent; color: var(--ink); }

@media (max-width: 900px) {
  .header-inner { grid-template-columns: 1fr; justify-items: center; gap: .75rem; }
  .header-inner nav, .header-inner nav:last-child { justify-content: center; gap: 1.25rem; }
  .header-logo { order: -1; }
  .two-col, .visit, .faq.cols { grid-template-columns: 1fr; gap: 2rem; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .banner { padding: 5rem 0; }
}
@media (max-width: 520px) {
  .tiles, .foot-grid { grid-template-columns: 1fr; }
}

/* Deals */
.deals-note { text-align: center; margin-top: 3rem; }
.deals-note .lead { margin-bottom: 1.5rem; }

/* Deals carousel: endless sideways scroll of flyers.
   The set is repeated so the loop never shows a gap; copies are hidden from screen readers. */
.deals-banner { padding: 5.5rem 0 6rem; overflow: hidden; }
.deals-banner .head { text-align: center; margin-bottom: 2.5rem; }
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee a { flex: none; margin-right: 2rem; }
.marquee img {
  height: clamp(190px, 24vw, 300px); width: auto;
  border: 3px solid var(--ink); border-radius: 14px; box-shadow: 6px 6px 0 var(--ink);
}
@keyframes marquee { to { transform: translateX(-50%); } }
.deals-banner .btn-row { justify-content: center; margin-top: 2.75rem; }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
  .marquee [aria-hidden="true"] { display: none; }
}

/* ---------- Haus Flower pop-up (after age gate) ---------- */
#promo {
  position: fixed; inset: 0; z-index: 15; background: rgba(27,26,24,.82);
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  animation: promo-in .25s ease-out;
}
.promo-box {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 2.25rem; align-items: center;
  width: 100%; max-width: 900px; max-height: calc(100vh - 3rem); overflow: auto;
  background: var(--cream); color: var(--ink); border: 3px solid var(--ink);
  border-radius: 18px; box-shadow: 10px 10px 0 var(--ink); padding: 1.75rem 2.5rem 1.75rem 1.75rem;
}
.promo-box img { height: min(64vh, 540px); width: auto; border: 3px solid var(--ink); border-radius: 12px; }
.promo-text p { font-size: 1.1rem; line-height: 1.7; margin-bottom: 1.75rem; }
.promo-close {
  position: absolute; top: .75rem; right: .75rem; width: 44px; height: 44px; border-radius: 50%;
  background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  font: 700 1.2rem/1 var(--body); cursor: pointer;
}
.promo-close:hover { background: var(--ink); color: var(--yellow); }
@keyframes promo-in { from { opacity: 0; } }
@media (max-width: 700px) {
  .promo-box { grid-template-columns: 1fr; gap: 1.25rem; text-align: center; padding: 3.5rem 1.25rem 1.5rem; }
  .promo-box img { height: auto; width: min(260px, 68vw); margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) { #promo { animation: none; } }

/* Text for screen readers and crawlers only (homepage H1). */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
