:root {
  --ink: #19100d;
  --muted: #705f57;
  --cream: #fff6dd;
  --paper: #fffaf0;
  --red: #d71920;
  --red-dark: #8b1016;
  --blue: #12683d;
  --blue-dark: #10271c;
  --tomato: #df3d25;
  --green: #12683d;
  --lime: #8bb35f;
  --gold: #f7d37a;
  --chile: #d85a1d;
  --blackboard: #111111;
  --border: rgba(25, 16, 13, 0.12);
  --shadow: 0 24px 70px rgba(16, 39, 28, 0.18);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(247, 211, 122, 0.42), transparent 30rem),
    radial-gradient(circle at 92% 12%, rgba(18, 104, 61, 0.16), transparent 22rem),
    linear-gradient(135deg, rgba(215, 25, 32, 0.035) 25%, transparent 25%) 0 0 / 34px 34px,
    linear-gradient(180deg, #fff4dd 0%, #fffaf0 42%, #f4ead7 100%);
  color: var(--ink);
  line-height: 1.55;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.promo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.55rem 1rem;
  background: var(--blackboard);
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
}

.promo-bar strong {
  color: var(--gold);
  text-transform: uppercase;
}

.promo-bar a {
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 250, 240, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  border-radius: 18px;
  background: var(--blackboard);
  box-shadow: 0 10px 28px rgba(13, 45, 100, 0.22);
}

.brand-mark {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 999px;
  background:
    linear-gradient(135deg, var(--blue) 0 48%, #fff 48% 52%, var(--red) 52%),
    var(--red);
  color: var(--cream);
  font-family: Georgia, serif;
  font-size: 1.55rem;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(143, 31, 22, 0.25);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.header-link,
.header-order {
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.header-link {
  padding: 0.55rem 0.7rem;
  color: var(--blue-dark);
}

.header-order {
  padding: 0.7rem 0.9rem;
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 22px rgba(215, 25, 32, 0.24);
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.nav a {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  color: var(--blue-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 750;
}

.nav a:hover {
  background: rgba(215, 25, 32, 0.1);
}

.hero,
.section,
.order-starter {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.order-starter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 1rem;
  align-items: center;
  margin-top: 1.15rem;
  padding: 1.15rem;
  border: 5px solid var(--red);
  border-radius: 30px;
  background:
    linear-gradient(#fffaf0, #fffaf0) padding-box,
    linear-gradient(135deg, var(--red), var(--green), var(--blackboard), var(--red)) border-box;
  box-shadow:
    0 0 0 7px rgba(18, 104, 61, 0.16),
    0 22px 70px rgba(139, 16, 22, 0.26);
  position: relative;
}

.order-starter::before {
  content: "Order here";
  position: absolute;
  top: -0.95rem;
  left: 1.2rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: var(--blackboard);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.order-starter h2 {
  margin-bottom: 0;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.order-toggle {
  display: flex;
  overflow: hidden;
  border: 3px solid var(--green);
  border-radius: 999px;
  background: #fff;
}

.order-toggle a {
  padding: 0.72rem 1rem;
  color: var(--blue-dark);
  font-weight: 950;
  text-decoration: none;
}

.order-toggle .active {
  background: var(--green);
  color: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 1.5rem;
  align-items: stretch;
  padding: clamp(2.5rem, 7vw, 6rem) 0 2.5rem;
}

.hero-copy,
.hero-card,
.panel,
.cart-card,
.clover-card,
.launch,
.workflow article,
.ops-card,
.vendor-card,
.drift-item,
.social-card,
.media-card,
.local-hero,
.local-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 251, 242, 0.86);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.94), rgba(255, 246, 221, 0.76)),
    radial-gradient(circle at 85% 18%, rgba(18, 104, 61, 0.16), transparent 16rem),
    radial-gradient(circle at bottom right, rgba(216, 90, 29, 0.18), transparent 20rem);
}

.eyebrow,
.panel-kicker,
.card-kicker {
  margin: 0 0 0.7rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 8vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 0.7rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.02rem;
}

.lead {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.6rem 0 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.75rem 1.05rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 850;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--chile));
  color: var(--cream);
  box-shadow:
    0 0 0 4px rgba(247, 211, 122, 0.38),
    0 12px 28px rgba(215, 25, 32, 0.28);
}

.btn-secondary {
  background: #fff;
  color: var(--blue-dark);
  border: 1px solid var(--border);
}

.btn-wide {
  width: 100%;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
}

.hero-facts div {
  min-height: 6rem;
  padding: 0.85rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(215, 25, 32, 0.08), rgba(22, 86, 167, 0.07));
}

.hero-facts dt {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0.2rem 0 0;
  font-weight: 750;
}

.hero-card {
  display: flex;
  min-height: 460px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  background:
    linear-gradient(180deg, rgba(13, 45, 100, 0.1), rgba(13, 45, 100, 0.92)),
    url("../assets/media/south-of-border-spread.png") center / cover,
    radial-gradient(circle at 70% 12%, #ffd84f 0 5.5rem, transparent 5.6rem),
    conic-gradient(from 20deg, #ffc83d, #ff6b1a, #d71920, #1656a7, #168245, #ffc83d);
  color: #fff9ec;
}

.hero-card h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.hero-deal-price {
  margin: -0.25rem 0 1rem;
  color: var(--gold);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.status-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.status-list li {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.7rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.status-list strong {
  color: var(--gold);
  font-size: 1.45rem;
}

.section {
  padding: 2rem 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.panel {
  padding: 1.25rem;
}

.chain-panel {
  background:
    linear-gradient(135deg, rgba(22, 86, 167, 0.96), rgba(13, 45, 100, 0.96)),
    var(--blue);
  color: #fff;
}

.chain-panel .panel-kicker,
.chain-panel p {
  color: #dcecff;
}

.chain-panel h2 {
  color: #fff;
}

.panel p:last-child,
.section-heading p:last-child,
.workflow p,
.ops-card p,
.vendor-card p,
.clover-card p,
.fine-print,
.launch p {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.25rem;
}

.local-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 1rem;
  align-items: stretch;
  padding-top: 0;
}

.local-hero {
  min-height: 24rem;
  padding: clamp(1.3rem, 4vw, 2rem);
  background:
    linear-gradient(180deg, rgba(13, 45, 100, 0.1), rgba(13, 45, 100, 0.88)),
    url("../assets/media/pats-storefront.png") center / cover;
  color: #fff;
}

.local-hero .eyebrow,
.local-hero p {
  color: #ffe8b5;
}

.local-hero h2 {
  color: #fff;
}

.local-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.local-card {
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.94), rgba(255, 246, 221, 0.86)),
    radial-gradient(circle at 95% 5%, rgba(22, 86, 167, 0.14), transparent 8rem);
}

.local-card span {
  display: inline-flex;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(22, 86, 167, 0.1);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.local-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.cuisine-section {
  padding-top: 0;
}

.cuisine-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.cuisine-card {
  min-height: 24rem;
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  color: #fff;
  box-shadow: var(--shadow);
}

.cuisine-card::after {
  content: "";
  position: absolute;
  inset: auto -4rem -4rem auto;
  width: 13rem;
  height: 13rem;
  border: 24px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}

.italian-card {
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.08), rgba(17, 17, 17, 0.88)),
    url("../assets/media/pats-pizza-kitchen.png") center / cover;
}

.mexican-card {
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.04), rgba(18, 104, 61, 0.92)),
    url("../assets/media/south-of-border-spread.png") center / cover;
}

.cuisine-card span {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cuisine-card h3 {
  max-width: 11ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.cuisine-card p {
  max-width: 31ch;
  color: #ffe8b5;
}

.cuisine-card a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-top: 0.5rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: var(--blackboard);
  font-weight: 950;
  text-decoration: none;
}

.deal-strip {
  padding-top: 0;
}

.deal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.deal-card {
  min-height: 18rem;
  padding: 1.25rem;
  border-radius: 30px;
  color: #fff;
  overflow: hidden;
  position: relative;
  box-shadow: 0 26px 80px rgba(25, 16, 13, 0.18);
}

.deal-card::after {
  content: "";
  position: absolute;
  right: -2.5rem;
  bottom: -2.5rem;
  width: 9rem;
  height: 9rem;
  border: 18px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.deal-card-hot {
  background: linear-gradient(135deg, var(--red), var(--blackboard));
}

.deal-card-green {
  background: linear-gradient(135deg, var(--green), #0e3f28);
}

.deal-card-blue {
  background: linear-gradient(135deg, var(--chile), var(--red-dark));
}

.deal-card span {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.deal-card h3 {
  max-width: 10ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.deal-card p {
  max-width: 25ch;
  color: rgba(255, 255, 255, 0.84);
}

.deal-card a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-top: 0.5rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  color: var(--blue-dark);
  font-weight: 900;
  text-decoration: none;
}

.signup-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 1rem;
  align-items: stretch;
}

.signup-copy,
.signup-form {
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.signup-copy {
  min-height: 25rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.08), rgba(17, 17, 17, 0.88)),
    url("../assets/media/pats-storefront.png") center / cover;
  color: #fff;
}

.signup-copy .eyebrow,
.signup-copy p {
  color: #ffe8b5;
}

.signup-copy h2 {
  color: #fff;
}

.signup-form {
  display: grid;
  gap: 0.85rem;
  padding: clamp(1.15rem, 3vw, 1.5rem);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.97), rgba(255, 246, 221, 0.9)),
    radial-gradient(circle at 100% 0, rgba(18, 104, 61, 0.12), transparent 12rem);
}

.signup-form label,
.signup-form legend {
  color: var(--blackboard);
  font-size: 0.86rem;
  font-weight: 950;
}

.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form input[type="tel"] {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.8rem 0.9rem;
  border: 2px solid rgba(17, 17, 17, 0.12);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
}

.signup-form input:focus {
  outline: 3px solid rgba(215, 25, 32, 0.22);
  border-color: var(--red);
}

.signup-form fieldset {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0.9rem;
  border: 2px dashed rgba(18, 104, 61, 0.28);
  border-radius: 18px;
}

.signup-form fieldset label {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-weight: 800;
}

.signup-form input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--green);
}

.signup-status-error {
  color: var(--red-dark) !important;
  font-weight: 900;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: 1rem;
  align-items: start;
}

.order-entry-grid {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.85rem;
  border: 2px solid rgba(18, 104, 61, 0.2);
  border-radius: 20px;
  background: rgba(18, 104, 61, 0.06);
}

.order-mode-panel {
  display: grid;
  gap: 0.65rem;
  padding: 0.75rem;
  border: 1px dashed rgba(215, 25, 32, 0.32);
  border-radius: 16px;
  background: rgba(255, 250, 240, 0.9);
}

.order-mode-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.customer-account-panel {
  display: grid;
  gap: 0.55rem;
}

.customer-account-panel > div,
.admin-role-grid article {
  padding: 0.75rem;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.customer-account-panel span,
.admin-role-grid span {
  display: inline-flex;
  margin-bottom: 0.35rem;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: rgba(18, 104, 61, 0.1);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.customer-account-panel strong,
.admin-role-grid strong {
  display: block;
  color: var(--red-dark);
}

.customer-account-panel p,
.admin-role-grid p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.payment-note,
.menu-filter-summary {
  margin: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 16px;
  background: rgba(247, 211, 122, 0.22);
  color: var(--red-dark);
  font-size: 0.8rem;
  font-weight: 850;
}

.menu-filter-summary {
  margin-bottom: 0.85rem;
  background: rgba(18, 104, 61, 0.09);
  color: var(--green);
}

.order-entry-grid label,
.line-note {
  display: grid;
  gap: 0.3rem;
  color: var(--blackboard);
  font-size: 0.82rem;
  font-weight: 950;
}

.order-entry-grid .inline-check {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.order-entry-grid .inline-check input {
  width: auto;
  accent-color: var(--green);
}

.order-entry-grid input:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.order-entry-grid input,
.order-entry-grid select,
.order-entry-grid textarea,
.line-note textarea {
  width: 100%;
  padding: 0.75rem 0.8rem;
  border: 2px solid rgba(17, 17, 17, 0.12);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.order-entry-grid textarea,
.line-note textarea {
  resize: vertical;
}

.order-entry-grid input:focus,
.order-entry-grid select:focus,
.order-entry-grid textarea:focus,
.line-note textarea:focus {
  outline: 3px solid rgba(215, 25, 32, 0.22);
  border-color: var(--red);
}

.tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.tab {
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 251, 242, 0.9);
  color: var(--red-dark);
  cursor: pointer;
  font-weight: 850;
}

.tab[aria-selected="true"] {
  background: var(--red);
  color: var(--cream);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.social-card {
  display: block;
  min-height: 12rem;
  padding: 1rem;
  color: var(--ink);
  text-decoration: none;
}

.social-card span,
.media-card span {
  display: inline-flex;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(31, 111, 74, 0.1);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.social-card strong {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--red-dark);
  overflow-wrap: anywhere;
}

.social-card p,
.media-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.social-card:hover {
  border-color: rgba(143, 31, 22, 0.42);
  transform: translateY(-1px);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.video-card {
  display: block;
  overflow: hidden;
  border: 2px solid rgba(17, 17, 17, 0.14);
  border-radius: 28px;
  background: var(--blackboard);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.video-thumb {
  position: relative;
  overflow: hidden;
}

.video-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 180ms ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.03);
}

.play-badge {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  width: 4.2rem;
  height: 4.2rem;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 999px;
  background: rgba(215, 25, 32, 0.88);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.video-card > span {
  display: inline-flex;
  margin: 1rem 1rem 0.6rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(247, 211, 122, 0.18);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-card h3 {
  margin-inline: 1rem;
  color: #fff;
}

.video-card p {
  margin: 0 1rem 1rem;
  color: #ffe8b5;
}

.media-card {
  min-height: 15rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(92, 18, 13, 0.08), rgba(92, 18, 13, 0.82)),
    radial-gradient(circle at 70% 18%, rgba(245, 196, 91, 0.92) 0 3rem, transparent 3.1rem),
    conic-gradient(from 120deg, #fff7e8, #f5c45b, #c93c27, #8f1f16, #fff7e8);
  color: var(--cream);
}

.media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-card span {
  align-self: flex-start;
  margin: 1rem 1rem 0.55rem;
  background: rgba(255, 255, 255, 0.16);
  color: #ffe3a7;
}

.media-card h3 {
  margin-inline: 1rem;
}

.media-card p {
  margin: 0 1rem 1rem;
  color: #ffe3a7;
}

.menu-card {
  display: grid;
  gap: 0.75rem;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--paper);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.menu-card:hover {
  border-color: rgba(22, 86, 167, 0.28);
  box-shadow: 0 18px 48px rgba(22, 86, 167, 0.12);
  transform: translateY(-2px);
}

.menu-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--blackboard);
}

.menu-card-placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(247, 211, 122, 0.85), transparent 5rem),
    linear-gradient(135deg, var(--red-dark), var(--green));
  color: var(--cream);
}

.menu-card-placeholder span {
  padding: 0.45rem 0.7rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.32);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.menu-card header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1rem;
}

.menu-card h3 {
  margin-bottom: 0.15rem;
}

.price {
  color: var(--red);
  font-weight: 900;
  white-space: nowrap;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.badge {
  display: inline-flex;
  padding: 0.25rem 0.48rem;
  border-radius: 999px;
  background: rgba(22, 86, 167, 0.09);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 850;
}

.menu-card p {
  padding: 0 1rem;
  margin-bottom: 0;
  color: var(--muted);
}

.add-button {
  margin: 0 1rem 1rem;
  justify-self: start;
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.82rem;
  background: linear-gradient(135deg, var(--blue), var(--red));
  color: var(--cream);
  cursor: pointer;
  font-weight: 850;
}

.cart-card {
  position: sticky;
  top: 5.5rem;
  padding: 1rem;
}

.cart-lines {
  display: grid;
  gap: 0.65rem;
  min-height: 5.5rem;
}

.cart-line {
  display: grid;
  gap: 0.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed var(--border);
}

.cart-line-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

.cart-line small {
  display: block;
  color: var(--muted);
}

.modifier-panel {
  display: grid;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 18px;
  background: rgba(255, 246, 221, 0.76);
}

.modifier-panel p {
  margin: 0;
  color: var(--red-dark);
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.modifier-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.modifier-chips label {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  padding: 0.38rem 0.5rem;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 850;
}

.included-chips label {
  border-color: rgba(18, 104, 61, 0.22);
  background: rgba(18, 104, 61, 0.08);
}

.included-chips input:not(:checked) + span {
  text-decoration: line-through;
}

.modifier-empty {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.modifier-chips input {
  accent-color: var(--green);
}

.remove-line {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  padding: 0.38rem 0.6rem;
  background: rgba(215, 25, 32, 0.1);
  color: var(--red-dark);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 950;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0;
  font-size: 1.1rem;
}

.fine-print {
  margin: 0.8rem 0 0;
  font-size: 0.82rem;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.workflow article {
  padding: 1.2rem;
}

.workflow span {
  display: inline-grid;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: var(--cream);
  font-weight: 900;
}

.ops-grid,
.vendor-grid,
.clover-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.operator-console {
  margin-top: 1rem;
}

.admin-access-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1.1rem;
  border: 2px solid rgba(18, 104, 61, 0.24);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.95), rgba(255, 246, 221, 0.85)),
    radial-gradient(circle at 100% 0, rgba(215, 25, 32, 0.1), transparent 14rem);
  box-shadow: var(--shadow);
}

.admin-access-panel h3 {
  margin-bottom: 0.5rem;
}

.admin-access-panel p {
  color: var(--muted);
}

.admin-role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.kitchen-board {
  margin-top: 1.25rem;
  padding: 1.1rem;
  border: 2px solid rgba(17, 17, 17, 0.14);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.94), rgba(16, 39, 28, 0.94)),
    var(--blackboard);
  box-shadow: var(--shadow);
  color: #fff;
}

.kitchen-heading {
  margin-bottom: 1rem;
}

.kitchen-heading h3 {
  max-width: 780px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.kitchen-heading p {
  color: #ffe8b5;
}

.kitchen-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.kitchen-stat {
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.kitchen-stat span,
.ticket-channel,
.ticket-note {
  color: #ffe8b5;
}

.kitchen-stat span {
  display: block;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kitchen-stat strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--gold);
  font-size: 1.4rem;
}

.kitchen-lanes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.kitchen-lane {
  min-height: 22rem;
  padding: 0.75rem;
  border-radius: 20px;
  background: rgba(255, 250, 240, 0.08);
}

.kitchen-lane header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.kitchen-lane h4 {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.kitchen-lane header span {
  display: inline-grid;
  min-width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 950;
}

.kitchen-ticket-list {
  display: grid;
  gap: 0.75rem;
}

.kitchen-ticket {
  padding: 0.85rem;
  border-left: 5px solid var(--green);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
}

.kitchen-ticket.priority-hot,
.kitchen-ticket.priority-large {
  border-left-color: var(--red);
}

.kitchen-ticket.priority-ready {
  border-left-color: var(--green);
}

.kitchen-ticket.priority-hold {
  border-left-color: var(--gold);
}

.ticket-topline {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--red-dark);
  font-weight: 950;
}

.kitchen-ticket h5 {
  margin: 0.4rem 0 0.2rem;
  font-size: 1rem;
}

.ticket-channel {
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.kitchen-ticket ul {
  margin: 0 0 0.65rem;
  padding-left: 1.1rem;
}

.kitchen-ticket li {
  margin-bottom: 0.2rem;
}

.ticket-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.operator-console-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem;
  border: 2px solid rgba(18, 104, 61, 0.28);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.94), rgba(255, 246, 221, 0.82)),
    radial-gradient(circle at 100% 0, rgba(18, 104, 61, 0.13), transparent 12rem);
  box-shadow: var(--shadow);
}

.operator-console-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.e2e-section {
  background:
    radial-gradient(circle at 8% 0, rgba(215, 25, 32, 0.12), transparent 18rem),
    radial-gradient(circle at 100% 12%, rgba(18, 104, 61, 0.14), transparent 18rem);
}

.persona-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.persona-card {
  position: relative;
  padding: 1.15rem;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: rgba(255, 250, 240, 0.94);
  box-shadow: var(--shadow);
}

.persona-number {
  display: inline-grid;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 0.65rem;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 950;
}

.persona-card h3 {
  margin-bottom: 0.45rem;
  color: var(--red-dark);
}

.persona-card p,
.persona-card li {
  color: var(--muted);
}

.persona-card ol {
  margin: 0.75rem 0;
  padding-left: 1.25rem;
}

.persona-card strong {
  display: block;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border);
  color: var(--green);
  font-size: 0.9rem;
}

.backend-section {
  padding-top: 0;
}

.backend-console-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.96), rgba(16, 39, 28, 0.94)),
    var(--blackboard);
  box-shadow: var(--shadow);
}

.backend-rail {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.backend-rail span {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.backend-rail strong {
  display: block;
  margin-top: 0.2rem;
}

.backend-module-tabs {
  display: grid;
  gap: 0.45rem;
}

.backend-module-tab {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.backend-module-tab[aria-pressed="true"] {
  background: var(--red);
  border-color: var(--red);
}

.backend-module-view {
  padding: clamp(1rem, 3vw, 1.6rem);
}

.backend-module-card {
  min-height: 28rem;
  padding: clamp(1rem, 3vw, 1.6rem);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.98), rgba(255, 246, 221, 0.9)),
    radial-gradient(circle at 100% 0, rgba(215, 25, 32, 0.1), transparent 18rem);
}

.backend-module-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.backend-module-topline span,
.backend-module-topline strong {
  display: inline-flex;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.backend-module-topline span {
  background: rgba(18, 104, 61, 0.1);
  color: var(--green);
}

.backend-module-topline strong {
  background: rgba(215, 25, 32, 0.1);
  color: var(--red-dark);
}

.backend-module-card h3 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.backend-module-card p {
  color: var(--muted);
}

.backend-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.backend-step-grid div {
  padding: 0.95rem;
  border-radius: 18px;
  background: #fff;
}

.backend-step-grid span {
  display: inline-grid;
  width: 1.8rem;
  height: 1.8rem;
  margin-bottom: 0.45rem;
  place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 950;
}

.console-pending {
  display: inline-flex;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.08);
  color: var(--blackboard);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.ops-card,
.vendor-card,
.clover-card {
  padding: 1.15rem;
}

.clover-sandbox-panel {
  margin-bottom: 1rem;
}

.clover-sandbox-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.95fr) minmax(220px, 0.95fr);
  gap: 1rem;
  padding: 1.15rem;
  border: 2px solid rgba(18, 104, 61, 0.25);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.96), rgba(255, 246, 221, 0.86)),
    radial-gradient(circle at 100% 0, rgba(18, 104, 61, 0.12), transparent 14rem);
  box-shadow: var(--shadow);
}

.clover-sandbox-card h3,
.clover-sandbox-card h4 {
  margin-bottom: 0.45rem;
}

.clover-sandbox-card p,
.clover-sandbox-card li {
  color: var(--muted);
}

.clover-sandbox-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.clover-env-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.8rem;
}

.clover-env-row span {
  display: inline-flex;
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  background: rgba(18, 104, 61, 0.1);
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.metric {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.85rem;
  margin-top: 0.85rem;
  border-top: 1px dashed var(--border);
  color: var(--red-dark);
  font-weight: 900;
}

.vendor-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.vendor-type {
  display: inline-flex;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(201, 60, 39, 0.1);
  color: var(--tomato);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.drift-board {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.drift-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 0.9rem 1rem;
  align-items: center;
}

.drift-item strong {
  color: var(--red-dark);
}

.drift-status {
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(245, 196, 91, 0.28);
  color: var(--red-dark);
  font-size: 0.75rem;
  font-weight: 900;
  white-space: nowrap;
}

.launch {
  padding: clamp(1.4rem, 4vw, 2.2rem);
  background:
    linear-gradient(135deg, rgba(143, 31, 22, 0.95), rgba(92, 18, 13, 0.92)),
    var(--red);
  color: var(--cream);
}

.launch .eyebrow,
.launch p {
  color: #ffe3a7;
}

.launch-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 2rem 0 3rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--red-dark);
  font-weight: 850;
}

@media (max-width: 920px) {
  .promo-bar,
  .order-starter {
    grid-template-columns: 1fr;
  }

  .promo-bar {
    flex-wrap: wrap;
  }

  .hero,
  .local-section,
  .signup-section,
  .order-layout,
  .admin-access-panel,
  .admin-role-grid,
  .persona-grid,
  .backend-console-shell,
  .backend-step-grid,
  .clover-sandbox-card,
  .intro-grid,
  .workflow,
  .ops-grid,
  .vendor-grid,
  .clover-grid,
  .kitchen-stats,
  .kitchen-lanes,
  .social-grid,
  .media-grid,
  .video-grid,
  .cuisine-grid,
  .deal-grid,
  .launch-list {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 320px;
  }

  .cart-card {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .header-order {
    flex: 1;
    justify-content: center;
    text-align: center;
  }

  .brand-logo {
    width: 3.4rem;
    height: 3.4rem;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-facts,
  .menu-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.7rem, 18vw, 4.2rem);
  }
}
