/* Xispa – concept site
   Loud and graphic: mustard yellow, ketchup red, black. Chunky display type, stickers, thick outlines.
   Motion style: quick and bouncy (data-motion="snappy"). */

@font-face {
  font-family: "Bowlby One";
  src: url("../fonts/bowlby-one-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 1000; font-style: normal; font-display: swap;
}

:root {
  --mustard: #FFC72C;
  --ketchup: #D91F16;
  --black: #15130F;
  --bun: #FFF4D6;
  --white: #FFFFFF;
  --display: "Bowlby One", "Arial Black", Impact, sans-serif;
  --text: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: 1.25rem;
  --max: 78rem;
  --line: 3px solid var(--black);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--mustard); color: var(--black);
  font-family: var(--text); font-size: 1.0625rem; line-height: 1.55; font-weight: 500;
}
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, table, address { margin: 0; padding: 0; }
ol, ul { list-style: none; }
address { font-style: normal; }
a { color: inherit; }
main { overflow-x: clip; }
:focus-visible { outline: 4px solid var(--ketchup); outline-offset: 3px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 3rem; background: var(--white); padding: .5rem 1rem; z-index: 40; }

.concept-bar {
  background: var(--black); color: var(--white);
  font-size: .8125rem; line-height: 1.4; text-align: center; padding: .5rem 1rem; font-weight: 400;
}

/* Top */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  max-width: var(--max); margin: 0 auto; padding: 1rem var(--pad);
}
.wordmark {
  display: inline-flex; align-items: center; gap: .375rem;
  font-family: var(--display); font-size: 1.875rem; line-height: 1; text-transform: uppercase; text-decoration: none;
}
.wordmark svg { width: .8em; height: .8em; fill: var(--ketchup); }
.top-nav { display: none; gap: 2rem; margin-left: auto; font-weight: 700; }
.top-nav a { text-decoration: none; }
.top-nav a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .3em; }

/* Buttons: flat, outlined, with a hard shadow that presses in */
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  background: var(--ketchup); color: var(--white);
  font-family: var(--display); font-size: 1.125rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em;
  padding: 1rem 1.5rem; border: var(--line); border-radius: 999px; box-shadow: 4px 4px 0 var(--black);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--black); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--black); }
.btn-small { font-size: .9375rem; padding: .75rem 1.125rem; box-shadow: 3px 3px 0 var(--black); }
.btn-line { background: var(--white); color: var(--black); }
.link { font-weight: 700; text-decoration-thickness: 3px; text-underline-offset: .3em; }
.link:hover { color: var(--ketchup); }

/* Hero */
.hero { max-width: var(--max); margin: 0 auto; padding: 1.5rem var(--pad) 3.5rem; display: grid; gap: 2.5rem; }
h1 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.5rem, 12.2vw, 5rem); line-height: .98; letter-spacing: -.01em;
}
.red { color: var(--ketchup); }
.lede { font-size: 1.1875rem; max-width: 28rem; margin-top: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }

.hero-card { position: relative; margin: 0 .5rem 1rem; transform: rotate(-2deg); }
.hero-frame {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5;
  border: var(--line); border-radius: 1.75rem; box-shadow: 8px 8px 0 var(--black); background: var(--black);
}
.hero-frame img, .hero-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sticker {
  position: absolute; z-index: 2; margin: 0; text-align: center;
  font-family: var(--display); text-transform: uppercase; line-height: 1.05;
  border: var(--line); box-shadow: 4px 4px 0 var(--black);
}
.sticker-status {
  left: -.75rem; top: 1.25rem; transform: rotate(-5deg);
  background: var(--white); font-size: .8125rem; padding: .625rem .875rem; border-radius: 999px; max-width: 13rem;
}
.sticker-status .is-open::before, .sticker-status .is-closed::before, .status-inline span::before {
  content: ""; display: inline-block; width: .625rem; height: .625rem; border-radius: 50%; margin-right: .4rem; background: var(--ketchup);
}
.sticker-status .is-open::before, .status-inline .is-open::before { background: #1E9E48; }
.sticker-price {
  right: -.5rem; bottom: 3.5rem; transform: rotate(9deg);
  width: 6.25rem; height: 6.25rem; border-radius: 50%; background: var(--ketchup); color: var(--white);
  display: grid; place-content: center; font-size: .75rem;
}
.sticker-price b { display: block; font-size: 1.375rem; font-weight: 400; }
.hero-toggle {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  font: 700 .8125rem/1.2 var(--text); color: var(--black); background: var(--white); cursor: pointer;
  border: 2px solid var(--black); border-radius: 999px; padding: .5rem .875rem; min-height: 2.25rem;
}

/* Ticker */
.ticker { background: var(--black); color: var(--mustard); overflow: hidden; border-block: var(--line); transform: rotate(-1deg) scale(1.02); }
.ticker-row { display: flex; width: max-content; animation: ticker 28s linear infinite; }
.ticker span {
  font-family: var(--display); font-size: 1.25rem; line-height: 1; text-transform: uppercase; white-space: nowrap;
  padding: .875rem 0 .875rem 1.25rem;
}
.ticker span::after { content: "✦"; margin-left: 1.25rem; color: var(--ketchup); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Menu */
.menu { max-width: var(--max); margin: 0 auto; padding: 4.5rem var(--pad) 3.5rem; }
h2 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2rem, 8.5vw, 4rem); line-height: 1; margin-bottom: 1rem; text-wrap: balance;
}
.menu-note { max-width: 34rem; margin-bottom: 2.5rem; }
.burgers { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.burger {
  position: relative; display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; align-items: center;
  background: var(--white); border: var(--line); border-radius: 1.25rem; padding: .75rem; box-shadow: 5px 5px 0 var(--black);
  transition: transform .18s cubic-bezier(.34, 1.56, .64, 1), box-shadow .18s ease;
}
.burger img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: .75rem; border: 2px solid var(--black); background: var(--black); }
.burger h3 { font-family: var(--display); font-weight: 400; font-size: 1.375rem; line-height: 1.1; text-transform: uppercase; margin-bottom: .25rem; }
.burger p { font-size: 1rem; line-height: 1.4; }
.burger .price, .list .price { font-family: var(--display); color: var(--ketchup); font-size: 1.25rem; margin-top: .375rem; white-space: nowrap; }
.veg {
  display: inline-block; vertical-align: middle; font-family: var(--text); font-weight: 700; font-size: .75rem; text-transform: none; letter-spacing: 0;
  background: #1E7F3C; color: var(--white); border-radius: 999px; padding: .2rem .55rem; margin-left: .25rem;
}
.burger-flag {
  position: absolute; right: -.5rem; top: -1.375rem; transform: rotate(4deg);
  font-family: var(--display); font-size: .75rem !important; line-height: 1 !important; text-transform: uppercase;
  background: var(--mustard); border: 2px solid var(--black); border-radius: 999px; padding: .4rem .7rem;
}

.extras { display: grid; gap: 2.5rem; margin-top: 3.5rem; }
.extras h3 { font-family: var(--display); font-weight: 400; font-size: 1.625rem; text-transform: uppercase; margin-bottom: .5rem; }
.list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding: .75rem 0; border-bottom: var(--line); }
.list .price { margin-top: 0; font-size: 1.0625rem; color: var(--black); }   /* red on yellow is too weak at this size */
.extras-photos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1rem; align-items: end; }
.extras-photos img { width: 100%; height: 100%; object-fit: cover; border: var(--line); border-radius: 1.25rem; box-shadow: 5px 5px 0 var(--black); }
.extras-photos img:first-child { aspect-ratio: 4 / 3; transform: rotate(-2deg); }
.extras-photos img:last-child { aspect-ratio: 4 / 5; transform: rotate(3deg); }

/* Order */
.order { background: var(--ketchup); color: var(--white); border-block: var(--line); padding: 4rem var(--pad); }
.order > * { max-width: calc(var(--max) - 2 * var(--pad)); margin-left: auto; margin-right: auto; }
.order h2 { margin-bottom: 2rem; }
.ways { display: grid; gap: 1.25rem; counter-reset: way; }
.ways > li {
  counter-increment: way; background: var(--bun); color: var(--black);
  border: var(--line); border-radius: 1.25rem; padding: 1.5rem; box-shadow: 5px 5px 0 var(--black);
}
.ways > li::before {
  content: counter(way); display: grid; place-content: center; width: 2.5rem; height: 2.5rem; margin-bottom: .875rem;
  font-family: var(--display); font-size: 1.25rem; background: var(--mustard); border: 2px solid var(--black); border-radius: 50%;
}
.ways h3 { font-family: var(--display); font-weight: 400; font-size: 1.625rem; line-height: 1.1; text-transform: uppercase; margin-bottom: .5rem; }
.ways p + p, .ways .apps { margin-top: 1.25rem; }
.apps { display: flex; flex-wrap: wrap; gap: .5rem; }
.apps a {
  display: inline-block; text-decoration: none; font-weight: 700; background: var(--white);
  border: 2px solid var(--black); border-radius: 999px; padding: .625rem 1rem; box-shadow: 3px 3px 0 var(--black);
  transition: transform .12s ease, box-shadow .12s ease;
}
.apps a:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--black); }

/* Story */
.story { max-width: var(--max); margin: 0 auto; padding: 4.5rem var(--pad); display: grid; gap: 2.5rem; align-items: center; }
.story-photo { overflow: hidden; aspect-ratio: 4 / 5; max-width: 24rem; border: var(--line); border-radius: 1.75rem; box-shadow: 8px 8px 0 var(--black); }
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-text p { font-size: 1.1875rem; max-width: 34rem; }
.story-text p + p { margin-top: 1rem; }

/* Visit */
.visit { background: var(--black); color: var(--bun); padding: 4rem var(--pad); display: grid; gap: 3rem; }
.visit > div { width: 100%; max-width: 36rem; }
.visit h2 { color: var(--mustard); font-size: 2.5rem; }
.visit p + p { margin-top: .75rem; }
.visit address { margin-bottom: .75rem; }
.status-inline { margin-bottom: 1rem; font-weight: 700; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; font-weight: 500; padding: .5rem 0; border-bottom: 1px solid rgba(255, 244, 214, .3); }
.hours td { text-align: right; }
.hours .is-today th, .hours .is-today td { color: var(--mustard); font-weight: 800; }
.visit .link:hover { color: var(--mustard); }

/* Footer */
.foot { background: var(--black); color: var(--bun); padding: 2rem var(--pad) 6.5rem; border-top: 1px solid rgba(255, 244, 214, .3); font-weight: 400; }
.foot-name { font-family: var(--display); font-size: 3rem; line-height: 1; text-transform: uppercase; color: var(--mustard); margin-bottom: .5rem; }

/* Phones: order button fixed at the bottom */
.order-bar {
  position: fixed; left: var(--pad); right: var(--pad); bottom: max(.75rem, env(safe-area-inset-bottom)); z-index: 20;
  text-align: center; text-decoration: none; background: var(--ketchup); color: var(--white);
  font-family: var(--display); font-size: 1.125rem; line-height: 1; text-transform: uppercase;
  padding: 1rem; border: var(--line); border-radius: 999px; box-shadow: 4px 4px 0 var(--black);
  transition: transform .25s ease, opacity .25s ease;
}
.order-bar.is-hidden { transform: translateY(160%); opacity: 0; pointer-events: none; }

@media (hover: hover) {
  .burger:hover { transform: rotate(-1.5deg) translateY(-4px); box-shadow: 9px 9px 0 var(--black); }
  .burger:nth-child(even):hover { transform: rotate(1.5deg) translateY(-4px); }
}

@media (min-width: 640px) {
  .burgers { grid-template-columns: 1fr 1fr; }
  .ways { grid-template-columns: repeat(3, 1fr); }
  .visit { grid-template-columns: 1fr 1fr; justify-items: center; }
}

@media (min-width: 960px) {
  :root { --pad: 3rem; }
  .top { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .wordmark { font-size: 2.25rem; }
  .top-nav { display: flex; }
  .order-bar { display: none; }
  .foot { padding-bottom: 3rem; }

  .hero { grid-template-columns: 1.15fr 1fr; gap: 3.5rem; align-items: center; padding-top: 2.5rem; padding-bottom: 6rem; }
  h1 { font-size: clamp(2.25rem, 4vw, 3.5rem); }   /* each of the three sentences stays on one line */
  .lede { font-size: 1.3125rem; margin-top: 1.75rem; }
  .hero-card { margin: 0 1rem 0 0; }
  .hero-frame { aspect-ratio: 5 / 4; }
  .sticker-status { font-size: .9375rem; left: -1.75rem; top: 2rem; max-width: 16rem; }
  .sticker-price { width: 8rem; height: 8rem; font-size: .9375rem; right: -1.5rem; bottom: 2.5rem; }
  .sticker-price b { font-size: 1.875rem; }
  .ticker span { font-size: 1.75rem; padding-block: 1.125rem; }

  .menu { padding-top: 7rem; padding-bottom: 5rem; }
  .burgers { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
  .burger { grid-template-columns: 1fr; align-items: start; padding: .875rem .875rem 1.25rem; }
  .burger img { aspect-ratio: 4 / 5; }
  .extras { grid-template-columns: 1fr 1fr 1.1fr; gap: 3.5rem; margin-top: 5rem; align-items: start; }
  .order { padding-top: 6rem; padding-bottom: 6rem; }
  .ways { gap: 1.75rem; }
  .story { grid-template-columns: 4fr 6fr; gap: 6rem; padding-top: 7rem; padding-bottom: 7rem; }
  .visit { padding-top: 6rem; padding-bottom: 6rem; }
}

/* Concept bar with the button back to Webcrops. Stays at the top of the screen while scrolling. */
html { scroll-padding-top: 3.5rem; }
.concept-bar {
  --bar-bg: var(--black); --bar-fg: var(--white);
  position: sticky; top: 0; z-index: 50; margin: 0;
  display: flex; align-items: center; justify-content: center; gap: .375rem 1rem;
  background: var(--bar-bg); color: var(--bar-fg); text-align: left; padding: .4375rem 1rem;
}
.concept-bar a { color: inherit; }
.concept-back {
  flex: none; display: inline-flex; align-items: center; gap: .375rem;
  font-weight: 700; font-size: .8125rem; line-height: 1; text-decoration: none; white-space: nowrap;
  border: 1.5px solid var(--bar-fg); border-radius: 999px; padding: .5rem .875rem; min-height: 2rem;
  transition: background-color .15s ease, color .15s ease;
}
.concept-back:hover { background: var(--bar-fg); color: var(--bar-bg) !important; }
.concept-bar :focus-visible { outline: 2px solid var(--bar-fg); outline-offset: 2px; }
@media (max-width: 479px) {
  .concept-bar { justify-content: flex-start; font-size: .75rem; }
}

/* Smart sticky header (assets/js/nav.js): slides away on the way down, comes back on the way up.
   It sits just under the concept bar, and gets a background while it is stuck. */
.top[data-smart-nav] {
  position: sticky; top: var(--bar-h, 2.875rem); z-index: 45; max-width: none; margin: 0; padding-inline: max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad)));
  transition: transform .28s ease, background-color .28s ease, box-shadow .28s ease;
}
.top.is-hidden { transform: translateY(-101%); }
.top.is-stuck { background: rgba(255, 199, 44, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 3px 0 var(--black); }

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