:root {
  --ink: #233c30;
  --cream: #f6f2e8;
  --orange: #ee7048;
  --yellow: #e7ed99;
  --line: #d7d9ca;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--cream);
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #923c20;
  outline-offset: 5px;
}
.skip {
  position: fixed;
  top: -70px;
  background: white;
  padding: 12px;
  z-index: 20;
}
.skip:focus {
  top: 0;
}
header {
  padding: 28px 5%;
  display: flex;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 29px;
  letter-spacing: -1.5px;
  font-weight: 800;
  white-space: nowrap;
}
.brand i {
  font: italic 33px Georgia;
}
.brand > span {
  background: var(--ink);
  color: var(--cream);
  border-radius: 50%;
  padding: 1px 9px;
  margin-right: 6px;
}
nav {
  display: flex;
  gap: 28px;
  align-items: center;
  margin: auto;
  font-size: 13px;
}
nav button {
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.demo-tag,
.eyebrow {
  font:
    11px/1.5 "Courier New",
    monospace;
  letter-spacing: 1.6px;
}
.demo-tag {
  border: 1px solid var(--ink);
  padding: 8px 10px;
  border-radius: 4px;
}
.hero {
  padding: 70px 8% 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 660px;
  gap: 50px;
  overflow: hidden;
}
h1 {
  font-size: clamp(58px, 6.9vw, 108px);
  line-height: 0.98;
  letter-spacing: -6px;
  margin: 25px 0;
}
h1 em,
h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
}
h1 em {
  color: var(--orange);
}
.intro {
  font-size: 17px;
  line-height: 1.7;
  margin: 25px 0;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 19px 25px;
  border-radius: 40px;
  background: var(--ink);
  color: var(--cream);
  border: 0;
  font-weight: 600;
  font-size: 14px;
  transition:
    transform 0.3s cubic-bezier(0.2, 1.8, 0.4, 1),
    background 0.2s;
}
.pill:hover {
  transform: translateY(-4px);
  background: #365642;
}
.pill:active {
  transform: scale(0.97);
}
.hero-foot {
  display: flex;
  gap: 13px;
  margin-top: 42px;
  font-size: 12px;
  line-height: 1.5;
}
.spark {
  font-size: 40px;
  color: var(--orange);
}
.paper-scene {
  position: relative;
  min-height: 500px;
  perspective: 1000px;
  transform: rotate(5deg);
}
.paper {
  position: absolute;
  inset: 10px 12% 18px 6%;
  box-shadow: 10px 20px 30px #24413016;
  transform-origin: bottom left;
}
.back {
  background: var(--yellow);
  transform: rotate(-13deg);
  animation: paper-breathe 7s ease-in-out infinite;
}
.front {
  background: #f6a080;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: polygon(0 0, 85% 0, 100% 13%, 100% 100%, 0 100%);
}
.front:after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 15%;
  height: 13%;
  background: #cb6748;
  clip-path: polygon(0 0, 0 100%, 100% 100%);
}
.paper-top,
.paper-bottom {
  display: flex;
  justify-content: space-between;
  font:
    10px "Courier New",
    monospace;
  letter-spacing: 1px;
}
.paper-top b {
  margin-right: 30px;
}
.paper-bottom {
  font-size: 11px;
}
.front > strong {
  font-size: clamp(45px, 5vw, 76px);
  letter-spacing: -4px;
  line-height: 0.9;
  position: relative;
  z-index: 2;
  margin-top: 180px;
}
.front > strong em {
  font-family: Georgia;
  font-weight: 400;
}
.clay-taco {
  position: absolute;
  width: 230px;
  height: 150px;
  border-radius: 120px 120px 30px 30px;
  background: linear-gradient(145deg, #fff1b0, #e8bb59);
  box-shadow:
    inset -16px -18px 25px #b8733344,
    inset 8px 8px 15px #fff4c6,
    10px 20px 10px #7a49202a;
  transform: rotate(-18deg);
  top: 80px;
  right: 15px;
  animation: taco-float 6s ease-in-out infinite;
}
.clay-taco:after {
  content: "";
  position: absolute;
  inset: 16px 15px 24px;
  border-radius: 100px 100px 30px 30px;
  border: 2px dashed #c7984b77;
}
.clay-taco i {
  position: absolute;
  width: 48px;
  height: 45px;
  border-radius: 50% 10% 50% 10%;
  background: linear-gradient(140deg, #a4ba65, #407952);
  box-shadow: inset 2px 2px 6px #d5e5a1;
  top: -5px;
  left: 50px;
  transform: rotate(30deg);
}
.clay-taco i:nth-child(2) {
  left: 105px;
  top: -16px;
  transform: rotate(70deg);
}
.clay-taco i:nth-child(3) {
  left: 160px;
}
.clay-taco span {
  position: absolute;
  top: 10px;
  left: 112px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffac82, #bc4631);
  box-shadow: 3px 4px 8px #47291c33;
}
.sticker {
  position: absolute;
  right: 0;
  bottom: 55px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background: var(--ink);
  color: var(--yellow);
  font-size: 17px;
  transform: rotate(-15deg);
  box-shadow: 4px 5px 0 #f6f2e8;
  line-height: 1.1;
}
.sticker em {
  font: italic 37px Georgia;
}
.scene-caption {
  position: absolute;
  bottom: -15px;
  right: 30px;
  font: 10px "Courier New";
  letter-spacing: 2px;
}
.ticker {
  background: var(--ink);
  color: var(--yellow);
  padding: 20px 0;
  overflow: hidden;
  font-size: 21px;
  letter-spacing: 4px;
  white-space: nowrap;
}
.ticker span {
  display: inline-block;
  animation: marquee 35s linear infinite;
}
.order-layout {
  padding: 85px 5%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 315px;
  gap: 55px;
  scroll-margin-top: 20px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}
.section-heading h2 {
  font-size: 43px;
  letter-spacing: -2px;
  margin: 12px 0 25px;
}
.section-heading > p {
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}
.filters {
  display: flex;
  gap: 8px;
  margin: 16px 0 25px;
  flex-wrap: wrap;
}
.filters button {
  border: 1px solid #b8c1b4;
  border-radius: 30px;
  padding: 12px 17px;
  background: transparent;
  color: var(--ink);
  transition: 0.2s;
}
.filters button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cream);
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.food-card {
  border: 1px solid var(--line);
  background: #fffcf6;
  overflow: hidden;
  border-radius: 3px;
  position: relative;
  transition:
    transform 0.3s,
    border-color 0.2s;
}
.food-card.selected {
  border: 2px solid var(--ink);
}
.food-art {
  height: 165px;
  display: grid;
  place-items: center;
  background: #e7e9bc;
  position: relative;
  overflow: hidden;
}
.food-card:nth-child(2n) .food-art {
  background: #edb49c;
}
.food-card:nth-child(3n) .food-art {
  background: #c7d7ca;
}
.food-art svg {
  width: 170px;
  height: 135px;
  filter: drop-shadow(7px 14px 5px #243b3030);
  transition: transform 0.5s cubic-bezier(0.2, 1.5, 0.3, 1);
}
.food-card:hover svg {
  transform: translateY(-8px) rotate(-6deg);
}
.food-info {
  padding: 21px;
}
.food-info h3 {
  font-size: 20px;
  letter-spacing: -0.6px;
  margin: 0 0 8px;
  min-height: 44px;
}
.food-info p {
  font-size: 12px;
  line-height: 1.5;
  min-height: 36px;
}
.food-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.food-bottom button {
  border: 1px solid var(--ink);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  background: none;
  color: var(--ink);
  font-size: 23px;
  transition:
    transform 0.3s,
    background 0.2s;
}
.food-bottom button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cream);
  transform: rotate(360deg);
}
.food-bottom strong {
  font-size: 14px;
}
.receipt {
  align-self: start;
  position: sticky;
  top: 25px;
  background: #fffdf6;
  padding: 25px;
  box-shadow: 0 8px 25px #233c3009;
  border-top: 7px solid var(--orange);
  filter: drop-shadow(0 5px 2px #233c3008);
}
.receipt:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 15px;
  background:
    linear-gradient(135deg, #fffdf6 25%, transparent 25%) -10px 0/20px 20px,
    linear-gradient(225deg, #fffdf6 25%, transparent 25%) -10px 0/20px 20px;
}
.receipt-head {
  display: flex;
  justify-content: space-between;
  font: 10px "Courier New";
  letter-spacing: 1px;
}
.receipt h2 {
  font: italic 32px Georgia;
  margin: 20px 0;
}
.receipt p {
  font-size: 12px;
  line-height: 1.7;
}
ul {
  padding: 0;
  list-style: none;
}
#order-items li,
#confirm-items li {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.tip-label {
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin: 24px 0 10px;
}
.tip-label span {
  font-size: 10px;
}
input {
  width: 100%;
  border: 1px solid #a7b3a2;
  background: transparent;
  padding: 12px;
  border-radius: 4px;
  color: var(--ink);
}
.total {
  border-top: 1px dashed var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 20px 0;
  margin-top: 20px;
  font-size: 12px;
}
.total strong {
  font-size: 27px;
  letter-spacing: -1px;
}
.checkout {
  width: 100%;
  padding: 16px 20px;
  font-size: 12px;
}
.checkout:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
}
.clear {
  border: 0;
  background: none;
  color: var(--ink);
  display: block;
  margin: 18px auto;
  text-decoration: underline;
  font-size: 12px;
  padding: 8px;
}
.small-note {
  text-align: center;
  color: #61705f;
}
.error {
  color: #9b341a;
  min-height: 16px;
}
.story {
  text-align: center;
  padding: 70px 20% 90px;
  background: var(--yellow);
}
.story-mark {
  font-size: 70px;
}
.story h2 {
  font-size: 52px;
  letter-spacing: -2px;
  line-height: 1.1;
}
.story > p:not(.eyebrow) {
  line-height: 1.8;
  font-size: 14px;
  max-width: 630px;
  margin: 25px auto;
}
.story a {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 6px;
  font-size: 13px;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 35px 5%;
  font-size: 11px;
}
dialog {
  border: 0;
  background: transparent;
  padding: 25px;
  max-width: min(95vw, 490px);
  width: 100%;
  max-height: 90vh;
  color: var(--ink);
}
dialog::backdrop {
  background: #162c22aa;
  backdrop-filter: blur(6px);
}
.dialog-paper {
  padding: 35px;
  background: var(--cream);
  border-top: 8px solid var(--orange);
  transform-origin: top;
  animation: unfold 0.5s ease-out;
}
.dialog-paper h2 {
  font-size: 45px;
  letter-spacing: -2px;
  line-height: 1.05;
}
.dialog-paper > p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.6;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  background: var(--ink);
  color: var(--cream);
  padding: 16px 25px;
  border-radius: 30px;
  z-index: 20;
  max-width: 90vw;
  width: max-content;
  font-size: 13px;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@keyframes taco-float {
  50% {
    transform: translateY(-12px) rotate(-13deg);
  }
}
@keyframes paper-breathe {
  50% {
    transform: rotate(-9deg);
  }
}
@keyframes marquee {
  to {
    transform: translateX(-45%);
  }
}
@keyframes unfold {
  from {
    opacity: 0;
    transform: perspective(600px) rotateX(-20deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
body.paused *,
body.paused *:before,
body.paused *:after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 1000px) {
  .hero {
    padding: 55px 5%;
    gap: 20px;
  }
  .hero h1 {
    letter-spacing: -4px;
  }
  .order-layout {
    gap: 25px;
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .demo-tag {
    display: none;
  }
  .paper-scene {
    transform: scale(0.93) rotate(5deg);
  }
  .section-heading > p {
    display: none;
  }
}
@media (max-width: 700px) {
  header {
    padding: 22px 6%;
    flex-wrap: wrap;
    gap: 16px;
  }
  .brand {
    font-size: 27px;
  }
  nav {
    width: 100%;
    margin: 0;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
  }
  nav button {
    font-size: 11px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 45px 7% 30px;
  }
  .hero h1 {
    font-size: clamp(52px, 14.5vw, 65px);
    letter-spacing: -3px;
  }
  .hero-foot {
    margin-top: 30px;
  }
  .paper-scene {
    min-height: 450px;
    margin-top: 10px;
    transform: rotate(5deg) scale(0.96);
  }
  .front > strong {
    font-size: 65px;
  }
  .paper {
    inset: 10px 10% 20px 3%;
  }
  .hero-copy {
    z-index: 2;
  }
  .ticker {
    font-size: 15px;
    padding: 16px;
  }
  .order-layout {
    display: block;
    padding: 50px 6%;
  }
  .section-heading h2 {
    font-size: 35px;
  }
  .cards {
    gap: 12px;
  }
  .food-art {
    height: 120px;
  }
  .food-art svg {
    width: 125px;
    height: 105px;
  }
  .food-info {
    padding: 14px;
  }
  .food-info h3 {
    font-size: 16px;
    min-height: 39px;
  }
  .food-info p {
    font-size: 11px;
  }
  .receipt {
    position: relative;
    top: 0;
    margin-top: 35px;
    padding: 25px;
  }
  .story {
    padding: 55px 8%;
  }
  .story h2 {
    font-size: 39px;
  }
  footer {
    flex-direction: column;
    align-items: start;
    padding: 30px 6%;
    gap: 18px;
  }
  .filters button {
    font-size: 11px;
    padding: 10px 13px;
  }
  .dialog-paper {
    padding: 25px;
  }
  .clay-taco {
    width: 210px;
  }
}

html:has(body.paused) {
  scroll-behavior: auto;
}

@media (max-width: 700px) {
  button,
  input,
  select {
    min-height: 44px;
  }
  nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }
}

.food-bottom button {
  width: 44px;
  height: 44px;
}

/* Vector arrows keep their shape across Safari, system fonts, and emoji sets. */
svg.compat-arrow {
  display: inline-block;
  position: static;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  vertical-align: -0.125em;
  fill: none;
  stroke: currentColor;
}
