:root {
  --ink: #16251f;
  --muted: #607168;
  --canvas: #f6f5ee;
  --paper: #fffefa;
  --lime: #d4f252;
  --coral: #fa6b4d;
  --line: #dce0d4;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Manrope", sans-serif;
}

body {
  margin: 0;
  background: var(--canvas);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  background: rgba(246, 245, 238, 0.94);
  border-bottom: 1px solid rgba(22, 37, 31, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}

.navbar {
  min-height: 76px;
}

.navbar-brand,
.footer-brand {
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  align-items: center;
  background: var(--lime);
  border: 1px solid var(--ink);
  border-radius: 5px;
  display: inline-flex;
  font-size: 1.12rem;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.nav-link {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-link:hover {
  color: var(--ink);
}

.nav-cta {
  border-radius: 4px;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 0.65rem 0.9rem;
}

.admin-back-btn {
  margin-left: auto;
  margin-right: 0.75rem;
  white-space: nowrap;
}

.navbar-toggler {
  border: 1px solid var(--ink);
  border-radius: 4px;
  color: var(--ink);
  font-size: 1.3rem;
  padding: 0.25rem 0.55rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.eyebrow {
  align-items: center;
  color: #547000;
  display: flex;
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  font-weight: 500;
  gap: 0.5rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  background: currentColor;
  content: "";
  height: 7px;
  width: 7px;
}

.display-title {
  font-size: clamp(2.65rem, 6vw, 5.4rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.98;
}

.page-title {
  font-size: clamp(2.35rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.lead-copy {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
  max-width: 37rem;
}

.btn {
  border-radius: 4px;
  font-weight: 800;
  padding: 0.78rem 1rem;
}

.btn-dark {
  background: var(--ink);
  border-color: var(--ink);
}

.btn-acid {
  background: var(--lime);
  border: 1px solid var(--ink);
  color: var(--ink);
}

.btn-acid:hover {
  background: #c1e142;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline-ink {
  border: 1px solid var(--ink);
  color: var(--ink);
}

.btn-outline-ink:hover {
  background: var(--ink);
  color: white;
}

.section-space {
  padding: 6rem 0;
}

.hero-section {
  overflow: hidden;
  padding: 5.25rem 0 4.5rem;
}

.hero-visual {
  min-height: 520px;
  position: relative;
}

.hero-photo,
.story-photo,
.blog-photo {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-photo-wrap {
  border: 1px solid var(--ink);
  height: 470px;
  margin-left: auto;
  max-width: 430px;
  overflow: hidden;
}

.order-card {
  background: var(--paper);
  border: 1px solid var(--ink);
  bottom: 0;
  box-shadow: 8px 8px 0 var(--lime);
  left: 0;
  max-width: 280px;
  padding: 1rem;
  position: absolute;
}

.order-card small,
.menu-meta,
.metric-label,
.card-kicker {
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 0.69rem;
  text-transform: uppercase;
}

.qr-block {
  align-items: center;
  background: var(--ink);
  color: var(--lime);
  display: flex;
  font-size: 1.8rem;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.signal-strip {
  background: var(--ink);
  color: white;
  padding: 1.25rem 0;
}

.signal-strip strong {
  color: var(--lime);
  font-size: 1.5rem;
}

.feature-card,
.price-card,
.article-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  height: 100%;
  padding: 1.6rem;
}

.feature-icon {
  align-items: center;
  background: var(--lime);
  border: 1px solid var(--ink);
  border-radius: 4px;
  display: flex;
  font-size: 1.3rem;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.feature-card h3,
.article-card h2,
.price-card h2 {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
}

.feature-card p,
.article-card p,
.price-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.soft-band {
  background: #e7eed7;
}

.dark-band {
  background: var(--ink);
  color: white;
}

.dark-band .lead-copy,
.dark-band .muted-copy {
  color: #bfc9c1;
}

.workflow-step {
  border-top: 1px solid currentColor;
  padding-top: 1.2rem;
}

.workflow-number {
  color: var(--coral);
  font-family: "DM Mono", monospace;
  font-size: 0.8rem;
}

.menu-preview {
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 10px 10px 0 var(--coral);
  padding: 1.5rem;
}

.menu-item {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.menu-item:first-of-type {
  border-top: 0;
}

.menu-item h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0;
}

.menu-item span {
  color: var(--muted);
  font-size: 0.8rem;
}

.menu-item strong {
  font-family: "DM Mono", monospace;
  font-size: 0.82rem;
}

.customer-menu {
  min-height: 70vh;
  padding: 4rem 0 6rem;
}

.customer-menu-header {
  border-bottom: 1px solid var(--ink);
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
}

.customer-menu-header h1,
.customer-menu-category h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0;
}

.customer-menu-header p:last-child,
.customer-menu-category header > p:last-child,
.customer-menu-item p {
  color: var(--muted);
}

.customer-menu-content {
  display: grid;
  gap: 3rem;
}

.customer-menu-category header {
  margin-bottom: 0.75rem;
}

.customer-menu-category h2 {
  font-size: 1.45rem;
  margin-bottom: 0.25rem;
}

.customer-menu-item {
  align-items: start;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  padding: 1.1rem 0;
}

.customer-menu-item h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.customer-menu-item p {
  font-size: 0.9rem;
  margin: 0;
}

.customer-menu-price {
  font-family: "DM Mono", monospace;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.customer-menu-actions {
  align-items: end;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.customer-add-button {
  font-size: 0.78rem;
  padding: 0.45rem 0.65rem;
}

.customer-item-stepper {
  align-items: center;
  display: flex;
  gap: 0.6rem;
}

.customer-step-button {
  align-items: center;
  border-radius: 4px;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  height: 2rem;
  justify-content: center;
  padding: 0;
  width: 2rem;
}

.customer-item-count {
  font-family: "DM Mono", monospace;
  font-size: 0.9rem;
  min-width: 1.2rem;
  text-align: center;
}

.customer-cart-link {
  font-size: 0.78rem;
  padding: 0.45rem 0.75rem;
  white-space: nowrap;
}

.customer-cart-link-bottom {
  justify-self: center;
  padding: 0.75rem 2rem;
}

.customer-topbar {
  background: rgba(246, 245, 238, 0.94);
  border-bottom: 1px solid rgba(22, 37, 31, 0.08);
  padding: 1.1rem 0;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}

.customer-topbar-name {
  font-size: 1.1rem;
  font-weight: 800;
}

.customer-footer {
  align-items: center;
  border-top: 1px solid var(--ink);
  color: var(--muted);
  display: flex;
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
  gap: 0.6rem;
  padding: 2rem 0;
  text-transform: uppercase;
}

.cart-page {
  min-height: 70vh;
  padding: 4rem 0 6rem;
}

.cart-header {
  border-bottom: 1px solid var(--ink);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
}

.cart-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0;
}

.cart-item,
.cart-total {
  align-items: baseline;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
}

.cart-item h2 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 0.2rem;
}

.cart-item form {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cart-item form h2 {
  flex-basis: 100%;
}

.cart-item input {
  border: 1px solid var(--line);
  max-width: 4.5rem;
  padding: 0.35rem;
}

.cart-item .btn {
  font-size: 0.75rem;
  padding: 0.42rem 0.62rem;
}

.cart-item-actions {
  align-items: end;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cart-remove-button {
  background: transparent;
  border: 0;
  color: #9d341e;
  font-size: 0.78rem;
  padding: 0;
  text-decoration: underline;
}

.cart-item p,
.empty-cart {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.cart-total {
  border-color: var(--ink);
  font-family: "DM Mono", monospace;
  font-size: 1rem;
}

.signup-page {
  min-height: 70vh;
  padding: 4rem 0 6rem;
}

.signup-panel {
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 8px 8px 0 var(--lime);
  margin: 0 auto;
  max-width: 42rem;
  padding: 2rem;
}

.signup-panel h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0;
}

.signup-panel header > p:last-child,
.signup-complete > p:last-of-type {
  color: var(--muted);
  line-height: 1.6;
}

.signup-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.signup-form label {
  display: grid;
  font-size: 0.86rem;
  font-weight: 800;
  gap: 0.4rem;
}

.signup-form input {
  background: white;
  border: 1px solid var(--line);
  border-radius: 0;
  min-height: 2.75rem;
  padding: 0.55rem 0.7rem;
}

.signup-form button {
  justify-self: start;
  margin-top: 0.5rem;
}

.signup-alt-action {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 1.25rem;
}

.signup-alt-action a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
}

.tax-rate-preview {
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 0.82rem;
}

.signup-error {
  background: #ffe5dd;
  border-left: 3px solid #b7442d;
  margin: 1.25rem 0 0;
  padding: 0.7rem;
}

.signup-complete {
  padding: 3rem 2rem;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  padding: 0.82rem 0;
}

.check-list i {
  color: #668c00;
  margin-right: 0.5rem;
}

.price-card.featured {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
  position: relative;
}

.price-card.featured p,
.price-card.featured .price-note {
  color: #c4cfc6;
}

.admin-page {
  padding: 3rem 0 5rem;
}

.admin-onboarding {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.admin-onboarding-item {
  align-items: center;
  background: var(--lime);
  border: 1px solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
}

.admin-onboarding-item p {
  font-weight: 700;
  margin: 0;
}

.admin-stat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.admin-stat-value {
  font-family: "DM Mono", monospace;
  font-size: 2.25rem;
  font-weight: 500;
  margin-bottom: 0;
}

.admin-stat-label {
  color: var(--muted);
  margin-bottom: 1rem;
}

.admin-section {
  background: var(--paper);
  border: 1px solid var(--line);
  margin-top: 2rem;
  padding: 1.75rem;
}

.category-move-buttons {
  display: flex;
  gap: 0.15rem;
}

.category-move-btn {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
  display: inline-flex;
  font-size: 0.92rem;
  height: 1.5rem;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 1.5rem;
}

.category-move-btn:hover:not(:disabled) {
  background: var(--canvas);
}

.category-move-btn:disabled {
  color: var(--line);
  cursor: default;
}

.item-description-toggle {
  margin-top: 0.6rem;
}

.btn-link-toggle {
  color: var(--muted);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  list-style: none;
  text-decoration: underline;
  width: fit-content;
}

.btn-link-toggle::-webkit-details-marker {
  display: none;
}

.btn-link-toggle:hover {
  color: var(--ink);
}

.menu-item-list {
  margin: 1.25rem 0;
}

.menu-item-list-header {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  padding-bottom: 0.5rem;
  text-transform: uppercase;
}

.menu-item-row {
  border-top: 1px solid var(--line);
  padding: 0.6rem 0;
}

.menu-item-row-sold-out {
  background: #fff3cd;
}

.admin-hint {
  color: var(--muted);
  font-size: 0.88rem;
}

.admin-section summary {
  cursor: pointer;
  list-style: none;
  width: fit-content;
}

.admin-section summary::-webkit-details-marker {
  display: none;
}

.admin-context-label {
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 0.82rem;
  white-space: nowrap;
}

.admin-context-label i {
  margin: 0 0.15rem;
}

.switch-target-list {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 1.5rem;
  padding: 0;
}

.switch-target-list li {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding-bottom: 0.6rem;
}

.switch-target-current {
  color: var(--muted);
  font-size: 0.82rem;
}

.price-badge {
  background: var(--lime);
  color: var(--ink);
  font-family: "DM Mono", monospace;
  font-size: 0.67rem;
  padding: 0.3rem 0.5rem;
  text-transform: uppercase;
}

.price {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
}

.price span {
  font-size: 0.85rem;
  font-weight: 600;
}

.article-card {
  padding: 0;
  overflow: hidden;
}

.article-card .article-body {
  padding: 1.4rem;
}

.article-photo-wrap {
  height: 220px;
}

.article-link {
  font-size: 0.85rem;
  font-weight: 800;
}

.quote-block {
  border-left: 4px solid var(--coral);
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  font-weight: 700;
  line-height: 1.35;
  padding-left: 1.5rem;
}

.site-footer {
  background: #e7eed7;
  border-top: 1px solid var(--ink);
  padding: 4rem 0 1.5rem;
}

.footer-copy {
  color: var(--muted);
  max-width: 21rem;
}

.footer-label {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.site-footer a:not(.footer-brand) {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.55rem;
}

.footer-bottom {
  border-top: 1px solid rgba(22, 37, 31, 0.2);
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  text-transform: uppercase;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1rem 0 0.5rem;
  }

  .nav-cta {
    display: inline-block;
    margin-top: 0.8rem;
  }

  .hero-visual {
    margin-top: 2.5rem;
    min-height: 430px;
  }
}

@media (max-width: 575.98px) {
  .section-space {
    padding: 4rem 0;
  }

  .hero-section {
    padding-top: 3.5rem;
  }

  .hero-photo-wrap {
    height: 380px;
    margin-left: 1.25rem;
  }

  .order-card {
    max-width: 250px;
  }
}