:root {
  --emerald: #04887C; --emerald-ink: #036A61; --emerald-deep: #02534C;
  --sherbert: #F3826F; --sherbert-ink: #B4432F;
  --raspberry: #ED3C95; --raspberry-ink: #B5196A;
  --robin: #CAE8EA; --white: #FFFFFF; --body: #1F4B47; --ink: #16302D;
  --ease: cubic-bezier(.16,1,.3,1);
  --display: "Bebas Neue", "Arial Narrow", sans-serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--body);
  font: 400 17px/1.5 var(--text);
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("assets/pattern.jpg") center / 520px auto repeat; opacity: .16;
}
::selection { background: var(--robin); color: var(--emerald-deep); }
:focus-visible { outline: 3px solid var(--raspberry); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.page { max-width: 460px; margin: 0 auto; padding: 14px 20px 0; }

.top { display: flex; justify-content: center; }
.logo { width: 168px; }

.visit { margin-top: 10px; }
.plate {
  margin: 0; background: var(--white); border: 3px solid var(--emerald-ink);
  border-radius: 28px; padding: 10px 10px 0;
  box-shadow: 0 22px 40px -26px rgba(2,83,76,.5);
}
.plate img { border-radius: 18px; width: 100%; aspect-ratio: 800 / 340; object-fit: cover; object-position: center 70%; }
.plate figcaption {
  font: 400 21px/1 var(--display); letter-spacing: .05em; text-align: center;
  padding: 11px 0 10px; color: var(--emerald-ink);
}
.plate figcaption span + span { color: var(--sherbert-ink); }

.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 22px; border-radius: 999px;
  font: 800 16.5px/1.2 var(--text); text-decoration: none; text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
.btn-primary {
  margin-top: 16px; min-height: 58px; font-size: 18px;
  background: var(--raspberry-ink); color: var(--white);
  box-shadow: 0 6px 14px -6px rgba(22,48,45,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 20px -8px rgba(22,48,45,.4); }
.btn:active { transform: translateY(1px) scale(.985); }

.hours { margin: 10px 0 0; text-align: center; font-size: 14.5px; font-weight: 600; color: var(--emerald-deep); }
.hours b { font: 400 17px/1 var(--display); letter-spacing: .06em; color: var(--sherbert-ink); margin-right: 4px; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--sherbert); margin: 0 6px 2px; }

.links { display: grid; gap: 10px; margin-top: 18px; }
.btn-line { background: var(--white); color: var(--emerald-ink); border: 2px solid var(--emerald-ink); }
.btn-line:hover { background: var(--emerald-ink); color: var(--white); }

.band {
  margin: 34px -20px 0; background: var(--robin); overflow: hidden;
  border-block: 2px solid rgba(4,136,124,.25); padding: 10px 0;
}
.band-track { display: flex; align-items: center; gap: 22px; width: max-content; }
.band span { font: 400 24px/1 var(--display); letter-spacing: .04em; color: var(--emerald-ink); white-space: nowrap; }
.band i { width: 8px; height: 8px; border-radius: 50%; background: var(--sherbert); flex: none; }

.foot { text-align: center; padding: 26px 0 34px; }
.badge { width: 96px; margin: 0 auto; }
.sign { margin: 10px 0 14px; font: 400 26px/1 var(--display); letter-spacing: .03em; color: var(--emerald-ink); }
.foot-row { display: flex; gap: 12px; justify-content: center; }
.round {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--emerald-ink); color: var(--white); transition: transform .3s var(--ease);
}
.round:hover { transform: translateY(-2px); }
.round svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; }
.round svg .fill { fill: currentColor; stroke: none; }
.call { margin: 12px 0 0; font-weight: 600; }
.call a { color: var(--emerald-deep); text-underline-offset: 3px; }

@media (prefers-reduced-motion: no-preference) {
  .band-track { animation: drift 40s linear infinite; }
  .js .plate { animation: rise .8s var(--ease) both; }
}
@keyframes drift { to { transform: translateX(-50%); } }
@keyframes rise { from { transform: translateY(14px); opacity: 0; } }

@media (min-width: 900px) {
  .page { padding-top: 36px; }
  .logo { width: 200px; }
}
.hours { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: 2px; }
.hours > span:not(.dot) { white-space: nowrap; }

/* Impeccable · layout */
.links { margin-top: 20px; }
.plate { margin-inline: auto; }
.btn-primary { margin-top: 14px; }

/* Impeccable · typeset */
.btn { text-wrap: balance; letter-spacing: .005em; }
.plate figcaption { font-size: 22px; }
.hours { font-size: 15px; line-height: 1.5; }
.hours b { font-size: 18px; }
.sign { font-size: 28px; text-wrap: balance; }

/* Impeccable · delight: the pin gives a little hop when you reach for directions */
@media (prefers-reduced-motion: no-preference) {
  .btn-primary:hover svg, .btn-primary:focus-visible svg { animation: hop .6s var(--ease); }
  .badge { transition: transform .8s var(--ease); }
  .foot:hover .badge { transform: rotate(-12deg); }
}
@keyframes hop { 40% { transform: translateY(-5px); } 70% { transform: translateY(1px); } }

/* Impeccable · polish: a seamless sidewall loop that rests when it's off screen */
.band-track { gap: 0; }
.band span, .band i { margin-right: 22px; }
.band.rest .band-track { animation-play-state: paused; }

/* Impeccable · adapt */
.hours { flex-direction: column; row-gap: 2px; }
@media (min-width: 900px) {
  body::before { opacity: .11; }
  .page { max-width: 440px; }
}
