/* Beakers — hand-painted roadside sign on a turquoise wall. */
:root {
  --wall: #0f9e9a;        /* painted concrete turquoise */
  --wall-deep: #0a7774;
  --sign: #ffc93c;        /* sign-board yellow */
  --pepper: #e0311f;      /* scotch-bonnet red */
  --crust: #8a4b14;       /* fry crust brown */
  --ink: #1b2a5c;         /* deep sea blue, used instead of black */
  --bone: #fff8ea;
  --lime: #d9ef8b;        /* second wall colour, for the lower section */

  --display: "Bungee", "Arial Black", Impact, sans-serif;
  --shade: "Bungee Shade", "Bungee", Impact, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-0: 1.0625rem;
  --step-1: 1.333rem;
  --step-2: 1.777rem;
  --step-3: 2.369rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bone);
  color: var(--ink);
  font: 400 var(--step-0)/1.55 var(--body);
}
a { color: inherit; }
:focus-visible { outline: 4px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--bone); padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Hero: the wall ---------- */
.wall {
  position: relative;
  min-height: min(100svh, 980px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0 16px 7rem;
  text-align: center;
  color: var(--bone);
  background-color: var(--wall);
  /* plaster: uneven roller marks + speckle */
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.10) 0 18%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,.10) 0 15%, transparent 45%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  overflow: hidden;
}

/* the hanging sign */
.sign-rig {
  position: relative;
  padding-top: clamp(4rem, 12vh, 7rem);
  transform-origin: 50% 0;
  animation: swing 2.4s cubic-bezier(.3,1.6,.5,1) both;
}
.rope {
  position: absolute; top: 0; width: 4px; height: calc(clamp(4rem, 12vh, 7rem) + 12px);
  background: repeating-linear-gradient(180deg, #d8c39a 0 6px, #b59a6a 6px 10px);
}
.rope-l { left: 18%; }
.rope-r { right: 18%; }
.rope::before { /* nail */
  content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px;
  border-radius: 50%; background: #6b6b6b; box-shadow: inset -2px -2px 0 #3f3f3f;
}

.sign {
  position: relative;
  max-width: calc(100vw - 40px);
  background: var(--sign);
  border: 6px solid var(--ink);
  border-radius: 18px 22px 16px 24px / 22px 16px 24px 18px; /* hand-cut board */
  padding: clamp(1.2rem, 4vw, 2.2rem) clamp(1.4rem, 6vw, 3.4rem) clamp(1rem, 3vw, 1.6rem);
  box-shadow: 0 10px 0 var(--wall-deep), 0 24px 40px rgba(10, 60, 58, .45);
  rotate: -2deg;
}
.sign::after { /* painted inner pinstripe */
  content: ""; position: absolute; inset: 9px; border: 3px solid var(--pepper); border-radius: inherit; pointer-events: none;
}

.wordmark { margin: 0; line-height: 1; font-weight: 400; }
.wm {
  position: relative;
  display: block;
  font-family: var(--shade);
  font-size: clamp(2.1rem, 11.5vw, 8.5rem);
  letter-spacing: .01em;
  color: var(--pepper);
}
.wm-sub {
  display: inline-block;
  margin-top: .5rem;
  padding: .3rem .9rem .2rem;
  font-family: var(--display);
  font-size: clamp(1rem, 4.2vw, 1.9rem);
  color: var(--sign);
  background: var(--ink);
  border-radius: 6px;
  rotate: 1.5deg;
}

.drum {
  position: absolute;
  width: clamp(64px, 14vw, 120px);
  right: clamp(-34px, -4vw, -18px);
  bottom: clamp(-38px, -5vw, -24px);
  rotate: 18deg;
  filter: drop-shadow(0 4px 0 rgba(27, 42, 92, .35));
}

.intro {
  max-width: 34ch;
  margin: 1.5rem 0 0;
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.4;
  text-shadow: 0 2px 0 rgba(10, 70, 68, .45);
}

.cta { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }
.btn {
  display: inline-block;
  padding: .85rem 1.5rem .75rem;
  font: 400 1.05rem/1 var(--display);
  text-decoration: none;
  border: 4px solid var(--ink);
  border-radius: 12px;
  box-shadow: 0 6px 0 var(--ink);
  transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--ink); }
.btn:active { transform: translateY(6px); box-shadow: 0 0 0 var(--ink); }
.btn-go { background: var(--pepper); color: var(--bone); }
.btn-call { background: var(--bone); color: var(--ink); }

.rating { margin: 0; font-weight: 600; }
.stars {
  --pct: calc(var(--r) / 5 * 100%);
  display: inline-block; vertical-align: -2px; margin-right: .4rem;
  font-size: 1.2rem; letter-spacing: 2px;
  background: linear-gradient(90deg, var(--sign) var(--pct), rgba(255,255,255,.35) var(--pct));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stars::before { content: "★★★★★"; }

/* painted band along the bottom of the wall */
.stripe {
  position: absolute; left: 0; right: 0; bottom: 0; height: 64px;
  background:
    linear-gradient(var(--pepper), var(--pepper)) 0 0 / 100% 22px no-repeat,
    linear-gradient(var(--sign), var(--sign)) 0 22px / 100% 14px no-repeat,
    var(--lime);
  -webkit-mask: radial-gradient(14px 10px at 50% 0, transparent 98%, #000) 0 0 / 46px 100%;
          mask: radial-gradient(14px 10px at 50% 0, transparent 98%, #000) 0 0 / 46px 100%;
}

/* ---------- Find us ---------- */
main { background: var(--lime); }

.find {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) 16px;
}
.find h2, .board h2, .reviews h2 {
  margin: 0 0 1rem;
  font: 400 var(--step-3)/1 var(--display);
  color: var(--pepper);
}
address {
  font-style: normal;
  font-size: var(--step-1);
  line-height: 1.35;
}
address span { display: block; }
address .street {
  font: 400 clamp(2rem, 6vw, 3.4rem)/1.05 var(--display);
  color: var(--ink);
  margin-bottom: .35rem;
}
.links { margin: 1.5rem 0 0; font-weight: 800; }
.links a { text-decoration-thickness: 3px; text-underline-offset: 4px; text-decoration-color: var(--pepper); }
.links a:hover { color: var(--pepper); }

.services { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 1.25rem 0 0; padding: 0; }
.services li {
  padding: .3rem .8rem; border: 3px solid var(--ink); border-radius: 999px; background: var(--bone); font-weight: 600;
}

/* map in a painted window frame */
.window {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 14px solid var(--wall);
  border-radius: 10px;
  box-shadow: inset 0 0 0 4px var(--ink), 0 0 0 4px var(--ink), 10px 12px 0 var(--ink);
  background: var(--bone);
  rotate: 1deg;
}
.window iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: 2px; }

/* ---------- Optional boards (hours / menu) ---------- */
.board {
  max-width: 720px;
  margin: 0 auto clamp(3rem, 7vw, 5rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--ink);
  color: var(--bone);
  border-radius: 14px;
  box-shadow: 0 0 0 6px var(--crust), 0 0 0 10px var(--ink);
  margin-inline: max(16px, calc((100% - 720px) / 2));
}
.board h2 { color: var(--sign); }
.hours dl { margin: 0; }
.hours dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 2px dashed rgba(255,248,234,.25); }
.hours dt { font-weight: 800; }
.hours dd { margin: 0; text-align: right; }

.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: .5rem; padding: .5rem 0; }
.menu .item { font-weight: 800; font-size: var(--step-1); }
.menu .dots { border-bottom: 3px dotted rgba(255,248,234,.4); transform: translateY(-4px); }
.menu .price { font-family: var(--display); color: var(--sign); font-size: var(--step-1); }
.menu small { grid-column: 1 / -1; opacity: .8; }

.reviews { max-width: 1120px; margin: 0 auto; padding: 0 16px clamp(3rem, 7vw, 5rem); }
.reviews blockquote {
  margin: 0 0 1rem; padding: 1.25rem 1.5rem; max-width: 60ch;
  background: var(--bone); border: 4px solid var(--ink); border-radius: 16px 16px 16px 4px;
  box-shadow: 6px 6px 0 var(--ink);
}
.reviews blockquote:nth-child(odd) { margin-left: auto; border-radius: 16px 16px 4px 16px; }
.reviews p { margin: 0 0 .5rem; font-size: var(--step-1); }
.reviews cite { font-style: normal; font-weight: 800; color: var(--crust); }

/* ---------- Footer ---------- */
.foot {
  background: var(--ink);
  color: var(--bone);
  text-align: center;
  padding: 2.5rem 16px;
}
.foot p { margin: 0 0 .5rem; }
.foot .small { font-size: .9rem; opacity: .7; }

/* ---------- Motion: one moment, the sign swinging into place ---------- */
@keyframes swing {
  0%   { transform: translateY(-120%) rotate(-14deg); }
  55%  { transform: translateY(0) rotate(7deg); }
  75%  { transform: rotate(-3deg); }
  90%  { transform: rotate(1deg); }
  100% { transform: rotate(0); }
}
@media (prefers-reduced-motion: reduce) {
  .sign-rig { animation: none; }
  .btn { transition: none; }
}

/* ---------- Small screens ---------- */
@media (max-width: 760px) {
  .wall { min-height: 0; padding-bottom: 6.5rem; }
  .find { grid-template-columns: 1fr; }
  .window { rotate: 0deg; border-width: 10px; box-shadow: inset 0 0 0 3px var(--ink), 0 0 0 3px var(--ink), 6px 8px 0 var(--ink); }
  .rope-l { left: 12%; } .rope-r { right: 12%; }
}
