/* Jobu Smash Burgers
   Colours come from the shop itself: the charcoal of the logo, white tile, steel, one cheddar yellow. */
:root {
  --char: #515457;      /* logo charcoal */
  --ink: #26282a;       /* text */
  --muted: #62666a;
  --paper: #ffffff;
  --tile: #e2d9e0;      /* the tile wall in their photographs */
  --line: #e4e2e5;
  --cheddar: #f7b718;
  --gutter: clamp(20px, 4.4vw, 64px);
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.5 "Archivo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, address { margin: 0; padding: 0; }
ol, ul { list-style: none; }
address { font-style: normal; }
b { font-weight: 700; }

.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 30;
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.board :focus-visible, .foot :focus-visible { outline-color: #fff; }

/* Type */
h1, h2, h3, .sauces {
  font-family: var(--display);
  font-stretch: 62%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(64px, 8.6vw, 148px); }
h2 { font-size: clamp(44px, 6.2vw, 96px); }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px;
  background: var(--char); color: #fff;
  font: 700 15px/1 var(--display); font-stretch: 88%; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  border-radius: 999px;
  transition: background-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { background: var(--ink); transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn--lg { min-height: 58px; padding-inline: 34px; font-size: 17px; }

.link {
  font-weight: 600; text-decoration: none; padding-block: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
}
.link:hover { animation: draw 0.4s ease; }
@keyframes draw { from { background-size: 0 1.5px; } to { background-size: 100% 1.5px; } }

/* Top bar */
.top { position: absolute; inset: 0 0 auto 0; z-index: 10; padding-block: 20px; }
.top__in { display: flex; align-items: center; gap: 40px; }
.brand { flex: none; border-radius: 50%; transition: transform 0.25s ease; }
.brand:hover { transform: rotate(-8deg); }
.brand img { width: 60px; height: 60px; }
.nav { display: flex; gap: 30px; }
.nav a { font-weight: 600; font-size: 15px; text-decoration: none; padding-block: 12px;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0 1.5px no-repeat; transition: background-size 0.25s ease; }
.nav a:hover { background-size: 100% 1.5px; }
.top__end { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.lang { display: flex; gap: 2px; }
.lang button {
  appearance: none; border: 0; background: none; cursor: pointer;
  min-width: 40px; min-height: 44px; padding: 0 6px;
  font: 700 13px/1 var(--display); letter-spacing: 0.1em; color: var(--muted);
}
.lang button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.lang button:hover { color: var(--ink); }

/* Hero: their own photograph, its tile wall running on as the page ground */
.hero {
  position: relative; overflow: hidden;
  min-height: max(660px, 100svh);
  display: flex; align-items: flex-end;
  background: var(--tile);
}
.hero__photo { position: absolute; inset: 0 0 0 auto; width: 60%; }
.hero__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 26% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%);
          mask-image: linear-gradient(90deg, transparent 0, #000 9%);
  animation: photo-in 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero__in { position: relative; padding-top: 140px; padding-bottom: clamp(40px, 7vh, 84px); }
.hero__in > * { max-width: min(560px, 37vw); }
.hero h1 { margin: 18px 0 26px; max-width: none; }
.hero h1 span { display: block; animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero h1 span + span { animation-delay: 0.09s; }
.hero__lead { font-size: clamp(17px, 1.35vw, 20px); animation: rise 0.8s 0.18s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero__cta { display: flex; align-items: center; gap: 28px; margin-top: 34px; animation: rise 0.8s 0.26s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero__fact { margin-top: clamp(36px, 7vh, 72px); display: flex; gap: 12px; align-items: baseline; font-size: 15px; color: var(--muted); }
.hero__fact b { color: var(--ink); font-variant-numeric: tabular-nums; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes photo-in { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }

/* Sections */
.sec { padding-block: clamp(72px, 9vw, 136px); }
.sec--tight { padding-top: 0; }
.sec--line { border-top: 1px solid var(--line); }
.sec__head {
  display: grid; grid-template-columns: 1fr minmax(0, 26em); gap: 24px 48px; align-items: end;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.sec__head p { color: var(--muted); }
.sec__head p b { color: var(--ink); }

/* Menu items: five across, the same frame every time so the burgers grow left to right */
.items { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.item { display: grid; grid-template-rows: auto 1fr auto; row-gap: 14px; }
.item__img { overflow: hidden; background: var(--tile); aspect-ratio: 1; }
.item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.item:hover .item__img img { transform: scale(1.035); }
.item h3 { font-size: clamp(26px, 2.5vw, 38px); line-height: 1; display: flex; align-items: flex-end; gap: 10px; }
.items:not(.items--burgers) h3 { font-size: clamp(22px, 1.9vw, 28px); font-stretch: 70%; }
.item__txt p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.item .price { font-size: 19px; padding-top: 12px; border-top: 1px solid var(--line); }

/* A small stack of patties beside each size */
.stack {
  flex: none; width: 0.62em; height: calc(var(--n) * 0.17em - 0.06em); margin-bottom: 0.1em;
  background: repeating-linear-gradient(to bottom, var(--char) 0 0.11em, transparent 0.11em 0.17em);
  border-radius: 1px;
}

/* Sauce board */
.board { background: var(--char); color: #fff; padding-block: clamp(72px, 9vw, 136px); }
.board__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 52px); }
.board__head p { display: flex; align-items: center; gap: 10px; }
.board__head p b { margin-right: 14px; }
.dot { width: 11px; height: 11px; border-radius: 50%; background: var(--cheddar); }
.sauces { display: flex; flex-wrap: wrap; column-gap: 0.32em; row-gap: 0.06em; font-size: clamp(38px, 6.4vw, 104px); line-height: 0.96; }
.sauces li { display: flex; gap: 0.32em; }
.sauces li:not(:last-child)::after { content: "/"; color: rgba(255, 255, 255, 0.28); font-weight: 400; }
.sauces .own { color: var(--cheddar); }
.drinks { margin-top: clamp(40px, 6vw, 80px); }
.drinks > div {
  display: grid; grid-template-columns: 180px 1fr auto; gap: 8px 24px; align-items: baseline;
  padding-block: 18px; border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.drinks dt { grid-column: 1; font: 800 24px/1 var(--display); font-stretch: 62%; text-transform: uppercase; }
.drinks dd { grid-column: 2; }
.drinks dd.price { grid-column: 3; }
.note { margin-top: 28px; font-size: 14px; color: rgba(255, 255, 255, 0.72); }

/* Photo strip */
.strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(6px, 0.8vw, 12px); }
.strip a { display: block; overflow: hidden; aspect-ratio: 3 / 4; background: var(--ink); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.strip a:hover img { transform: scale(1.04); }

/* Locations */
.places { display: grid; grid-template-columns: 1fr 1fr; }
.place { padding-block: 8px; }
.place + .place { padding-left: clamp(24px, 4vw, 64px); border-left: 1px solid var(--line); }
.place:first-child { padding-right: clamp(24px, 4vw, 64px); }
.place h3 { font-size: clamp(48px, 7.2vw, 116px); margin: 14px 0 26px; }
.place address { font-size: 19px; line-height: 1.45; }
.tel { display: inline-block; margin-top: 10px; padding-block: 6px; color: var(--muted); text-decoration: none; font-variant-numeric: tabular-nums; }
.tel:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.place__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 30px; }

/* Footer */
.foot { background: var(--char); color: #fff; padding-block: clamp(56px, 7vw, 96px) 40px; }
.foot__in { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: end; }
.foot__mark { width: clamp(120px, 14vw, 200px); height: auto; }
.foot__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 32px; }
.foot__nav a { font-weight: 600; text-decoration: none; padding-block: 10px;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 6px) / 0 1.5px no-repeat; transition: background-size 0.25s ease; }
.foot__nav a:hover { background-size: 100% 1.5px; }
.foot__legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.22); font-size: 14px; color: rgba(255, 255, 255, 0.78); }

/* Phone order bar */
.bar { display: none; }

/* Tablet */
@media (max-width: 1100px) {
  .hero__photo { width: 58%; }
  .item h3 { font-size: 24px; gap: 8px; }
}

/* Phone and small tablet */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .top { padding-block: 14px; }
  .top__end .btn { display: none; }
  .brand img { width: 52px; height: 52px; }

  .hero { display: block; min-height: 0; }
  .hero__in { padding-top: 104px; padding-bottom: 8px; }
  .hero__in > * { max-width: none; }
  h1 { font-size: clamp(60px, 19vw, 120px); }
  .hero__photo { position: static; display: block; width: 100%; }
  .hero__photo img {
    aspect-ratio: 1; height: auto;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%);
            mask-image: linear-gradient(180deg, transparent 0, #000 16%);
  }
  .hero { display: flex; flex-direction: column-reverse; }
  .hero__cta .btn { flex: 1; }
  .hero__fact { margin-top: 28px; }

  .sec__head { grid-template-columns: 1fr; }

  .items { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
  .item { grid-template-columns: 92px 1fr auto; grid-template-rows: auto; column-gap: 16px; align-items: center; padding-block: 12px; border-bottom: 1px solid var(--line); }
  .item .price { border: 0; padding: 0; font-size: 17px; }
  .item h3 { font-size: 26px; gap: 10px; }
  .items:not(.items--burgers) h3 { font-size: 22px; }

  .drinks > div { grid-template-columns: 1fr auto; }
  .drinks dt { grid-column: 1 / -1; }
  .drinks dd { grid-column: 1; }
  .drinks dd.price { grid-column: 2; }

  .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .places { grid-template-columns: 1fr; }
  .place + .place { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 40px; }
  .place:first-child { padding-right: 0; }
  .place h3 { font-size: clamp(52px, 15.5vw, 96px); }
  .place__cta .btn { width: 100%; }

  .foot { padding-bottom: 104px; }
  .foot__in { grid-template-columns: 1fr; }
  .foot__nav { justify-content: flex-start; }

  .bar {
    display: inline-flex; position: fixed; z-index: 20; left: 16px; right: 16px; bottom: max(14px, env(safe-area-inset-bottom));
    min-height: 54px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
    opacity: 0; pointer-events: none; transform: translateY(16px);
    transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.18s ease;
  }
  .bar.is-on { opacity: 1; pointer-events: auto; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
