/* Bonenbar — demo (Start). Bricolage Grotesque + Caveat (chalk only). Espresso / oat / tomato. */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 400; font-display: swap; src: url("fonts/bricolage-grotesque-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 600; font-display: swap; src: url("fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url("fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-weight: 500; font-display: swap; src: url("fonts/caveat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-weight: 700; font-display: swap; src: url("fonts/caveat-latin-700-normal.woff2") format("woff2"); }

:root {
  --espresso: #2a1810;
  --espresso-soft: #4a3226;
  --oat: #efe4d2;
  --oat-deep: #e3d4bc;
  --tomato: #e2432a;
  --leaf: #7b9a6a;
  --chalk: #f3ead9;
  --sans: "Bricolage Grotesque", "Helvetica Neue", sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --gutter: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--oat); color: var(--espresso); font: 400 17px/1.5 var(--sans); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.03em; line-height: .95; }
h2 { font-size: clamp(36px, 5.5vw, 68px); }
p { margin: 0; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.btn {
  appearance: none; border: 0; cursor: pointer; text-decoration: none; display: inline-block;
  font: 600 15px/1 var(--sans); color: var(--oat); background: var(--espresso); padding: 14px 20px; border-radius: 6px;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--tomato); }
.btn:focus-visible { outline: 3px solid var(--tomato); outline-offset: 3px; }
.btn--red { background: var(--tomato); }
.btn--red:hover { box-shadow: 3px 3px 0 var(--espresso); }
.bbrm-demo-note { font: 600 14px/1.4 var(--sans); background: var(--tomato); color: var(--oat); padding: 10px 14px; border-radius: 6px; margin-top: 12px; }
.where__hours .bbrm-demo-note { max-width: 36ch; }

/* header */
.top {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 20px; padding: 12px var(--gutter);
  background: var(--oat); border-bottom: 2px solid var(--espresso);
}
.wordmark { font: 800 26px/1 var(--sans); letter-spacing: -.04em; text-decoration: none; }
.wordmark span { color: var(--tomato); }
.nav { display: none; gap: 20px; margin-left: auto; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--tomato); }
.top .btn { margin-left: auto; font-size: 13px; padding: 11px 14px; }
@media (min-width: 900px) { .nav { display: flex; } .top .btn { margin-left: 0; } }

/* hero */
.hero { display: grid; gap: 32px; padding: 44px var(--gutter) 40px; align-items: end; }
.eyebrow { font: 600 13px/1 var(--sans); text-transform: uppercase; letter-spacing: .16em; color: var(--tomato); margin-bottom: 22px; }
.hero__title { font-size: clamp(60px, 12vw, 124px); }
.hero__title .w { display: block; }
.hero__title .w--red { color: var(--tomato); }
.hero__sub { font-size: clamp(17px, 1.5vw, 20px); max-width: 36ch; margin: 24px 0 30px; color: var(--espresso-soft); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.hero__open { font: 500 20px/1 var(--hand); }
.hero__photo { margin: 0; position: relative; justify-self: center; width: min(100%, 420px); }
.hero__photo::before { content: ""; position: absolute; inset: 12px -12px -12px 12px; background: var(--tomato); border-radius: 8px; z-index: -1; }
.hero__photo img { border-radius: 8px; aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.scribble { font: 500 clamp(20px, 2vw, 26px)/1.1 var(--hand); color: var(--espresso); position: absolute; left: -8px; bottom: -34px; transform: rotate(-3deg); background: var(--oat); padding: 2px 8px; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 7fr 4fr; padding-top: 64px; padding-bottom: 72px; min-height: calc(100vh - 64px); align-items: center; }
  .hero__photo { justify-self: end; width: 100%; max-width: 440px; }
  .hero__photo::before { inset: 18px -18px -18px 18px; }
}

/* chalkboard */
.board { background: var(--espresso); color: var(--chalk); padding: 72px var(--gutter) 80px; position: relative; isolation: isolate; }
.board::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background:
    radial-gradient(60% 50% at 20% 30%, rgba(255,255,255,.07), transparent 70%),
    radial-gradient(50% 60% at 80% 70%, rgba(255,255,255,.05), transparent 70%),
    repeating-linear-gradient(115deg, transparent 0 7px, rgba(255,255,255,.015) 7px 9px);
}
.board__inner { max-width: 1100px; }
.board__title { font: 700 clamp(56px, 9vw, 112px)/1 var(--hand); color: var(--chalk); letter-spacing: 0; }
.board__note { font: 500 22px/1 var(--hand); color: var(--tomato); margin: 6px 0 44px; transform: rotate(-1.5deg); display: inline-block; }
.board__cols { display: grid; gap: 40px; }
.board__col h3 { font: 700 34px/1 var(--hand); letter-spacing: 0; margin-bottom: 14px; border-bottom: 2px dashed rgba(243,234,217,.35); padding-bottom: 10px; display: inline-block; }
.board__col dl { margin: 0; display: grid; gap: 10px; }
.board__col dl > div { display: flex; align-items: baseline; gap: 10px; font: 500 24px/1.15 var(--hand); }
.board__col dl > div::after { content: ""; flex: 1; order: 1; border-bottom: 2px dotted rgba(243,234,217,.3); transform: translateY(-6px); }
.board__col dt { order: 0; }
.board__col dd { order: 2; margin: 0; font-weight: 700; color: var(--chalk); }
.board__ps { font: 500 20px/1.2 var(--hand); color: var(--tomato); margin-top: 22px; transform: rotate(1deg); }
@media (min-width: 760px) { .board__cols { grid-template-columns: 1.2fr 1fr 1fr; } }

/* why */
.why { display: grid; gap: 36px; padding: 80px var(--gutter); align-items: center; }
.why__photo { margin: 0; }
.why__photo img { border-radius: 8px; aspect-ratio: 3/4; object-fit: cover; }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; }
.why__list li { display: grid; gap: 10px; border-top: 2px solid var(--espresso); padding-top: 16px; }
.why__n { font: 500 22px/1 var(--hand); color: var(--tomato); }
.why__list h2 { font-size: clamp(30px, 3.6vw, 48px); }
.why__list p { color: var(--espresso-soft); max-width: 44ch; }
@media (min-width: 900px) { .why { grid-template-columns: 4fr 6fr; gap: 72px; } }

/* where: hours + map */
.where { display: grid; gap: 40px; padding: 0 var(--gutter) 80px; align-items: center; }
.where table { border-collapse: collapse; margin: 22px 0 26px; font-size: 18px; }
.where th { text-align: left; font-weight: 600; padding: 8px 28px 8px 0; color: var(--tomato); }
.where td { padding: 8px 0; font-variant-numeric: tabular-nums; }
.where tr + tr th, .where tr + tr td { border-top: 1px solid rgba(42,24,16,.15); }
.where__addr { margin-bottom: 26px; max-width: 36ch; line-height: 1.45; }
.map { margin: 0; border: 2px solid var(--espresso); border-radius: 8px; overflow: hidden; background: var(--oat-deep); box-shadow: 6px 6px 0 var(--tomato); }
.map svg { display: block; width: 100%; height: auto; }
@media (min-width: 900px) { .where { grid-template-columns: 5fr 7fr; gap: 72px; } }

/* photo grid */
.grid { padding: 0 var(--gutter) 80px; }
.grid__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; margin-bottom: 26px; }
.grid__head p { font: 500 22px/1 var(--hand); color: var(--tomato); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tiles li { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: var(--oat-deep); }
.tiles img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tiles li:hover img { transform: scale(1.05) rotate(-1deg); }
.tiles span { position: absolute; left: 10px; bottom: 10px; font: 500 18px/1.1 var(--hand); background: var(--oat); color: var(--espresso); padding: 3px 9px; border-radius: 4px; transform: rotate(-2deg); }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 14px; } }

/* footer */
.foot { border-top: 2px solid var(--espresso); padding: 28px var(--gutter) 90px; display: grid; gap: 8px; font-size: 15px; color: var(--espresso-soft); }
.wordmark--small { font-size: 22px; color: var(--espresso); }

/* motion */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .hero__title .w { transform: translateY(.6em); }
.js .hero__title .w.in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js .hero__title .w { opacity: 1; transform: none; transition: none; }
  .tiles img, .btn { transition: none; }
}
