/* Fox & Hound Lusaka
   Palette pulled from the printed menu: basil leaf green, grill maroon,
   oven orange, and the grey recycled paper stock the menu is printed on. */
:root {
  --basil: #1c3527;
  --basil-2: #264634;
  --leaf: #4f8a3c;
  --grill: #8f1d22;
  --oven: #e2742b;
  --paper: #e3e1dc;
  --paper-2: #d6d3cc;
  --ink: #1b1d1c;
  --ink-2: #4a4c49;
  --bone: #f3f1ec;

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --script: "Yellowtail", cursive;

  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--oven); outline-offset: 3px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--oven); color: #fff; padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; }

/* Speckled paper, like the printed menu */
.menu {
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(143, 29, 34, .10) 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 80%, rgba(27, 29, 28, .12) 0 1px, transparent 1.5px),
    radial-gradient(circle at 40% 60%, rgba(79, 138, 60, .10) 0 1px, transparent 1.5px);
  background-size: 37px 41px, 53px 47px, 71px 67px;
}

/* ---------- Top bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 20;
  background: var(--basil);
  color: var(--bone);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.bar-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mark svg { width: 26px; height: 30px; fill: none; stroke: currentColor; stroke-width: 7; }
.mark span { font: 28px/1 var(--script); transform: rotate(-4deg); }
.bar nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); font-weight: 500; font-size: 15px; }
.bar nav a { text-decoration: none; }
.bar nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.bar .call { background: var(--oven); color: #fff; padding: 9px 16px; border-radius: 3px; }
.bar .call:hover { text-decoration: none; background: #c9621f; }

/* ---------- Hero ---------- */
.hero { background: var(--basil); color: var(--bone); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(56px, 8vw, 110px);
}

/* The logo's hexagon, blown up to hold a photo of the room */
.badge { position: relative; width: min(100%, 500px); aspect-ratio: 116 / 131.5; justify-self: center; }
.hex-photo {
  position: absolute;
  left: 6.9%; top: 6.08%; width: 86.2%; height: 87.8%;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--basil-2);
}
.hex-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.05); }
.hex-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 53, 39, .1), rgba(28, 53, 39, .55)); }
.hex-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hex-line path { fill: none; stroke: var(--bone); stroke-width: 2.2; stroke-linejoin: miter; }
.script {
  position: absolute; left: -4%; right: -4%; top: 38%;
  text-align: center;
  font: clamp(64px, 10.5vw, 128px)/1 var(--script);
  color: #fff;
  transform: rotate(-9deg);
  text-shadow: 0 3px 0 var(--basil), 0 10px 30px rgba(0, 0, 0, .45);
}
.lockup {
  position: absolute; left: 50%; top: 62%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 5px 14px;
  border: 1.5px solid var(--bone);
  background: var(--basil);
  font: 700 clamp(12px, 1.4vw, 16px)/1 var(--display);
  letter-spacing: .22em;
}
.lockup i { display: inline-block; width: 5px; height: 5px; margin: 0 .35em 2px; background: var(--oven); border-radius: 50%; }

.hero-copy h1 {
  font: 900 clamp(52px, 6.6vw, 104px)/.88 var(--display);
  text-transform: uppercase;
  letter-spacing: -.005em;
  color: var(--bone);
}
.hero-copy h1 span { display: block; white-space: nowrap; }
.hero-copy p { margin-top: 28px; max-width: 34em; font-size: 18px; color: #c9d3cb; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-block; padding: 14px 24px;
  background: var(--oven); color: #fff;
  font: 800 20px/1 var(--display); letter-spacing: .02em;
  text-decoration: none; border-radius: 3px; border: 2px solid var(--oven);
}
.btn:hover { background: #c9621f; border-color: #c9621f; }
.btn.ghost { background: transparent; border-color: rgba(243, 241, 236, .5); color: var(--bone); }
.btn.ghost:hover { border-color: var(--bone); background: rgba(255, 255, 255, .06); }

/* One orchestrated moment: the hexagon draws itself, then the wordmark lands */
@media (prefers-reduced-motion: no-preference) {
  .hex-line path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s cubic-bezier(.6, 0, .2, 1) .15s forwards; }
  .hex-line path + path { animation-delay: .45s; }
  .hex-photo { animation: fade .9s ease .5s both; }
  .script { animation: land .7s cubic-bezier(.2, .9, .3, 1.2) 1.1s both; }
  .lockup { animation: fade .5s ease 1.5s both; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes land { from { opacity: 0; transform: rotate(-9deg) translateY(18px) scale(.94); } }

/* ---------- Bistro / Pizzeria / Bar ---------- */
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); }
.room { position: relative; display: block; min-height: 420px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.room img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.room::before { content: ""; position: absolute; inset: 0; z-index: -1; mix-blend-mode: multiply; opacity: .78; }
.room.grill::before { background: var(--grill); }
.room.oven::before  { background: var(--oven); }
.room.pour::before  { background: var(--basil-2); }
.room:hover img, .room:focus-visible img { transform: scale(1.04); }
.room:focus-visible { outline-offset: -6px; outline-color: #fff; }
.room-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px clamp(20px, 3vw, 36px) 32px; display: grid; gap: 8px; }
.room-text strong { font: 900 clamp(52px, 5.6vw, 84px)/.9 var(--display); text-transform: uppercase; }
.room-text span { max-width: 26em; font-size: 16px; }
.room-text em { font: normal 600 17px var(--body); margin-top: 6px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* ---------- Menu ---------- */
.menu { padding: clamp(56px, 8vw, 110px) 0 80px; }
.menu-top { display: grid; grid-template-columns: auto auto 1fr; align-items: end; gap: 20px 32px; }
.menu-top h2 { font: 900 clamp(56px, 8vw, 112px)/.85 var(--display); text-transform: uppercase; color: var(--grill); }
.switch { display: inline-flex; border: 2px solid var(--ink); border-radius: 4px; padding: 3px; gap: 3px; background: var(--bone); }
.switch button {
  border: 0; background: transparent; padding: 8px 22px; border-radius: 2px; cursor: pointer;
  font: 800 22px/1 var(--display); text-transform: uppercase; letter-spacing: .02em;
}
.switch button[aria-selected="true"] { background: var(--ink); color: var(--bone); }
.find { justify-self: end; width: min(100%, 340px); }
.find input {
  width: 100%; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 4px; background: var(--bone);
}
.find input::placeholder { color: #7b7d79; }
.legend { margin-top: 22px; font-size: 14px; color: var(--ink-2); display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.legend .leaf { margin-left: 14px; }

.new {
  display: inline-grid; place-items: center;
  width: 38px; height: 22px;
  background: var(--oven); color: #fff;
  font: 800 12px/1 var(--display); text-transform: uppercase; letter-spacing: .06em;
  clip-path: polygon(18% 0, 82% 0, 100% 50%, 82% 100%, 18% 100%, 0 50%);
  flex: none;
}
.leaf {
  display: inline-block; width: 14px; height: 14px; flex: none;
  background: var(--leaf);
  border-radius: 0 100% 0 100%;
  transform: rotate(-10deg);
}

.menu-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); margin-top: 40px; }
.index { position: sticky; top: 88px; align-self: start; display: grid; gap: 2px; }
.index a {
  display: block; padding: 7px 12px; border-left: 3px solid transparent;
  font: 700 21px/1.1 var(--display); text-transform: uppercase; text-decoration: none; color: var(--ink-2);
}
.index a:hover { color: var(--ink); border-left-color: var(--paper-2); }
.index a[aria-current="true"] { color: var(--grill); border-left-color: var(--grill); }

.section { padding-bottom: 64px; }
.section + .section { padding-top: 8px; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px; border-bottom: 3px solid var(--ink); padding-bottom: 12px; }
.section-head h3 { font: 900 clamp(40px, 5vw, 64px)/.9 var(--display); text-transform: uppercase; }
.section-head img { width: 84px; height: 97px; object-fit: cover; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.note { margin-top: 12px; font-size: 15px; color: var(--ink-2); max-width: 60ch; }

.items { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.item { padding: 16px 0; border-bottom: 1px solid rgba(27, 29, 28, .14); break-inside: avoid; }
.item-top { display: flex; align-items: baseline; gap: 8px; }
.item-name { font: 700 22px/1.1 var(--display); text-transform: uppercase; letter-spacing: .01em; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.item-top .dots { flex: 1; min-width: 16px; border-bottom: 2px dotted rgba(27, 29, 28, .35); transform: translateY(-5px); }
.price { font: 800 22px/1 var(--display); color: var(--grill); white-space: nowrap; font-variant-numeric: tabular-nums; }
.item p { margin-top: 5px; font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.sizes { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.sizes b { font: 800 19px/1 var(--display); color: var(--grill); margin-left: 4px; }

/* Bottle and shot tables for spirits */
.spirits { width: 100%; border-collapse: collapse; margin-top: 8px; font-variant-numeric: tabular-nums; }
.spirits th { text-align: right; font: 700 16px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); padding: 14px 0 8px 16px; }
.spirits th:first-child { text-align: left; padding-left: 0; }
.spirits td { padding: 11px 0 11px 16px; border-bottom: 1px solid rgba(27, 29, 28, .14); text-align: right; }
.spirits td:first-child { text-align: left; padding-left: 0; font: 700 20px/1.15 var(--display); text-transform: uppercase; }
.spirits td.num { font: 800 20px/1 var(--display); color: var(--grill); width: 7.5em; }
.spirits td.none { color: #9a9c98; }

.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 48px; margin-top: 8px; }
.group h4 { margin: 20px 0 2px; font: 700 17px/1.2 var(--body); color: var(--leaf); }
.group .item { padding: 10px 0; }
.group .item-name { font-size: 20px; }
.group .price { font-size: 20px; }

.empty { padding: 40px 0; font-size: 18px; }
.empty button { border: 0; background: none; padding: 0; text-decoration: underline; cursor: pointer; color: var(--grill); font-weight: 600; }
.source { margin-top: 24px; font-size: 14px; color: var(--ink-2); }

/* ---------- Visit ---------- */
.visit { background: var(--grill); color: var(--bone); padding: clamp(56px, 8vw, 100px) 0; }
.visit h2 { font: 900 clamp(48px, 7vw, 96px)/.88 var(--display); text-transform: uppercase; max-width: 10ch; }
.branches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 44px; border-top: 2px solid rgba(243, 241, 236, .4); }
.branch { padding: 28px 32px 8px 0; display: grid; gap: 8px; justify-items: start; }
.branch + .branch { padding-left: 32px; border-left: 2px solid rgba(243, 241, 236, .4); }
.branch h3 { font: 800 44px/1 var(--display); text-transform: uppercase; }
.branch p { font-size: 18px; }
.branch a { font-weight: 600; text-underline-offset: 4px; }
.branch a[href^="tel"] { font: 800 28px/1.1 var(--display); text-decoration: none; }
.branch a[href^="tel"]:hover { text-decoration: underline; }
.aside { margin-top: 40px; max-width: 52ch; color: #efd9d6; }
.aside a { color: #fff; font-weight: 600; }

/* ---------- Footer ---------- */
.foot { background: var(--basil); color: #c9d3cb; padding: 32px 0; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.script-sm { font: 40px/1 var(--script); color: var(--bone); transform: rotate(-5deg); }

/* ---------- Smaller screens ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .badge { width: min(78vw, 400px); order: 2; }
  .hero-copy { order: 1; }
  .rooms { grid-template-columns: 1fr; }
  .room { min-height: 300px; }
  .menu-top { grid-template-columns: 1fr auto; }
  .find { grid-column: 1 / -1; justify-self: stretch; width: 100%; }
  .menu-grid { grid-template-columns: 1fr; gap: 0; }
  .index {
    position: sticky; top: 64px; z-index: 5;
    display: flex; overflow-x: auto; gap: 4px;
    margin: 0 calc(var(--gutter) * -1); padding: 10px var(--gutter);
    background: var(--paper); border-bottom: 1px solid var(--paper-2);
    scrollbar-width: none;
  }
  .index::-webkit-scrollbar { display: none; }
  .index a { white-space: nowrap; border-left: 0; border-bottom: 3px solid transparent; padding: 6px 10px; font-size: 18px; }
  .index a[aria-current="true"] { border-bottom-color: var(--grill); }
  .section { padding-top: 32px; scroll-margin-top: 130px; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .bar nav a:not(.call) { display: none; }
  .items, .groups { grid-template-columns: 1fr; }
  .menu-top { grid-template-columns: 1fr; }
  .switch { justify-self: start; }
  .section-head img { width: 64px; height: 74px; }
  .branches { grid-template-columns: 1fr; }
  .branch + .branch { padding-left: 0; border-left: 0; border-top: 2px solid rgba(243, 241, 236, .4); margin-top: 24px; }
  .spirits td.num { width: 5em; }
}

/* ---- Ordering ---- */
.how { display: block; margin-bottom: 6px; color: var(--grill); font-weight: 600; }
.item-top { align-items: baseline; }
.add { flex: none; margin-left: 10px; min-width: 34px; height: 34px; border-radius: 999px; border: 0; background: var(--basil); color: var(--bone); font-size: 20px; font-weight: 600; line-height: 1; cursor: pointer; transition: background .2s, transform .2s; }
.add:hover { background: var(--oven); }
.add.pop { animation: pop .35s ease; }
@keyframes pop { 50% { transform: scale(1.25); background: var(--oven); } }
.sizes .add { margin: 6px 8px 0 0; height: auto; min-height: 34px; padding: 6px 14px; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
.sizes .add b { font-weight: 600; color: #ffd9b8; }
.cart-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 40; width: min(560px, calc(100% - 32px)); display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 0; border-radius: 16px; background: var(--grill); color: #fff; font-weight: 600; box-shadow: 0 16px 40px rgba(0,0,0,.35); cursor: pointer; }
.cart-bar[hidden] { display: none; }
.cart-bar .cb-go { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.cart-bar .cb-go b { background: rgba(255,255,255,.18); padding: 4px 10px; border-radius: 999px; }
.cart { width: min(520px, 100%); max-height: 92vh; margin: auto auto 0; padding: 0; border: 0; border-radius: 22px 22px 0 0; background: var(--bone); color: var(--ink); }
@media (min-width: 700px) { .cart { margin: auto; border-radius: 22px; } }
.cart::backdrop { background: rgba(10,20,14,.6); }
.cart-head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; background: var(--basil); color: var(--bone); }
.cart-head h2 { font-family: var(--display); font-size: 30px; text-transform: uppercase; letter-spacing: .02em; }
.x { border: 0; background: none; color: inherit; font-size: 34px; line-height: 1; cursor: pointer; }
.cart-list { list-style: none; margin: 0; padding: 8px 22px; }
.cart-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--paper-2); }
.cl-name small { display: block; color: var(--ink-2); font-size: 13px; }
.cl-sum { font-weight: 600; min-width: 64px; text-align: right; }
.cl-empty { display: block !important; color: var(--ink-2); }
.qty { display: inline-flex; align-items: center; gap: 8px; }
.qty button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--basil); background: none; cursor: pointer; font-size: 18px; line-height: 1; }
.cart-total { display: flex; justify-content: space-between; padding: 14px 22px; font-size: 20px; font-weight: 600; border-top: 2px solid var(--basil); margin: 0 22px; padding-inline: 0; }
.order-form { padding: 8px 22px 24px; display: grid; gap: 14px; }
.order-form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.order-form legend { width: 100%; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin-bottom: 6px; }
.order-form fieldset label { flex: 1; display: flex; gap: 8px; align-items: center; padding: 10px 14px; border: 1.5px solid var(--paper-2); border-radius: 12px; cursor: pointer; }
.order-form fieldset label:has(input:checked) { border-color: var(--basil); background: #e4ece6; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.field span { font-weight: 400; color: var(--ink-2); }
.field[hidden] { display: none; }
.field input { padding: 12px 14px; border: 1.5px solid var(--paper-2); border-radius: 12px; background: #fff; font-size: 16px; font-weight: 400; }
.btn.send { width: 100%; justify-content: center; background: #1f9d55; border-color: #1f9d55; color: #fff; }
.order-form .fine { font-size: 13px; color: var(--ink-2); }
.link { border: 0; background: none; padding: 0; text-decoration: underline; cursor: pointer; color: var(--grill); font-size: 13px; }
.foot { padding-bottom: 90px; }
