
/* Public landing page */
.landing-body {
  min-height: 100vh;
  overflow-x: hidden;
  color: #25160f;
  background:
    radial-gradient(circle at 9% 10%, rgba(244, 125, 75, 0.26), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(72, 161, 124, 0.28), transparent 30%),
    linear-gradient(180deg, #fff6e7 0%, #f7e1bb 45%, #b9d8c4 100%);
  font-family: Georgia, "Times New Roman", serif;
}

.landing-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(37, 22, 15, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 22, 15, 0.12) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.landing-nav,
.landing-main,
.landing-footer {
  position: relative;
  z-index: 1;
}

.landing-nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 18px 0;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #25160f;
  text-decoration: none;
}

.landing-brand span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid #25160f;
  border-radius: 12px;
  color: #fff8ed;
  background: #c83c2d;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 950;
  box-shadow: 5px 5px 0 #25160f;
}

.landing-brand strong,
.landing-nav nav,
.landing-primary,
.landing-secondary,
.proof-strip,
.recipe-preview-grid,
.steps-grid,
.landing-footer {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.landing-nav nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.92rem;
  font-weight: 850;
}

.landing-nav nav a,
.landing-footer a {
  color: inherit;
  text-decoration: none;
}

.landing-nav nav a:hover,
.landing-footer a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.landing-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 44px;
}

.hero-section {
  min-height: calc(100vh - 112px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: 36px 0 54px;
}

.landing-eyebrow {
  margin: 0 0 12px;
  color: #9d3126;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(4rem, 11vw, 9.6rem);
  line-height: 0.76;
  letter-spacing: -0.075em;
}

.hero-lede {
  max-width: 690px;
  margin: 28px 0 0;
  color: #4e3a2e;
  font-size: clamp(1.14rem, 2vw, 1.42rem);
  line-height: 1.45;
}

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

.landing-primary,
.landing-secondary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 2px solid #25160f;
  border-radius: 14px;
  font-weight: 950;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.landing-primary {
  color: #fff8ed;
  background: #c83c2d;
  box-shadow: 6px 6px 0 #25160f;
}

.landing-secondary {
  color: #25160f;
  background: rgba(255, 248, 237, 0.68);
}

.landing-primary:hover,
.landing-secondary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 #25160f;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.proof-strip span {
  padding: 8px 11px;
  border: 1px solid rgba(37, 22, 15, 0.22);
  border-radius: 999px;
  background: rgba(255, 248, 237, 0.56);
  color: #5a4738;
  font-size: 0.8rem;
  font-weight: 850;
}

.hero-card,
.spec-card,
.cta-section,
.steps-grid article {
  border: 2px solid #25160f;
  border-radius: 22px;
  background: rgba(255, 248, 237, 0.84);
  box-shadow: 10px 10px 0 rgba(37, 22, 15, 0.92);
}

.hero-card {
  position: relative;
  padding: 22px;
  transform: rotate(1.4deg);
}

.hero-card::after {
  content: "APPROVAL REQUIRED";
  position: absolute;
  right: 18px;
  bottom: 20px;
  padding: 7px 9px;
  border: 2px solid #c83c2d;
  border-radius: 999px;
  color: #c83c2d;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  transform: rotate(-8deg);
}

.ticket-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #75604e;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 900;
}

.ticket-hole {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(37, 22, 15, 0.26);
  border-radius: 50%;
  background: #f0d9b8;
}

.ticket-label {
  margin: 34px 0 8px;
  color: #9d3126;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-card h2 {
  margin: 0 0 22px;
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.recipe-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-bottom: 58px;
}

.recipe-preview-grid div {
  min-height: 82px;
  display: grid;
  align-content: space-between;
  padding: 11px;
  border: 1px dashed rgba(37, 22, 15, 0.32);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.42);
}

.recipe-preview-grid span {
  color: #75604e;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.recipe-preview-grid strong {
  font-size: 0.93rem;
  line-height: 1.05;
}

.landing-band,
.split-section,
.cta-section {
  margin-top: 28px;
}

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

.steps-grid article {
  min-height: 240px;
  padding: 18px;
}

.steps-grid article span {
  color: #c83c2d;
  font-size: 0.9rem;
  font-weight: 950;
}

.steps-grid h3 {
  margin: 48px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  letter-spacing: -0.045em;
}

.steps-grid p,
.split-section p,
.cta-section p,
.spec-card li {
  color: #59483a;
  line-height: 1.55;
}

.split-section {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 22px;
  align-items: start;
  padding: 52px 0;
}

.split-section h2,
.cta-section h2 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 5vw, 5.8rem);
  line-height: 0.84;
  letter-spacing: -0.065em;
}

.spec-card {
  padding: 22px;
}

.spec-card h3 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
}

.spec-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.cta-section {
  padding: clamp(28px, 6vw, 64px);
  text-align: center;
  background:
    radial-gradient(circle at 18% 20%, rgba(207, 68, 55, 0.18), transparent 28%),
    rgba(255, 248, 237, 0.88);
}

.cta-section p {
  max-width: 650px;
  margin: 0 auto;
}

.centered-actions {
  justify-content: center;
}

.landing-footer {
  width: min(1180px, calc(100% - 32px));
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin: 0 auto;
  padding: 24px 0 34px;
  color: #5f4b3d;
  font-size: 0.88rem;
  font-weight: 800;
}

@media (max-width: 900px) {
  .landing-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-section,
  .split-section,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: 22px;
  }

  .hero-card {
    transform: none;
  }
}

@media (max-width: 560px) {
  .landing-nav nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.8rem;
  }

  .hero-copy h1 {
    font-size: clamp(3.1rem, 19vw, 5rem);
  }

  .recipe-preview-grid {
    grid-template-columns: 1fr;
  }
}

:root {
  color-scheme: light;
  --ink: #211714;
  --muted: #6f6259;
  --paper: #fff8ed;
  --paper-strong: #fffdf8;
  --tile: #cfe8dc;
  --line: rgba(33, 23, 20, 0.16);
  --tomato: #cf4437;
  --tomato-dark: #9e2e26;
  --mint: #4f9b7b;
  --mint-soft: #dff1e5;
  --brass: #b47b2d;
  --coal: #26312d;
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--tile);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fff8ed 0%, #e8f4ea 42%, #cfe8dc 100%);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
}

.kitchen-rail {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 18px;
  color: #fff8ed;
  background: var(--coal);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.brand span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--tomato);
  font-weight: 900;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18);
}

.brand strong {
  font-size: 1.05rem;
}

.kitchen-list {
  display: grid;
  gap: 8px;
}

.kitchen-button {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 248, 237, 0.14);
  border-radius: var(--radius);
  color: #fff8ed;
  background: rgba(255, 255, 255, 0.06);
  text-align: left;
  font-weight: 800;
}

.kitchen-button.is-active {
  border-color: rgba(255, 248, 237, 0.42);
  background: rgba(207, 68, 55, 0.34);
}

.rail-note {
  display: grid;
  gap: 7px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 248, 237, 0.14);
}

.rail-note span {
  color: rgba(255, 248, 237, 0.58);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.rail-note strong {
  font-size: 0.9rem;
}

.kitchen-main {
  min-width: 0;
  padding: 28px;
}

.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--brass);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 6px;
  font-size: clamp(2rem, 5vw, 4.1rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 1.18rem;
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 0.9rem;
  letter-spacing: 0;
}

.session-chip {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 248, 237, 0.76);
  white-space: nowrap;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--brass);
  box-shadow: 0 0 0 4px rgba(180, 123, 45, 0.18);
}

.session-chip.is-in .status-dot {
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(79, 155, 123, 0.18);
}

.gate-panel {
  min-height: 560px;
  display: grid;
  place-items: center;
}

.gate-form,
.order-panel,
.recipe-panel,
.preview-shelf {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 248, 237, 0.95);
}

.gate-form {
  width: min(100%, 420px);
  display: grid;
  gap: 14px;
  padding: 20px;
}

.kitchen-console {
  display: grid;
  gap: 16px;
}

.ticket-rail {
  min-height: 42px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.ticket-chip {
  min-width: max-content;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 248, 237, 0.75);
  font-weight: 800;
}

.ticket-chip.is-active {
  color: var(--tomato-dark);
  border-color: rgba(207, 68, 55, 0.42);
  background: #fff0e4;
}

.work-surface {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(380px, 1.1fr);
  gap: 16px;
  align-items: start;
}

.order-panel,
.recipe-panel,
.preview-shelf {
  padding: 18px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

label {
  display: grid;
  gap: 7px;
}

label span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(33, 23, 20, 0.18);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper-strong);
  outline: none;
}

input,
select {
  min-height: 42px;
  padding: 0 11px;
}

textarea {
  min-height: 228px;
  padding: 13px;
  resize: vertical;
  line-height: 1.45;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(79, 155, 123, 0.18);
}

.control-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px 150px;
  gap: 10px;
  margin: 12px 0;
}

.spice-control span {
  display: flex;
  justify-content: space-between;
}

.spice-control input {
  min-height: 42px;
  padding: 0;
  accent-color: var(--tomato);
}

.primary-action,
.ghost-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 900;
}

.primary-action {
  width: 100%;
  border: 1px solid var(--tomato-dark);
  color: #fff8ed;
  background: var(--tomato);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.16);
}

.primary-action:disabled {
  cursor: progress;
  opacity: 0.68;
}

.ghost-action {
  padding: 0 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper-strong);
}

.form-error {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--tomato-dark);
  font-weight: 800;
}

.recipe-panel {
  min-height: 496px;
}

.empty-recipe {
  min-height: 452px;
  display: grid;
  align-content: center;
  color: var(--muted);
}

.empty-recipe h2 {
  color: var(--ink);
}

.recipe-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.tag {
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--paper-strong);
  font-size: 0.78rem;
  font-weight: 850;
}

.recipe-section {
  padding-top: 13px;
  border-top: 1px solid rgba(33, 23, 20, 0.1);
}

.recipe-section + .recipe-section {
  margin-top: 13px;
}

.recipe-section p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.recipe-section ol,
.recipe-section ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 19px;
  color: var(--muted);
  line-height: 1.42;
}

.preview-shelf {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(220px, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.preview-shelf h2,
.preview-shelf p {
  margin-bottom: 0;
}

.preview-shelf p {
  color: var(--muted);
}

.preview-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid rgba(79, 155, 123, 0.44);
  border-radius: var(--radius);
  color: #143d2f;
  background: var(--mint-soft);
  font-weight: 900;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.safety-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.safety-list span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--paper-strong);
  font-size: 0.78rem;
  font-weight: 850;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1080px) {
  .work-surface,
  .preview-shelf {
    grid-template-columns: 1fr;
  }

  .safety-list {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .app-shell {
    display: block;
  }

  .kitchen-rail {
    position: static;
    height: auto;
  }

  .kitchen-main {
    padding: 18px;
  }

  .page-head,
  .panel-head,
  .recipe-head {
    display: grid;
  }

  .session-chip {
    width: 100%;
    justify-content: center;
  }

  .control-row {
    grid-template-columns: 1fr;
  }
}
