:root {
  --ink: #141018;
  --paper: #fffaf4;
  --white: #ffffff;
  --violet: #4a1d82;
  --violet-deep: #22102f;
  --pink: #d6137c;
  --yellow: #ffd83d;
  --mint: #0ca678;
  --cyan: #24b8c7;
  --line: rgba(20, 16, 24, 0.14);
  --shadow: 0 16px 36px rgba(22, 13, 34, 0.18);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--violet);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(15, 10, 24, 0.18);
}

.promo-bar {
  display: grid;
  min-height: 34px;
  place-items: center;
  padding: 7px 16px;
  background: var(--violet-deep);
  color: var(--yellow);
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}

.nav-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  max-width: 1180px;
  min-height: 76px;
  margin: 0 auto;
  padding: 12px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 186px;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 3px solid var(--yellow);
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 1.55rem;
  line-height: 1;
}

.brand-name {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 1.02rem;
  line-height: 0.94;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-weight: 900;
}

.primary-nav a {
  padding: 10px 0;
}

.primary-nav a:hover,
.text-link:hover {
  color: var(--yellow);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  font-weight: 900;
}

.order-button,
.primary-button,
.secondary-button,
.dark-button,
.location-form button,
.menu-card-footer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
}

.order-button,
.primary-button {
  padding: 0 22px;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.order-button:hover,
.primary-button:hover,
.location-form button:hover,
.menu-card-footer button:hover {
  transform: translateY(-1px);
}

.primary-button.compact {
  min-height: 42px;
  padding: 0 18px;
  box-shadow: none;
}

.secondary-button {
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid var(--white);
  color: var(--white);
}

.dark-button {
  min-height: 46px;
  padding: 0 22px;
  background: var(--violet-deep);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px 9px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle span {
  display: block;
  height: 3px;
  margin: 4px 0;
  border-radius: 999px;
  background: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: 72svh;
  overflow: hidden;
  color: var(--white);
  background: var(--violet-deep);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(26, 12, 42, 0.86) 0%, rgba(26, 12, 42, 0.54) 44%, rgba(26, 12, 42, 0.18) 100%),
    linear-gradient(0deg, rgba(26, 12, 42, 0.34), rgba(26, 12, 42, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 72px 24px 88px;
}

.label {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.feature-copy h2,
.section-heading h2,
.rewards-copy h2 {
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  line-height: 0.94;
}

.hero h1 {
  max-width: 640px;
  font-size: 5.2rem;
}

.hero p:not(.label) {
  max-width: 520px;
  margin: 18px 0 0;
  font-size: 1.15rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.mode-strip {
  display: grid;
  grid-template-columns: 180px 180px minmax(300px, 1fr);
  gap: 10px;
  width: min(1120px, calc(100% - 32px));
  margin: -34px auto 0;
  padding: 12px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 5;
}

.mode-option {
  min-height: 70px;
  padding: 13px 16px;
  border: 2px solid var(--line);
  border-radius: 8px;
}

.mode-option.active {
  border-color: var(--pink);
}

.mode-option span,
.mode-option strong {
  display: block;
}

.mode-option span {
  font-weight: 900;
}

.mode-option strong {
  margin-top: 3px;
  color: rgba(20, 16, 24, 0.68);
  font-size: 0.86rem;
}

.location-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.location-form input {
  min-width: 0;
  min-height: 70px;
  padding: 0 18px;
  border: 2px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 700;
}

.location-form input:focus {
  border-color: var(--pink);
  outline: 0;
}

.location-form button,
.menu-card-footer button {
  min-width: 126px;
  background: var(--pink);
  color: var(--white);
}

.category-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  width: min(1180px, 100%);
  margin: 26px auto 0;
  padding: 0 24px;
  gap: 10px;
}

.category-bar a {
  display: grid;
  min-height: 58px;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 900;
}

.category-bar a:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: center;
  width: min(1180px, 100%);
  margin: 72px auto;
  padding: 0 24px;
}

.feature-copy h2,
.section-heading h2,
.rewards-copy h2 {
  font-size: 3.1rem;
}

.feature-copy p:not(.label),
.rewards-copy p,
.menu-card-body p,
.locations-section p {
  color: rgba(20, 16, 24, 0.7);
  line-height: 1.55;
}

.feature-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-image img {
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
}

.menu-section {
  padding: 68px 24px 78px;
  background: var(--violet-deep);
  color: var(--white);
}

.section-heading {
  display: grid;
  gap: 10px;
  width: min(1180px, 100%);
  margin: 0 auto 26px;
}

.menu-section .section-heading {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.menu-section .section-heading .label {
  grid-column: 1 / -1;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tabs button {
  min-height: 38px;
  padding: 0 16px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
}

.filter-tabs button.active {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.menu-card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.menu-card[hidden] {
  display: none;
}

.menu-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.menu-card-body {
  display: grid;
  min-height: 218px;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  padding: 18px;
}

.menu-card h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.15;
}

.menu-card-body p {
  margin: 0;
  font-size: 0.95rem;
}

.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.menu-card-footer strong {
  font-size: 1.15rem;
}

.menu-card-footer button {
  min-width: 82px;
  min-height: 40px;
}

.rewards-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: center;
  padding: 74px 24px;
  background: var(--yellow);
}

.rewards-copy,
.phone-shell {
  width: min(100%, 560px);
}

.rewards-copy {
  justify-self: end;
}

.rewards-copy .label {
  color: var(--violet);
}

.phone-shell {
  display: grid;
  width: 270px;
  height: 430px;
  place-items: center;
  border: 10px solid var(--violet-deep);
  border-radius: 36px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.phone-screen {
  display: grid;
  width: calc(100% - 22px);
  height: calc(100% - 22px);
  align-content: center;
  gap: 16px;
  padding: 24px;
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(214, 19, 124, 0.92), rgba(74, 29, 130, 0.94)),
    var(--violet);
  color: var(--white);
  text-align: center;
}

.phone-screen span {
  font-weight: 900;
}

.phone-screen strong {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 3rem;
  line-height: 1;
}

.phone-screen p {
  margin: 0;
}

.phone-screen button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.locations-section {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 72px 24px;
}

.locations-section .section-heading {
  width: 100%;
}

.locations-section .label {
  color: var(--pink);
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.location-grid article {
  min-height: 150px;
  padding: 22px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.location-grid h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.location-grid p {
  margin: 0;
}

.cart-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: grid;
  min-width: 190px;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.cart-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.cart-toast strong {
  color: var(--yellow);
}

.site-footer {
  display: grid;
  gap: 22px;
  padding: 36px 24px;
  background: var(--ink);
  color: var(--white);
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Archivo Black", Impact, sans-serif;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-weight: 800;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  text-align: center;
}

@media (max-width: 980px) {
  .nav-row {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav,
  .nav-actions {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 45;
    display: none;
    background: var(--violet);
  }

  .primary-nav {
    top: 110px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 0;
  }

  .primary-nav a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding: 16px 0;
  }

  .nav-actions {
    top: 338px;
    justify-content: stretch;
    padding: 16px 24px 24px;
  }

  .nav-actions .text-link,
  .nav-actions .order-button {
    flex: 1;
    text-align: center;
  }

  body.nav-open .primary-nav,
  body.nav-open .nav-actions {
    display: flex;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .mode-strip {
    grid-template-columns: 1fr 1fr;
  }

  .location-form {
    grid-column: 1 / -1;
  }

  .category-bar {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-band,
  .rewards-band {
    grid-template-columns: 1fr;
  }

  .rewards-copy,
  .phone-shell {
    justify-self: center;
  }

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

@media (max-width: 680px) {
  .promo-bar {
    min-height: 32px;
    font-size: 0.78rem;
  }

  .nav-row {
    min-height: 68px;
    padding: 10px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 1.35rem;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .primary-nav {
    top: 100px;
  }

  .nav-actions {
    top: 328px;
    flex-direction: column;
  }

  .hero {
    min-height: 68svh;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(26, 12, 42, 0.86) 0%, rgba(26, 12, 42, 0.42) 100%),
      rgba(26, 12, 42, 0.24);
  }

  .hero-content {
    align-self: end;
    padding: 54px 18px 76px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p:not(.label) {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .mode-strip {
    grid-template-columns: 1fr;
    width: calc(100% - 24px);
    margin-top: -28px;
  }

  .location-form {
    grid-template-columns: 1fr;
  }

  .location-form input,
  .location-form button {
    min-height: 54px;
  }

  .category-bar {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 12px;
  }

  .feature-band {
    margin: 52px auto;
    padding: 0 18px;
  }

  .feature-copy h2,
  .section-heading h2,
  .rewards-copy h2 {
    font-size: 2.35rem;
  }

  .menu-section {
    padding: 52px 18px 62px;
  }

  .menu-section .section-heading {
    grid-template-columns: 1fr;
  }

  .menu-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .menu-card-body {
    min-height: 190px;
  }

  .rewards-band {
    padding: 56px 18px;
  }

  .phone-shell {
    width: min(270px, 100%);
  }

  .locations-section {
    padding: 56px 18px;
  }

  .cart-toast {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }
}
