:root {
  --forest: #23382f;
  --forest-deep: #172920;
  --fern: #cbd8b6;
  --warm: #e8ab87;
  --soft: #f6f2e8;
}

.reading-progress {
  position: fixed;
  z-index: 101;
  inset: 0 0 auto;
  height: 3px;
  background: #c57053;
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.hero-photo { isolation: isolate; background: #5e3f2b; overflow: hidden; }
.hero-photo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -3%;
  background: url(hero.webp) center 52% / cover;
  transform: scale(calc(1.02 + var(--hero-scroll, 0) * .08)) translateY(calc(var(--hero-scroll, 0) * 3%));
}
.hero-overlay { z-index: -1; }
.hero-content { z-index: 2; }
.hero h1 { font-size: clamp(66px, 9.3vw, 145px); }
.hero-row { display: grid; grid-template-columns: auto auto; justify-content: start; align-items: center; max-width: 840px; gap: 17px 26px; }
.hero-row p { grid-column: 1 / -1; max-width: 485px; }
.hero-action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  background: #faf1de;
  color: #2f3028;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 50px;
  transition: background .22s, transform .22s;
}
.hero-action:hover { background: white; color: #282c24; transform: translateY(-3px); }
.hero-secondary {
  color: #fff2e5;
  border-bottom: 1px solid #f9e8d394;
  padding: 7px 0;
  font-size: 14px;
  font-weight: 600;
  transition: color .22s;
}
.hero-secondary:hover { color: #ffcbad; }
.hero-live {
  position: absolute;
  z-index: 1;
  right: 8%;
  bottom: 14%;
  width: clamp(185px, 19vw, 280px);
  padding: 18px 20px;
  color: #fff8e9;
  background: #24392fe8;
  backdrop-filter: blur(14px);
  border: 1px solid #e2ead04d;
  border-radius: 13px;
  box-shadow: 0 18px 70px #1e1b1640;
  transform: rotate(-5deg) translateY(calc(var(--hero-scroll, 0) * -12px));
}
.hero-live-top, .hero-live-bottom { display: flex; align-items: center; gap: 8px; }
.hero-live-top { color: #dae2cf; font-size: 10px; letter-spacing: .09em; }
.hero-live-top i {
  width: 7px;
  height: 7px;
  background: #bad3a0;
  border-radius: 50%;
}
.hero-live-top small { margin-left: auto; letter-spacing: 0; }
.hero-live > strong { display: block; font-family: var(--serif); font-size: 38px; font-weight: 400; margin: 7px 0 11px; }
.hero-live-bottom { justify-content: space-between; gap: 5px; border-top: 1px solid #f4f2e743; padding-top: 10px; font-size: 12px; }
.hero-live-bottom > span:last-child { border-radius: 40px; padding: 3px 7px; background: #d2dfba; color: #263b2f; }

.work-section { background: #dce2d3; padding-bottom: clamp(75px, 9vw, 135px); }
.workflow-heading { align-items: end; }
.workflow-heading .section-kicker { padding: 0; margin-bottom: 22px; color: #4c5d4a; }
.workflow-heading > p { padding-bottom: 5px; }
.workbench {
  display: grid;
  grid-template-columns: minmax(176px, 22%) minmax(0, 1fr);
  border-radius: 20px;
  color: #fffaed;
  background: var(--forest);
  box-shadow: 0 18px 55px #19291d22;
  overflow: hidden;
}
.workflow-nav {
  padding: 28px clamp(13px, 2.3vw, 32px);
  background: var(--forest-deep);
  display: flex;
  flex-direction: column;
  gap: 23px;
}
.workflow-group { display: grid; gap: 4px; }
.workflow-group > p {
  padding: 0 11px 7px;
  color: #bcc8ad;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.workflow-group button {
  min-height: 43px;
  text-align: left;
  color: #f1f1e5;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: background .22s, color .22s, border-color .22s;
}
.workflow-group button:hover { background: #ffffff13; }
.workflow-group button[aria-pressed="true"] { background: #cfddba; color: #1d3428; border-color: #e4eacb; font-weight: 700; }
.workflow-group button[aria-pressed="true"] span { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #4b6042; }

.workflow-main { min-width: 0; padding: clamp(20px, 3.4vw, 48px); }
.workflow-head { display: flex; align-items: start; justify-content: space-between; gap: 12px 20px; min-height: 150px; }
.workflow-badge { color: #d1dfbc; font-size: 11px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.workflow-head h3 { font-family: var(--serif); font-size: clamp(37px, 4.2vw, 63px); font-weight: 400; line-height: .98; margin: 12px 0 10px; }
.workflow-head p { color: #d3dfcc; font-size: 15px; line-height: 1.55; max-width: 485px; padding-bottom: 15px; }
.workflow-play, .workflow-next {
  min-height: 44px;
  padding: 7px 15px;
  border-radius: 40px;
  border: 1px solid #a4b49b;
  background: transparent;
  color: #fff5e4;
  font-size: 13px;
  font-weight: 650;
  transition: background .2s, color .2s, transform .2s;
}
.workflow-play { white-space: nowrap; }
.workflow-play:hover { background: #ffffff15; }
.workflow-next { background: #f6e6d0; color: #263a2b; border-color: transparent; flex-shrink: 0; }
.workflow-next:hover { background: white; transform: translateY(-2px); }

.workflow-story {
  min-height: 312px;
  display: grid;
  align-content: center;
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 25% 70%, #697a583e, transparent 75%), #30473a;
  border: 1px solid #ffffff20;
  border-radius: 13px;
  padding: clamp(16px, 3vw, 38px);
}
.flow-columns { display: grid; grid-template-columns: minmax(0,1fr) minmax(28px,.20fr) minmax(0,1fr); gap: 14px; align-items: stretch; }
.flow-card { min-width: 0; background: #f8f6ed; color: #283b2f; border-radius: 10px; border: 1px solid #fff9; min-height: 233px; box-shadow: 0 13px 30px #17272132; }
.flow-card header { padding: 15px 17px 11px; border-bottom: 1px solid #e0e4d7; }
.flow-card header > span { color: #56674f; letter-spacing: .09em; font-size: 10px; font-weight: 750; }
.flow-card h4 { font-size: clamp(17px, 2.1vw, 25px); font-weight: 650; line-height: 1.13; letter-spacing: -.05em; margin-top: 6px; overflow-wrap: anywhere; }
.flow-content { padding: 5px 17px 15px; }
.flow-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid #e2e4d7; padding: 9px 0; font-size: 13px; line-height: 1.35; }
.flow-row > strong { flex-shrink: 0; font-weight: 650; }
.flow-state { display: inline-block; vertical-align: middle; border-radius: 30px; padding: 5px 8px; background: #e8e7d9; color: #505748; font-size: 10px; font-weight: 750; line-height: 1.2; }
.flow-content > .flow-state { margin-top: 13px; }
.flow-state.success { background: #dce9ce; color: #354f32; }
.flow-state.alert { background: #f3dccc; color: #773e30; }
.flow-code { font-family: ui-monospace, monospace; font-size: .85em; }
.flow-empty { color: #536651; font-size: 14px; max-width: 210px; margin: 28px 0 10px; line-height: 1.6; }
.flow-transfer { align-self: center; height: 1px; background: #afbc9d87; position: relative; }
.flow-transfer::after { position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border: solid #afbc9d; border-width: 1px 1px 0 0; transform: rotate(45deg); content: ""; }
.flow-transfer span { position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #f3b28a; opacity: 0; }

.table-map { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 9px 0 2px; }
.table-tile { text-align: center; padding: 8px 2px 6px; border: 1px solid #d7dfcc; border-radius: 5px; color: #3f553b; background: #e5eadd; }
.table-tile b { display: block; font-size: 15px; }
.table-tile span { font-size: 10px; }
.table-focus { border-color: #789166; }
.booked .table-focus { background: #e7b794; color: #5b3124; border-color: #ba805e; }
.flow-payment .flow-content { padding-top: 13px; }
.pay-device { text-align: center; padding: 11px 8px; background: #e8edde; border-radius: 8px; }
.pay-device > span:first-child { display: block; font-size: 11px; font-weight: 650; }
.pay-device > strong { display: block; font-size: 27px; margin: 5px 0; }
.pay-device.card-reader { width: min(100%, 152px); margin: 0 auto; border: 5px solid #3b5244; background: #e0e9ce; border-radius: 13px; box-shadow: 0 8px 16px #24392f28; }
.flow-choices { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 3px; }
.flow-choice { min-height: 36px; padding: 6px 8px; background: transparent; color: #334936; border: 1px solid #9aae92; border-radius: 5px; font-size: 11px; font-weight: 650; }
.flow-choice[aria-pressed=true] { background: #3c5941; border-color: #3c5941; color: #fff; }
.flow-menu-photo { display: block; width: 100%; height: 57px; object-fit: cover; object-position: 66% 60%; border-radius: 4px; margin-top: 10px; }
.sold-out .flow-menu-photo { filter: grayscale(.85); }

.print-source { justify-self: center; display: flex; align-items: baseline; gap: 16px; background: #dce5cc; color: #273e30; padding: 10px 17px; border-radius: 7px; font-size: 14px; }
.printer-branch { justify-self: center; width: 66.66%; height: 25px; margin-top: 10px; border-bottom: 1px solid #afbc9d87; position: relative; }
.printer-branch::before, .printer-branch::after { position: absolute; left: 50%; height: 33px; top: -7px; content: ""; width: 1px; background: #afbc9d87; }
.printer-branch::after { height: 7px; width: 7px; border-radius: 50%; margin-left: -3px; background: #f3b28a; opacity: 0; }
.printer-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.printer { min-width: 0; margin-top: 15px; }
.printer-device { width: min(100%,142px); margin: auto; background: #d7dec9; border-radius: 9px 9px 4px 4px; padding: 11px 8px 8px; color: #263c2d; text-align: center; font-size: 13px; position: relative; z-index: 1; }
.printer-device i { display: inline-block; width: 6px; height: 6px; margin: 0 5px 2px 0; border-radius: 50%; background: #64834b; }
.printer-device > span { margin: 8px auto 0; display: block; width: 80%; height: 3px; border-radius: 2px; background: #7f8a73; }
.paper-wrap { overflow: hidden; min-height: 95px; }
.printer-paper { width: min(85%,120px); margin: -2px auto 0; background: #fff7e7; color: #304031; padding: 12px 6px; display: grid; gap: 6px; text-align: center; font-size: 11px; border-bottom: 2px dashed #9d9c80; }
.printer-paper strong { overflow-wrap: anywhere; }
.printer-paper i { margin: 0 auto; height: 7px; width: 50%; background: repeating-linear-gradient(90deg,#56614e 0 1px, transparent 1px 3px); opacity: .45; }

.workflow-bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-top: 17px; }
.workflow-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; flex: 1; }
.workflow-steps li { flex: 1; min-width: 0; }
.workflow-steps button { display: block; width: 100%; min-height: 44px; border: 0; border-top: 2px solid #859681; padding: 7px 1px 0; background: transparent; color: #d5dece; text-align: left; font-size: 12px; line-height: 1.35; }
.workflow-steps button:hover { color: #fff; border-color: #fff; }
.workflow-steps button[aria-current] { border-color: var(--warm); color: #fff4e7; font-weight: 700; }
.workflow-steps button.complete { border-color: #bdcfaa; }
.workflow-note { color: #d4ddcd; font-size: 12px; line-height: 1.5; margin-top: 14px; }
.workbench button:focus-visible { outline-color: #f2b390; }

.restaurant-case { position: relative; transition: transform .32s ease; }
.case-preview { overflow: hidden; position: relative; transition: box-shadow .3s ease; }
.case-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, #fff5 48%, transparent 67%);
  transform: translateX(-110%);
  pointer-events: none;
}
.restaurant-case:hover .case-preview { box-shadow: 0 16px 32px #263f282b; }
.case-demo-link {
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  margin-top: 16px;
  padding: 5px 0;
  border-bottom: 1px solid currentColor;
  color: #334638;
  transition: color .2s;
}
.case-demo-link:hover { color: var(--red); }
.restaurant-case > p { padding-top: 10px; }
.contact-button { transition: transform .2s, background .2s; }
.contact-button:hover { transform: translateY(-3px); }

@media (prefers-reduced-motion: no-preference) {
  .hero-content > * { animation: lift-in .82s cubic-bezier(.2,.7,.2,1) both; }
  .hero-content > :nth-child(2) { animation-delay: .14s; }
  .hero-content > :nth-child(3) { animation-delay: .24s; }
  .hero-live { animation: hero-ticket .9s .5s cubic-bezier(.19,.8,.2,1) both; }
  .hero-live-top i { animation: status-pulse 1.5s .9s 2; }
  .workbench[data-frame="0"] .flow-card, .workbench[data-frame="0"] .print-source { animation: lift-in .42s both; }
  .workbench[data-frame="0"] .flow-card:last-child { animation-delay: .08s; }
  .workbench:not([data-frame="0"]) .flow-transfer span { animation: transfer .6s ease-out both; }
  .workbench:not([data-frame="0"]) .flow-card:last-child { animation: screen-update .48s .17s both; }
  .workbench:not([data-frame="0"]) .flow-state.success { animation: lift-in .3s .2s both; }
  .booked .table-focus { animation: table-booked .6s both; }
  .workbench[data-frame="1"] .printer-paper { animation: paper-out .68s .14s cubic-bezier(.2,.75,.22,1) both; }
  .workbench[data-frame="1"] .printer:nth-child(2) .printer-paper { animation-delay: .24s; }
  .workbench[data-frame="1"] .printer:nth-child(3) .printer-paper { animation-delay: .38s; }
  .workbench[data-frame="1"] .printer-branch::after { animation: branch-flow .55s ease both; }
  .workbench[data-frame="2"] .printer:last-child .printer-paper { animation: paper-out .65s both; }
  .restaurant-case.in .case-preview::before { animation: material-pass .9s .3s both; }
  .restaurant-case:nth-child(2) { transition-delay: .10s; }
  .service-details article:nth-child(2) { transition-delay: .07s; }
  .service-details article:nth-child(3) { transition-delay: .14s; }
}
@keyframes lift-in { from { opacity: 0; transform: translateY(19px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-ticket { from { opacity: 0; translate: 0 42px; rotate: 5deg; } to { opacity: 1; translate: 0 0; rotate: 0deg; } }
@keyframes status-pulse { 0%, 100% { box-shadow: 0 0 0 0 #bad3a000; } 35% { box-shadow: 0 0 0 5px #bad3a049; } }
@keyframes transfer { 0% { left: 0; opacity: 0; } 20%, 75% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes screen-update { from { transform: translateY(6px); box-shadow: 0 0 0 4px #e3e9bc54; } to { transform: translateY(0); } }
@keyframes table-booked { from { scale: .92; } 55% { scale: 1.04; } to { scale: 1; } }
@keyframes paper-out { from { transform: translateY(-105%); } to { transform: translateY(0); } }
@keyframes branch-flow { 0% { transform: translateY(0); opacity: 0; } 23%, 78% { opacity: 1; } 100% { transform: translateY(29px); opacity: 0; } }
@keyframes grow-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes material-pass { to { transform: translateX(110%); } }

@media (max-width: 1050px) {
  .workflow-bottom { flex-wrap: wrap; }
  .workflow-next { margin-left: auto; }
  .workflow-steps { min-width: 100%; gap: 10px; }
  .flow-columns { grid-template-columns: minmax(0,1fr) 20px minmax(0,1fr); gap: 9px; }
  .flow-card header { padding-inline: 11px; }
  .flow-content { padding-inline: 11px; }
  .flow-row { gap: 6px; }
  .hero-live { right: 6%; }
}
@media (max-width: 800px) {
  .workbench { grid-template-columns: 1fr; }
  .workflow-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 18px; gap: 12px; }
  .workflow-group { align-content: start; }
  .workflow-group button { min-height: 38px; font-size: 13px; }
  .work-section { padding-inline: 6%; }
  .hero-live { bottom: 12%; }
}
@media (max-width: 650px) {
  .hero h1 { font-size: clamp(52px, 13.7vw, 76px); }
  .hero-photo::before { background-position: 63% center; }
  .hero-live { display: none; }
  .hero-row { gap: 12px 13px; }
  .hero-row .hero-action { padding-inline: 12px; }
  .hero-secondary { font-size: 12px; }
  .hero-row p { margin-bottom: 3px; }
  .workflow-heading .section-kicker { margin-bottom: 14px; }
  .workflow-main { padding: 16px; }
  .workflow-head { display: flex; flex-direction: column; align-items: stretch; gap: 4px; margin-bottom: 13px; }
  .workflow-play { align-self: flex-start; }
  .workflow-nav { padding: 12px 8px; gap: 3px; }
  .workflow-group > p { padding: 0 4px 4px; font-size: 9px; letter-spacing: .04em; }
  .workflow-group button { padding: 5px 4px; min-height: 44px; font-size: 11px; overflow-wrap: anywhere; border-radius: 5px; gap: 2px; }
  .workflow-group button span { display: none; }
  .workflow-story { min-height: 0; padding: 10px; }
  .flow-columns { grid-template-columns: minmax(0,1fr); gap: 9px; }
  .flow-card { min-height: 147px; }
  .flow-transfer { justify-self: center; width: 18px; margin: 1px 0; rotate: 90deg; }
  .flow-card h4 { font-size: 21px; }
  .flow-empty { margin: 14px 0 9px; }
  .workflow-next { width: 100%; }
  .workflow-steps button { min-height: 45px; }
  .workflow-note { font-size: 11px; }
  .print-source { margin-top: 9px; }
  .printer-paper { font-size: 10px; padding-inline: 4px; }
  .printer-device { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo::before { transform: none; }
  .hero-live { transform: none; }
}

/* Treat each workflow like a scene on the page, with its controls in view. */
.hero-row > a { justify-self: start; }
.hero-secondary { padding-inline: 0; }
.work-section { background: #e9e8db; }
.workflow-heading { padding-bottom: clamp(30px, 4.5vw, 62px); }
.workflow-heading > p { max-width: 340px; }
.workbench {
  --scene-wash: #d9dfce;
  --scene-ink: #2a3a2d;
  --scene-accent: #8b4232;
  display: block;
  background: #f8f5eb;
  color: #27372c;
  border: 1px solid #c9caba;
  box-shadow: 0 16px 48px #293e2812;
}
.workbench[data-scene="split"], .workbench[data-scene="payment"] { --scene-wash: #eacdb3; }
.workbench[data-scene="pickup"], .workbench[data-scene="service"] { --scene-wash: #e9d8b8; }

.workflow-nav {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: center;
  gap: 10px 24px;
  padding: 15px clamp(15px, 3vw, 37px);
  border-bottom: 1px solid #d5d5c5;
  background: #f2efe5;
}
.workflow-categories { display: flex; flex-wrap: wrap; gap: 6px; }
.workflow-categories button,
.workflow-group button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  text-align: center;
  padding: 7px 13px;
  border: 1px solid transparent;
  border-radius: 25px;
  background: transparent;
  color: #334b38;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 650;
  transition: background .22s, color .22s, border-color .22s;
}
.workflow-categories button { border-color: #c8d0bf; }
.workflow-categories button:hover, .workflow-group button:hover { background: #e0e6d7; }
.workflow-categories button[aria-pressed="true"] {
  color: #fffbed;
  background: #2c4637;
  border-color: #2c4637;
}
.workflow-group { display: flex; justify-content: flex-end; gap: 2px; }
.workflow-group button { border-radius: 7px; }
.workflow-group button[aria-pressed="true"] { background: #e0e7d7; border-color: #cdd8c3; color: #223c2b; }
.workflow-group button span { display: none; }

.workflow-main { padding: clamp(20px, 3.5vw, 42px); }
.workflow-head { min-height: 0; margin-bottom: 15px; }
.workflow-head h3 { margin-top: 8px; font-size: clamp(39px, 4.3vw, 67px); }
.workflow-badge { color: var(--scene-accent); }
.workflow-head p { color: #465b49; padding-bottom: 0; }
.workflow-play { color: #314d38; border-color: #9bae97; }
.workflow-play:hover { background: #e5eadd; }

.workflow-bottom { padding: 0 0 16px; flex-wrap: nowrap; }
.workflow-steps { min-width: 0; gap: clamp(8px, 1.5vw, 19px); }
.workflow-steps button { color: #536653; border-top-color: #c5ccba; }
.workflow-steps button:hover, .workflow-steps button[aria-current] { color: #253b2d; border-color: var(--scene-accent); }
.workflow-steps button.complete { border-color: #819776; }
.workflow-next { color: #fff8ec; background: #355443; margin: 0; }
.workflow-next:hover { background: #243f32; }
.workflow-note { color: #526650; }
.workbench button:focus-visible { outline-color: #963f32; }
.workflow-story {
  background: radial-gradient(ellipse at 30% 70%, #ffffff32, transparent 66%), var(--scene-wash);
  border: 1px solid #59634924;
  color: var(--scene-ink);
  min-height: 375px;
  border-radius: 12px;
  transition: background-color .3s;
}
.flow-columns { grid-template-columns: minmax(0,1fr) minmax(30px,.18fr) minmax(0,1fr); }
.flow-card { border-color: #67765b37; background: #fffdf4; box-shadow: 0 10px 24px #46543b13; }
.flow-transfer { background: #576c49a6; }
.flow-transfer::after { border-color: #617a56; }
.flow-transfer span, .printer-branch::after { background: #a64434; }
.flow-empty { max-width: 260px; }
.printer-branch, .printer-branch::before { border-color: #6c8169af; }
.printer-branch::before { background: #6c8169af; }
.printer-device { background: #3a5143; color: #fff8e8; }
.printer-device i { background: #afcd98; }
.printer-device > span { background: #192c22; }
.printer-paper { box-shadow: 0 5px 16px #2e4b2220; }

.flow-party .flow-content, .flow-account .flow-content { padding-top: 10px; }
.bill-person {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  border-bottom: 1px solid #e3ddd0;
  font-size: 13px;
}
.person-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #e6d5b9; color: #5c4634; font-weight: 750; }
.bill-person:nth-child(2) .person-mark { background: #dce7d3; color: #365138; }
.bill-person small { display: block; color: #5f6656; line-height: 1.3; }
.shared-dish { margin-top: 11px; }
.shared-dish > div { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; }
.shared-dish i { display: block; height: 8px; border-radius: 20px; background: #d6ae81; margin-top: 7px; }
.workbench[data-frame="1"] .shared-dish i, .workbench[data-frame="2"] .shared-dish i { background: linear-gradient(90deg, #d6ae81 0 49%, transparent 49% 51%, #9ab38c 51%); }
.bill-total .flow-row { border-bottom: 0; padding-bottom: 0; }

.service-gesture { min-height: 142px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; }
.service-gesture > span:first-child { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #d9be9c; background: #f4e4c8; color: #804d37; font-family: var(--serif); font-size: 46px; line-height: 1; }
.service-slip { display: grid; justify-items: start; gap: 8px; margin: 12px 0 0; background: #e2ebd7; padding: 13px; border-radius: 5px; border-left: 3px solid #819776; }
.service-slip strong { font-size: 20px; font-weight: 600; letter-spacing: -.04em; }

.case-preview { border: 1px solid #ffffff23; }
.case-bistro .case-menu-preview, .case-cafe .case-menu-preview {
  border: 1px solid #ffffff37;
  border-radius: 8px;
  padding: 15px;
  background: #ffffff09;
  transition: transform .45s cubic-bezier(.22,.75,.2,1);
}
.case-cafe .case-menu-preview { border-color: #763e2938; background: #fff9ef31; }
.restaurant-case:hover .case-menu-preview { transform: translateY(-5px); }
.contact { background: #dce4d3; }

@media (prefers-reduced-motion: no-preference) {
  /* Keep copy visible even if someone scrolls past the entry transition. */
  .reveal { opacity: 1; transform: translateY(10px); }
  .reveal.in { transform: translateY(0); }
  .workbench[data-frame="1"] .shared-dish i { animation: grow-bar .48s both; }
  .workbench[data-frame="1"] .service-slip { animation: receipt-drop .45s .15s both; }
}
@keyframes receipt-drop {
  from { opacity: 0; translate: 0 -9px; rotate: -2deg; }
  to { opacity: 1; translate: 0 0; rotate: 0deg; }
}

@media (max-width: 1070px) {
  .workflow-nav { grid-template-columns: 1fr; }
  .workflow-group { justify-content: flex-start; }
}
@media (max-width: 650px) {
  .how, .work-section, .restaurants { padding-top: 49px; }
  .how-intro h2 { margin: 17px 0; }
  .how .order-demo { margin-top: 24px; }
  .workflow-heading { padding-bottom: 24px; }
  .workflow-heading > p { margin-top: 14px; }
  .workflow-nav { padding: 10px; gap: 7px; }
  .workflow-categories { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; }
  .workflow-group { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px 4px; }
  .workflow-categories button, .workflow-group button { min-height: 44px; padding: 4px 3px; font-size: 12px; }
  .workflow-main { padding: 14px; }
  .workflow-head { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 8px; margin-bottom: 12px; }
  .workflow-head h3 { font-size: clamp(32px,8vw,41px); }
  .workflow-head p { font-size: 13px; }
  .workflow-play { padding: 7px 8px; font-size: 11px; white-space: normal; max-width: 82px; }
  .workflow-bottom { flex-direction: column; align-items: stretch; gap: 6px; padding-bottom: 12px; }
  .workflow-next { min-height: 43px; }
  .workflow-steps { width: 100%; }
  .workflow-steps button { font-size: 11px; }
  .workflow-story { min-height: 0; padding: 9px; }
  .flow-columns { grid-template-columns: minmax(0,1fr); gap: 7px; }
  .flow-card { min-height: 0; }
  .flow-card header { padding: 10px 12px 7px; }
  .flow-card h4 { font-size: 19px; }
  .flow-content { padding: 4px 12px 10px; }
  .flow-row { padding-block: 6px; }
  .flow-empty { margin-block: 8px; }
  .service-gesture { min-height: 99px; }
  .service-gesture > span:first-child { width: 49px; height: 49px; font-size: 31px; }
  .demo-stage { gap: 14px; }
  .demo-connector { display: block; align-self: center; width: 28px; height: 31px; padding: 0; }
  .demo-connector .route-line { top: 13px; transform: rotate(90deg); }
  .demo-connector .route-label { display: none; }
  .demo-connector .route-parcel { rotate: -90deg; }
  .case-preview { padding: 19px; gap: 11px; }
  .case-bistro .case-menu-preview, .case-cafe .case-menu-preview { padding: 9px; }
}

/* Warm brick, oxblood and porcelain. Green is reserved for success states. */
:root {
  --paper: #f7f0e5;
  --ink: #362521;
  --red: #963e31;
  --red-deep: #712c30;
  --red-dark: #53232a;
  --red-wash: #eed7cc;
  --muted: #6c5049;
}
.reading-progress { background: #bc5840; }
.hero-photo { background: #542b26; }
.hero-overlay { background: linear-gradient(90deg, #331b19de, #48271d69 58%, #301b1719), linear-gradient(0deg, #2815108c, transparent 40%); }
.hero-action { background: #fae8d6; color: #632e2a; }
.hero-live { background: #6b3030e8; border-color: #f8d7c05e; }
.hero-live-top { color: #f2d6c6; }
.hero-live-top i { background: #f8b596; }
.hero-live-bottom > span:last-child { background: #f0c5ac; color: #5e2725; }
.header.is-scrolled { background: #f7f0e5f5; border-color: #e1d0c1; }
.how { background: #fbf4e8; }
.how-intro h2, .workflow-heading h2, .restaurant-grid h2, .contact h2 { color: var(--red-dark); }
.how-intro h2 em, .workflow-heading h2 em, .restaurant-grid h2 em, .contact h2 em { color: var(--red); }
.section-kicker, .workflow-heading .section-kicker { color: #855148; }
.how-intro > p:last-child, .workflow-heading > p { color: #70534a; }
.order-demo { background: #f0dfd2; border-color: #e3cdbd; }
.demo-toolbar, .demo-footer { border-color: #dfc7b5; }
.demo-stage { background: radial-gradient(ellipse at 20% 90%, #d2927852, transparent 72%); }
.demo-progress li, .scene-label, .demo-footer, .demo-footer button { color: #735148; }
.step-index { border-color: #cfada0; }
.demo-progress li[data-complete] .step-index { background: #e5c4b4; color: #743e32; border-color: #d7afa1; }
.demo-play { border-color: #b88170; color: #73382c; }
.demo-play:hover, .demo-play[aria-pressed="true"] { background: #e9cbbb; }
.demo-device { border-color: #693632; }
.demo-board { background: #fcf7ef; border-color: #dcbfb0; }
.board-brand { background: #71323a; }
.demo-board-header { border-color: #e7d7cc; }
.order-count { background: #edd5c7; color: #7d3b32; }
.demo-ticket { border-color: #dfbfad; border-left-color: #a44c37; }
.accept-order { background: #8b3930; }
.accept-order:hover { background: #722b27; }
.route-line, .order-demo[data-phase="sent"] .route-line, .order-demo[data-phase="accepted"] .route-line { background: #b27361; }
.route-line::after { border-color: #a36353; }
.route-label { color: #8e5849; }

.work-section { background: #eac3ad; }
.workbench {
  --scene-wash: #edcbb9;
  --scene-ink: #482b26;
  --scene-accent: #963e31;
  background: #fcf3e6;
  color: var(--ink);
  border-color: #d5a896;
  box-shadow: 0 16px 45px #672d251d;
}
.workbench[data-scene="split"], .workbench[data-scene="payment"] { --scene-wash: #edcdb7; }
.workbench[data-scene="pickup"], .workbench[data-scene="service"] { --scene-wash: #efd3b1; }
.workflow-nav {
  grid-template-columns: minmax(266px, 34%) minmax(0,1fr);
  gap: 12px 22px;
  background: #f3e0d3;
  border-color: #e2c0ae;
}
.workflow-categories { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.workflow-group { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); align-items: stretch; gap: 5px; }
.workflow-categories button, .workflow-group button { width: 100%; height: 44px; color: #743a31; }
.workflow-categories button { border-color: #ca9f90; }
.workflow-categories button:hover, .workflow-group button:hover { background: #ebcabc; }
.workflow-categories button[aria-pressed="true"] { color: #fff5e7; background: var(--red-deep); border-color: var(--red-deep); }
.workflow-group button[aria-pressed="true"] { color: #742e28; background: #ebc8ba; border-color: #d9a392; }
.workflow-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 0;
}
.workflow-heading-copy { grid-area: 1 / 1; visibility: hidden; }
.workflow-heading-copy.current { visibility: visible; }
.workflow-head h3 { color: var(--red-dark); }
.workflow-head p, .workflow-note { color: #77544a; }
.workflow-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 34%);
  align-items: stretch;
  gap: 16px;
}
.workflow-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.workflow-steps button {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 4px 2px 0;
  color: #795a50;
  border-top-color: #d2b8a8;
}
.workflow-steps button[aria-current], .workflow-steps button:hover { color: #752f2a; }
.workflow-steps button.complete { border-color: #bf8371; }
.workflow-actions {
  display: grid;
  grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
  gap: 8px;
}
.workflow-play, .workflow-next {
  display: grid;
  place-items: center;
  width: 100%;
  height: 48px;
  min-height: 48px;
  max-width: none;
  white-space: normal;
  padding: 4px 10px;
  line-height: 1.2;
  transform: none;
}
.workflow-play { color: #763d34; border-color: #b7806d; }
.workflow-play:hover { background: #edcabb; }
.workflow-next { background: #963e31; color: #fff9ef; border-color: #963e31; }
.workflow-next:hover { background: #7a312b; border-color: #7a312b; transform: none; }
.workflow-story { border-color: #b5715b42; }
.flow-card { color: #422d27; border-color: #ac70563b; box-shadow: 0 10px 24px #633c2a15; }
.flow-card header, .flow-row { border-color: #ecdcd0; }
.flow-card header > span, .flow-empty { color: #805e51; }
.flow-transfer { background: #a66a54a6; }
.flow-transfer::after { border-color: #a66a54; }
.flow-transfer span, .printer-branch::after { background: #a54839; }
.print-source { background: #f5e6d3; color: #6a382e; }
.printer-branch, .printer-branch::before { border-color: #ad755e9e; }
.printer-branch::before { background: #ad755e9e; }
.printer-device { background: #71343b; }
.printer-device > span { background: #49222a; }
.printer-paper { background: #fff4df; color: #60372d; }
.person-mark { background: #efd7c3; color: #774135; }
.bill-person:nth-child(2) .person-mark { background: #e9c7c5; color: #78404b; }
.workbench[data-frame="1"] .shared-dish i, .workbench[data-frame="2"] .shared-dish i {
  background: linear-gradient(90deg, #cc9369 0 49%, transparent 49% 51%, #bd7b86 51%);
}
.case-bistro { color: #fbecdb; background: #723a40; }
.case-cafe { color: #592d22; background: #e8b48f; }
.case-demo-link, .contact-main > p, .contact-main .contact-address { color: #784b40; }
.contact { background: #edd0bc; }
.contact-button { background: var(--red-deep); }
footer { border-color: #c89e8f; }

@media (max-width: 960px) {
  .workflow-nav { grid-template-columns: minmax(0,1fr); }
  .workflow-categories { max-width: 440px; }
  .workflow-bottom { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .workflow-actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 650px) {
  .workflow-nav { gap: 6px; }
  .workflow-group { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(2,44px); }
  .workflow-categories button, .workflow-group button { font-size: 12px; }
  .workflow-head p { font-size: 13px; }
  .workflow-steps button { align-items: start; overflow-wrap: anywhere; hyphens: auto; }
  .workflow-play, .workflow-next { font-size: 12px; }
}

.hero-row { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.hero-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; }
.hero-links > a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; }
.hero-secondary { border: 0; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: #fff2df9e; }
@media (max-width: 650px) { .hero-links { column-gap: 12px; } }
@media (max-width: 360px) {
  .workflow-steps button { height: 58px; }
}
@media (max-width: 360px) {
  .hero-links { flex-wrap: nowrap; column-gap: 9px; }
  .hero-links > a { font-size: 12px; }
}

/* The photographs carry the page; the demos retain their functional transitions. */
:root {
  --paper: #f5f0e7;
  --ink: #30251e;
  --red: #862d25;
  --red-deep: #682820;
  --red-dark: #54251e;
  --red-wash: #e7d7c7;
  --muted: #68574a;
}
body:not(.home-page) .header,
body:not(.home-page) .header.is-scrolled {
  background: #f5f0e7f5;
  color: var(--ink);
  border-color: #d9caba;
}
body:not(.home-page) .header .brand span,
.home-page .header.is-scrolled .brand span { color: var(--red); }
.home-page .header:not(.is-scrolled) .header-link,
.home-page .header:not(.is-scrolled) nav [aria-current="page"] { color: #fff7e8; }
.home-page .header .brand span { color: #e8ae91; }
.reading-progress { height: 2px; background: #913a2e; }

.how { background: #faf6ee; }
.order-demo { background: #eee4d6; border-color: #ddcdbb; }
.demo-toolbar, .demo-footer { border-color: #d9c9b9; }
.demo-stage { background: radial-gradient(ellipse at 18% 75%, #d0baa337, transparent 70%); }
.scene-label {
  color: #615045;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .01em;
  line-height: 1.4;
  margin-bottom: 13px;
}
.demo-board { border-color: #d7c5b4; background: #faf6ee; }
.board-brand { background: #57332a; }
.demo-play:hover, .demo-play[aria-pressed="true"] { background: #e5d2c1; }
.demo-progress li[data-complete] .step-index { background: #e4d3c2; border-color: #d6baa3; }

.demo-device {
  --phone-width: 276px;
  width: min(100%, var(--phone-width));
  aspect-ratio: 390 / 844;
  min-height: 0;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  border: 6px solid #302826;
  border-radius: 35px;
  padding: 44px 15px 26px;
  background: #fffaf1;
  box-shadow: 0 0 0 1px #3a312c, 0 18px 27px #533c2c24;
}
.demo-device::before {
  position: absolute;
  content: "";
  width: 68px;
  height: 17px;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: #302826;
  border-radius: 20px;
}
.demo-device::after {
  position: absolute;
  content: "";
  width: 34%;
  height: 4px;
  bottom: 7px;
  left: 33%;
  background: #302826;
  border-radius: 20px;
}
.phone-status {
  position: absolute;
  inset: 9px 17px auto;
  height: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #3d312b;
  font-size: 10px;
  font-weight: 700;
}
.phone-battery { width: 13px; height: 7px; border: 1px solid #40342b; border-radius: 2px; position: relative; }
.phone-battery::before { content: ""; position: absolute; inset: 1px; background: #40342b; border-radius: 1px; }
.phone-battery::after { content: ""; position: absolute; inset: 1px -3px 1px auto; width: 2px; border-radius: 1px; background: #40342b; }
.demo-device-header { padding: 2px 0 12px; border-color: #e1d5c5; }
.demo-device-header strong { font-size: 21px; }
.demo-start, .demo-menu { flex: 1; }
.demo-start { padding-top: 23px; gap: 13px; }
.demo-start h3 { font-size: clamp(30px, 5vw, 35px); line-height: 1.04; }
.demo-start .demo-button { margin-top: auto; }
.demo-menu { display: flex; flex-direction: column; }
.menu-photo { margin: 14px 0 0; height: 119px; flex: 0 0 auto; border-radius: 4px; }
.menu-photo img { object-position: 70% 57%; }
.demo-menu h3 { margin: 17px 0 12px; }
.demo-menu-item { gap: 5px; }
.demo-quantity { gap: 5px; }
.demo-quantity button { width: 29px; }
.demo-total { margin-top: auto; }
.demo-device [hidden] { display: none !important; }
.demo-connector .route-label { letter-spacing: .07em; }

.work-section { background: #e3d5c3; }
.workbench {
  --scene-wash: #e8d6c2;
  --scene-ink: #442e21;
  --scene-accent: #80362a;
  background: #fbf6ed;
  border-color: #cbb59e;
  box-shadow: 0 12px 30px #63442a12;
}
.workbench[data-scene="split"], .workbench[data-scene="payment"] { --scene-wash: #e4d2be; }
.workbench[data-scene="pickup"], .workbench[data-scene="service"] { --scene-wash: #eadbc3; }
.workflow-nav { background: #f1e7d8; border-color: #d8c7b4; }
.workflow-categories button { border-color: #c1ad97; }
.workflow-categories button:hover, .workflow-group button:hover { background: #e8dccd; }
.workflow-categories button[aria-pressed="true"] { background: #682820; border-color: #682820; }
.workflow-group button[aria-pressed="true"] { color: #662f25; background: #e9d8c6; border-color: #d2bda6; }
.workflow-play:hover { background: #ede0d0; }
.workflow-next { background: #862d25; border-color: #862d25; }
.workflow-next:hover { background: #682820; border-color: #682820; }
.printer-device { background: #53382a; }
.printer-device > span { background: #30241c; }
.bill-person:nth-child(2) .person-mark { background: #e0d1ba; color: #734735; }

.restaurants { background: #faf6ee; }
.case-bistro { background: #533027; }
.case-cafe { background: #dbc29d; }
.contact { background: #e6dac8; }
.restaurant-case.in .case-preview::before { animation: none; }

@media (max-width: 650px) {
  .demo-device { --phone-width: 258px; }
  .scene-label { font-size: 12px; letter-spacing: 0; }
}

.header nav [aria-current="page"] { color: var(--red-deep); text-decoration: underline; text-underline-offset: 7px; }
.feature-page { background: #f7f0e5; padding-top: 82px; }
.feature-intro { padding: clamp(55px,8vw,114px) 5% clamp(65px,9vw,125px); }
.feature-intro h1 {
  font-size: clamp(62px,8vw,126px);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.065em;
  margin: 21px 0 23px;
}
.feature-intro h1 em { font-size: 1.06em; color: var(--red-deep); }
.feature-intro > p:not(.section-kicker) { font-size: 17px; color: #655243; line-height: 1.6; max-width: 480px; }
.feature-jumps { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 24px; }
.feature-jumps a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid #ba9e83;
  border-radius: 30px;
  color: var(--red-deep);
  font-size: 14px;
  font-weight: 650;
}
.feature-jumps a:first-child { border-color: var(--red-deep); background: var(--red-deep); color: #fff8ed; }
.feature-jumps a:hover { border-color: #7b5845; }
.site-footer { margin: 0; padding: 28px 5%; background: #eee3d0; }

.demo-device {
  box-shadow: 0 0 0 1px #604c44, 0 5px 0 #251e1a, 0 16px 25px -6px #35291f56,
              inset 0 0 0 1px #f5ead7;
}
.phone-keys i { position: absolute; width: 3px; height: 25px; background: #4c3d36; border-radius: 3px 0 0 3px; left: -8px; top: 102px; }
.phone-keys i:nth-child(2) { top: 134px; }
.phone-keys i:nth-child(3) { top: 126px; left: auto; right: -8px; height: 38px; border-radius: 0 3px 3px 0; }
.order-monitor { position: relative; padding-bottom: 29px; }
.order-monitor::before,
.order-monitor::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.order-monitor::before {
  bottom: 4px;
  width: 50px;
  height: 32px;
  background: linear-gradient(90deg, #624f43, #8b7464 43%, #655346 82%);
  border-radius: 0 0 4px 4px;
}
.order-monitor::after {
  width: 35%;
  height: 9px;
  bottom: 0;
  border-radius: 50% 50% 4px 4px;
  background: linear-gradient(#877264, #4a3b32);
  box-shadow: 0 4px 8px #4d372a34;
}
.order-monitor .demo-board {
  position: relative;
  border: 7px solid #332a23;
  border-bottom-width: 13px;
  border-radius: 13px;
  box-shadow: 0 0 0 1px #9d8776, 0 12px 22px #523b2e34;
}
.order-monitor .board-brand { background: #57352b; }

.workbench[data-scene="print"] .workflow-story {
  background:
    radial-gradient(ellipse at 35% 10%, #f9e9d266, transparent 68%),
    linear-gradient(178deg, #d0b69b 0 59%, #b69574 59.2%, #c6a685 100%);
  min-height: 398px;
}
.printer-grid { perspective: 800px; }
.printer-device {
  width: min(100%, 155px);
  height: 87px;
  padding: 24px 6px 9px;
  border: 1px solid #1f1915;
  border-radius: 13px 13px 7px 7px;
  background: linear-gradient(172deg, #62574b 0%, #3d332a 36%, #241e19 38%, #382e26 76%, #28211c 100%);
  box-shadow: inset 0 1px 1px #847568, inset 0 -3px 0 #241a15, 0 12px 17px -9px #27190eb0;
}
.printer-device::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 6px;
  height: 13px;
  border: 1px solid #9685756a;
  border-bottom-color: #291e17;
  border-radius: 7px 7px 4px 4px;
  background: linear-gradient(#73665835, #99867814);
}
.printer-device > span {
  position: absolute;
  inset: auto 10% 7px;
  margin: 0;
  height: 10px;
  width: 80%;
  background: #15110d;
  box-shadow: inset 0 2px 4px #000b, 0 1px 0 #86746684;
  border-radius: 2px;
}
.paper-wrap { position: relative; z-index: 2; margin-top: -12px; min-height: 110px; }
.printer-paper {
  background: linear-gradient(180deg, #ebdfc8 0, #fff8e9 15%, #fff8e9 72%, #e9dbc4 100%);
  color: #382e23;
  border-bottom: 2px dashed #948673;
  box-shadow: 0 7px 12px #3526192c;
  margin-top: 0;
  transform-origin: top center;
}
@keyframes paper-out {
  0% { transform: perspective(280px) translateY(-105%) rotateX(-14deg); }
  74% { transform: perspective(280px) translateY(2%) rotateX(-6deg); }
  100% { transform: perspective(280px) translateY(0) rotateX(0); }
}
.pay-device.card-reader {
  border-color: #413329;
  background: linear-gradient(#efe7d2, #e2d3b6);
  box-shadow: 0 3px 0 #251d17, 0 15px 17px -10px #3b2b20;
}

@media (max-width: 650px) {
  .feature-page { padding-top: 74px; }
  .feature-intro { padding-inline: 6%; padding-bottom: 76px; }
  .feature-intro h1 { font-size: clamp(52px,11.7vw,74px); }
  .feature-intro > p:not(.section-kicker) { font-size: 15px; }
  .site-footer { padding-inline: 6%; }
  .workbench[data-scene="print"] .workflow-story { min-height: 270px; }
  .printer-device { height: 65px; padding-top: 21px; }
  .printer-device::before { height: 10px; top: 4px; }
  .printer-device > span { height: 7px; bottom: 6px; }
  .paper-wrap { margin-top: -9px; min-height: 92px; }
  .order-monitor .demo-board { border-width: 5px; border-bottom-width: 9px; }
}

.home-story {
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0,1.14fr) minmax(0,1fr);
  background: #f4ebdc;
}
.home-story-title {
  padding: clamp(56px, 7vw, 108px) 12% clamp(60px, 8vw, 120px) 8.8%;
  background: #573029;
  color: #fff4e4;
}
.home-story-title h2 {
  font-size: clamp(59px, 6.3vw, 100px);
  color: inherit;
}
.home-story-title h2 em { color: #efcfae; }
.home-story-title > p {
  max-width: 365px;
  margin-top: 27px;
  font-size: clamp(15px,1.3vw,18px);
  line-height: 1.65;
  color: #f3e2d1;
}
.home-story-details {
  display: grid;
  align-content: center;
  gap: 20px;
  padding: clamp(48px, 5.3vw, 82px) 11% clamp(62px, 6vw, 92px);
}
.home-story-details article {
  display: grid;
  grid-template-columns: minmax(97px, 1fr) minmax(0, 2.55fr);
  align-items: baseline;
  gap: 13px 18px;
  border-bottom: 1px solid #cdbbab;
  padding-bottom: 20px;
}
.home-story-details h3 {
  color: #6d3229;
  font-family: var(--serif);
  font-size: clamp(23px,2.4vw,33px);
  font-weight: 400;
  line-height: 1;
}
.home-story-details article p {
  max-width: 315px;
  color: #59473b;
  font-size: 15px;
  line-height: 1.65;
}
.home-story-link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 650;
  font-size: 14px;
  color: #6d3229;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.home-story-link:hover { color: #963e31; }
.home-story .home-story-title.reveal { transform: none; }
.home-story + .restaurants { z-index: 3; }

@media (max-width: 650px) {
  .header nav { display: flex; gap: clamp(7px,2.3vw,14px); align-items: center; }
  .header nav a { display: grid; place-items: center; min-height: 44px; }
  .header .brand { font-size: clamp(22px,6.6vw,27px); }
  .header { gap: 7px; }
  .header-right { gap: 0; }
  .header .language { gap: 3px; }
  .header .lang { min-width: 22px; padding-inline: 2px; }
  .home-story { grid-template-columns: minmax(0,1fr); }
  .home-story-title { padding: 48px 6% 49px; }
  .home-story-title h2 { font-size: clamp(55px, 11.5vw, 76px); }
  .home-story-title > p { margin-top: 21px; }
  .home-story-details { padding: 32px 6% 55px; gap: 16px; }
  .home-story-details article { grid-template-columns: minmax(77px,.85fr) minmax(0,2.15fr); }
}

/* The brand pages turn over one another; the feature guide scrolls normally. */
@media (prefers-reduced-motion: no-preference) {
  .home-page main > .panel:not(.contact) {
    position: sticky;
    top: var(--panel-top, 0);
  }
}
.home-page .hero-subhead { margin: 0 0 21px; }
.home-page .hero-links { justify-content: flex-start; }
.home-story {
  display: block;
  min-height: 77svh;
  background: #573029;
  color: #fff4e4;
}
.home-story-title {
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(60px, 9vw, 138px) 7% clamp(77px, 11vw, 160px);
}
.home-story-title h2 { font-size: clamp(80px, 12vw, 183px); }
.home-story-title > p:not(.home-brand-kicker) { max-width: 380px; }
.home-story-title .home-brand-kicker {
  margin: 0 0 36px;
  color: #efcfae;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .14em;
}
.home-page .hero-content { max-width: 820px; }
.home-page .restaurants .restaurant-grid { padding-bottom: 58px; }
.home-page .restaurant-copy { max-width: 390px; }

.venue-guide { padding-bottom: clamp(80px, 10vw, 140px); }
.venue-guide h1 { font-size: clamp(57px, 7vw, 106px); margin-bottom: 18px; }
.venue-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 28px 0 clamp(28px, 5vw, 58px);
}
.venue-selector button {
  min-height: 48px;
  padding: 7px 23px;
  border: 1px solid #a98a75;
  border-radius: 30px;
  background: #faf5eb;
  color: #6d3329;
  font-size: 15px;
  font-weight: 650;
  transition: color .2s, background .2s;
}
.venue-selector button:hover { background: #ead8c4; }
.venue-selector button[aria-pressed="true"] { background: #682820; border-color: #682820; color: #fff8eb; }
.venue-results > h2 { font-family: var(--serif); color: #643328; font-size: clamp(39px,4.5vw,65px); margin-bottom: 24px; }
.venue-problems { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 23px; }
.venue-problem {
  padding: clamp(19px,2.1vw,32px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fcf6ea;
  border: 1px solid #d6c1ad;
  border-radius: 12px;
}
.venue-problem h3 { font-size: clamp(21px,2vw,28px); line-height: 1.15; letter-spacing: -.035em; font-weight: 550; }
.venue-problem p { color: #655143; font-size: 15px; line-height: 1.55; }
.venue-problem strong { color: #73382d; display: block; font-size: 12px; margin-bottom: 5px; }
.venue-problem a, .venue-order-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #833e32;
  font-size: 14px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.venue-problem a { margin-top: auto; }
.venue-order-link { margin-top: 12px; }
.feature-page .work-section { z-index: 3; }
.feature-page > .how { z-index: 4; }
.feature-showcase-link { margin-top: 16px; }
@media (max-width: 800px) {
  .venue-problems { gap: 12px; }
  .venue-problem { padding: 17px; }
}
@media (max-width: 650px) {
  .home-story { min-height: 68svh; }
  .home-story-title { padding: 70px 6% 84px; }
  .home-story-title h2 { font-size: clamp(73px, 15vw, 103px); }
  .home-story-title .home-brand-kicker { margin-bottom: 26px; }
  .venue-guide { padding-top: 49px; }
  .venue-selector { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; }
  .venue-selector button { padding: 6px; font-size: 12px; line-height: 1.22; }
  .venue-problems { grid-template-columns: 1fr; }
  .venue-problem h3 { font-size: 22px; }
}
.feature-page .workflow-nav { display: block; }
.feature-page .venue-demo-choices { grid-auto-rows: 44px; }
@media (max-width: 650px) {
  .feature-page .venue-demo-choices { grid-template-rows: none; }
}
.venue-guide { padding-top: clamp(49px, 5.8vw, 88px); }
.venue-guide h1 { font-size: clamp(57px, 6.3vw, 95px); }
.venue-results > h2 { letter-spacing: -.025em; line-height: 1.03; }
