/* Hawke shops template: shared layout for small shop demo sites (bakeries, florists, groomers, markets).
   Each site's styles.css = this file + its own theme block (colours, fonts, hero). Mobile first.
   Made by hawke-shops/build.py. Edit here, then rebuild. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

h2 { font-family: var(--display); font-weight: var(--display-weight, 700); font-size: clamp(2rem, 7vw, 3rem); line-height: 1.08; letter-spacing: var(--display-track, -0.01em); margin-bottom: 26px; text-wrap: balance; }
h3 { font-family: var(--sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: var(--radius-btn, 999px); background: var(--ink); color: var(--on-ink, #fff);
  font-weight: 600; text-decoration: none; letter-spacing: 0.01em; transition: transform .2s var(--ease), opacity .2s var(--ease), background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, .links a:focus-visible, .bookbar:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-accent { background: var(--accent); color: var(--on-accent, #fff); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-ghost:hover { background: var(--ink); color: var(--on-ink, #fff); }
.btn-small { padding: 9px 20px; font-size: 0.95rem; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; background: var(--nav-bg, rgba(255,255,255,.92)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { font-family: var(--brand-font, var(--display)); font-size: var(--brand-size, 1.45rem); font-weight: var(--display-weight, 700); line-height: 1; text-decoration: none; white-space: nowrap; }
.links { display: none; gap: 28px; font-weight: 600; }
.links a { text-decoration: none; }
.nav .btn-small { display: none; }

/* Hero (each theme styles its own art) */
.hero { position: relative; padding: 40px 0 56px; overflow: hidden; isolation: isolate; }
.hero-in { position: relative; display: grid; gap: 36px; align-items: center; }
.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.lead { font-size: clamp(1.06rem, 4vw, 1.22rem); max-width: 34ch; margin-bottom: 26px; color: var(--soft); }
.rating { margin-top: 22px; font-size: 0.92rem; color: var(--soft); }
.stars { color: var(--star, var(--accent)); letter-spacing: 2px; margin-right: 6px; }

/* Sections */
.section { padding: 72px 0; }
.section-tint { background: var(--tint); }
.intro { max-width: 60ch; color: var(--soft); margin: -10px 0 30px; }

/* Menu / services: name on the left, small print on the right */
.menu { display: grid; gap: 36px; }
.menu ul { list-style: none; }
.menu li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.item, .nm { font-weight: 600; }
.menu small { font-size: 0.9rem; color: var(--soft); text-align: right; }
.price { font-weight: 700; white-space: nowrap; }
.fine { margin-top: 26px; max-width: 62ch; color: var(--soft); font-size: 0.95rem; }

/* Photo grid: plain grid, no sideways swiping, so page scrolling never gets stuck */
.gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gal figure { position: relative; margin: 0; border-radius: var(--radius, 18px); overflow: hidden; background: var(--tint); aspect-ratio: 1; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gal figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: #1b1b1b; font-size: 0.82rem; font-weight: 600; }
@media (hover: hover) { .gal figure:hover img { transform: scale(1.04); } }
.gal .wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.follow { display: inline-block; margin-top: 22px; font-weight: 600; }

/* Fact cards */
.facts { display: grid; gap: 14px; margin-top: 34px; }
.fact { padding: 22px 22px 20px; border-radius: var(--radius, 18px); background: var(--card, #fff); box-shadow: var(--shadow); }
.fact b { display: block; font-family: var(--display); font-size: 1.25rem; line-height: 1.2; margin-bottom: 4px; }
.fact p { color: var(--soft); font-size: 0.95rem; }

/* Reviews: stacked cards on phones (no sideways scroll), three across on bigger screens */
.revs { display: grid; gap: 14px; }
.rcard { margin: 0; padding: 24px 22px 18px; border-radius: var(--radius, 18px); background: var(--card, #fff); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.r-stars { color: var(--star, var(--accent)); letter-spacing: 3px; font-size: 0.95rem; line-height: 1; }
.rcard blockquote { flex: 1; font-size: 1.02rem; line-height: 1.6; }
.rcard figcaption { font-size: 0.86rem; color: var(--soft); padding-top: 12px; border-top: 1px solid var(--line); }
.rcard figcaption b { color: var(--ink); }
.rev-link { display: inline-block; margin-top: 22px; font-weight: 600; }

/* Visit */
.visit { display: grid; gap: 34px; }
.addr { font-family: var(--display); font-size: 1.35rem; line-height: 1.3; margin-bottom: 10px; }
.note { color: var(--soft); margin-bottom: 20px; }
.note a { color: var(--ink); font-weight: 600; }
.hours { border-collapse: collapse; width: 100%; max-width: 400px; margin-bottom: 24px; background: var(--card, #fff); border-radius: var(--radius, 16px); overflow: hidden; box-shadow: var(--shadow); }
.hours th, .hours td { text-align: left; padding: 9px 16px; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours td { text-align: right; }
.hours tr.today { background: var(--accent); color: var(--on-accent, #fff); }
.hours tr.today th, .hours tr.today td { font-weight: 600; }
.map { width: 100%; height: 320px; border: 0; border-radius: var(--radius, 22px); background: var(--tint); box-shadow: var(--shadow); }
.spots { display: grid; gap: 14px; margin-bottom: 26px; }

/* About fold-out (Google reads it, page stays short) */
.about-wrap { padding-bottom: 56px; }
.about { border-top: 1px solid var(--line); padding-top: 18px; color: var(--soft); max-width: 68ch; }
.about summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.about summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.about p { margin-top: 12px; }
.about a { color: var(--ink); }

/* Footer */
.foot { background: var(--foot, var(--ink)); color: rgba(255,255,255,.78); padding: 30px 0 100px; font-size: 0.92rem; }
.foot-in { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between; align-items: center; }
.foot-brand { font-family: var(--brand-font, var(--display)); font-size: 1.5rem; line-height: 1; color: #fff; }
.foot a { color: #fff; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.credit a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }

/* Phone action pill, bottom right. Replaces the top-bar button on phones. */
.bookbar { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  padding: 12px 26px; border-radius: 999px; background: var(--pill, var(--ink)); color: var(--on-pill, #fff); font-weight: 600; text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.28), 0 0 0 2px #fff; }

@media (max-width: 420px) {
  .menu li { flex-direction: column; gap: 0; }
  .menu small { text-align: left; }
}

/* iPad and up */
@media (min-width: 760px) {
  .wrap { padding: 0 36px; }
  .links { display: flex; }
  .nav .btn-small { display: inline-flex; }
  .hero { padding: 72px 0 88px; }
  .hero-in { grid-template-columns: 1.05fr 1fr; gap: 48px; }
  .menu { grid-template-columns: 1fr 1fr; gap: 40px 56px; }
  .gal { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .revs { grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
  .visit { grid-template-columns: 1fr 1.1fr; align-items: start; }
  .map { height: 100%; min-height: 460px; }
  .bookbar { display: none; }
  .foot { padding-bottom: 30px; }
}
@media (min-width: 1100px) {
  .gal { grid-template-columns: repeat(4, 1fr); }
  .gal.gal-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* ---------- Laib Bakery theme ---------- */

.lb { --bg:#FBF7F0; --tint:#F1E8DA; --ink:#2E2119; --soft:#6B5A4C; --accent:#A55A28; --on-accent:#fff; --star:#C98A3D; --line:rgba(46,33,25,.13);
  --display:'Fraunces', Georgia, serif; --sans:'Work Sans', system-ui, sans-serif; --brand-font:'UnifrakturMaguntia', serif; --brand-size:2rem;
  --ease:cubic-bezier(.16,1,.3,1); --shadow:0 1px 2px rgba(46,33,25,.07), 0 14px 34px rgba(46,33,25,.13); --radius:14px; --foot:#2E2119; }
.lb .brand { font-weight: 400; }
.lb .hero { background: radial-gradient(90% 70% at 80% 30%, #4A3426 0%, #2E2119 60%, #221811 100%); color: #F3EBDD; }
.lb .flour { position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.55) 1px, transparent 1.6px), radial-gradient(rgba(255,255,255,.35) 1px, transparent 1.4px), radial-gradient(rgba(255,255,255,.25) 2px, transparent 2.6px);
  background-size: 37px 41px, 23px 29px, 71px 67px; background-position: 0 0, 11px 7px, 30px 20px;
  -webkit-mask: radial-gradient(70% 60% at 75% 45%, #000, transparent 75%); mask: radial-gradient(70% 60% at 75% 45%, #000, transparent 75%); animation: lb-dust 30s linear infinite; }
@keyframes lb-dust { to { background-position: 0 41px, 11px 36px, 30px 87px; } }
.lb .hero .eyebrow { color: #E2A867; }
.lb .lb-title { font-family: 'UnifrakturMaguntia', serif; font-weight: 400; font-size: clamp(5.4rem, 26vw, 9rem); line-height: .9; margin-bottom: 16px; color: #F3EBDD; text-shadow: 0 6px 30px rgba(0,0,0,.35); }
.lb .hero .lead, .lb .hero .rating { color: rgba(243,235,221,.8); }
.lb .hero .btn-accent { background: #E2A867; color: #2E2119; }
.lb .hero .btn-ghost { color: #F3EBDD; }
.lb .hero .btn-ghost:hover { background: #F3EBDD; color: #2E2119; }
.lb .loaf-wrap { position: relative; width: 100%; max-width: 440px; justify-self: center; padding-bottom: 30px; }
.lb .loaf { width: 88%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 10px rgba(243,235,221,.08), 0 30px 60px rgba(0,0,0,.45); }
.lb .pretzel { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid #2E2119; box-shadow: 0 16px 30px rgba(0,0,0,.4); }
.lb .def { position: absolute; left: 0; bottom: 6px; padding: 8px 14px; border-radius: 999px; background: #F3EBDD; color: #2E2119; font-size: .85rem; box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.lb .def b { font-family: 'UnifrakturMaguntia', serif; font-weight: 400; font-size: 1.1rem; }
.lb .menu { margin-bottom: 40px; }
.lb .gal figure { border-radius: 12px; }
.lb #pickup .hours { margin-top: 30px; max-width: 320px; }
.lb .fact b { color: var(--accent); }
@media (min-width: 760px) { .lb .gal.gal-3 { grid-template-columns: repeat(3, 1fr); } }
html:root { --hk-accent:#A55A28; --hk-ink:#2E2119; --hk-tint:#F1E8DA; }
