/* The approved table concept, scoped to the /next section. */
.people-table {
  background: var(--paper);
  border-top: 1.5px solid var(--ink);
  padding: 72px 6% 0;
}
.people-table *,
.people-table *:before,
.people-table *:after {
  box-sizing: border-box;
}
.people-inner {
  max-width: 1300px;
  margin: auto;
}
.people-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.people-heading > div {
  min-width: 0;
}
.people-heading h2 {
  font-size: clamp(38px, 4.7vw, 70px);
}
.people-intro {
  font-size: 17px;
  margin-top: 22px;
  max-width: 560px;
}
.people-count {
  border-top: 1.5px solid var(--ink);
  padding-top: 16px;
  margin: 46px 0 8px;
  font-size: 13px;
}
.people-count[hidden] {
  display: none;
}
.people-example-note {
  font-size: 12px;
  margin-top: 8px;
}
.people-table .seats-scene[data-empty="true"] .cutlery {
  visibility: hidden;
}
.people-table .seat-note {
  background: var(--lime);
  max-width: 245px;
  width: 245px;
  flex-shrink: 0;
  padding: 20px 25px;
  transform: rotate(5deg);
  font-size: 20px;
  letter-spacing: -0.04em;
  margin-right: 4%;
}
.people-table .seat-note p {
  line-height: 1.2;
}
.people-table .seat-note-copy {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0;
}
.people-table .seat-note > span {
  display: block;
  font-size: 43px;
  text-align: right;
  margin-top: 5px;
}
.people-table .table-head span[data-plate-hint][hidden] {
  display: none;
}
.people-table .dining-room {
  max-width: 860px;
  margin: 35px auto 0;
  position: relative;
  padding: 0 0 20px;
}
.people-table .table-head,
.people-table .table-foot {
  width: 52%;
  margin: 0 auto;
  background: var(--orange);
  border: 2px solid var(--ink);
  text-align: center;
  position: relative;
}
.people-table .table-head {
  border-bottom: 0;
  border-radius: 55px 55px 0 0;
  min-height: 83px;
  padding: 25px 10px 10px;
}
.people-table .table-head span:first-child {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
}
.people-table .table-head span:last-child {
  font-size: 12px;
  display: block;
  margin-top: 6px;
  transform: rotate(-5deg);
}
.people-table .table-foot {
  border-top: 0;
  border-radius: 0 0 55px 55px;
  padding: 13px 10px 22px;
  font-size: 12px;
}
.people-table .seats-scene {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  isolation: isolate;
}
.people-table .seats-scene:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 24%;
  width: 52%;
  background: var(--orange);
  border-inline: 2px solid var(--ink);
}
.people-table .place {
  height: 116px;
  display: flex;
  align-items: center;
  position: relative;
  min-width: 0;
}
.people-table .place:nth-child(even) {
  flex-direction: row-reverse;
}
.people-table .chair {
  position: relative;
  text-decoration: none;
  width: 42%;
  height: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(var(--tilt));
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--seat-color);
  box-shadow: 3px 4px 0 var(--ink);
  padding: 9px;
}
.people-table .chair:before {
  content: "";
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 7px;
  width: 8px;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
}
.people-table .place:nth-child(even) .chair:before {
  left: auto;
  right: 7px;
}
.people-table .chair-name {
  position: relative;
  text-align: center;
  font-size: 14px;
  line-height: 1.15;
  overflow-wrap: anywhere;
  max-width: 100%;
  padding: 3px 10px;
}
.people-table .chair-name.long {
  font-size: 12px;
}
.people-table .setting {
  width: 48%;
  height: 100px;
  position: relative;
  margin-left: 7%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.people-table .place:nth-child(even) .setting {
  margin-left: 0;
  margin-right: 7%;
  flex-direction: row-reverse;
}
.people-table .plate {
  padding: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--paper);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  position: relative;
  box-shadow: 2px 2px 0 #18182025;
  flex-shrink: 0;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.people-table .plate:hover {
  background: var(--paper);
  transform: rotate(-6deg) scale(1.06);
  box-shadow: 3px 3px 0 var(--ink);
}
.people-table .plate:active {
  transform: scale(0.94);
}
.people-table .plate:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.people-table .plate-food {
  width: 78%;
  height: 78%;
  position: relative;
}
@keyframes table-food-arrives {
  from {
    transform: scale(0.55) rotate(-15deg);
  }
  to {
    transform: scale(1) rotate(0);
  }
}
.people-table .plate:before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid #18182070;
  border-radius: 50%;
}
.people-table .cutlery {
  width: 9px;
  height: 45px;
  position: absolute;
  right: 7%;
  top: 30px;
  border-right: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
  border-radius: 50% 50% 0 0;
}
.people-table .place:nth-child(even) .cutlery {
  right: auto;
  left: 7%;
}
.people-table .glass {
  position: absolute;
  top: 3px;
  left: 20%;
  width: 19px;
  height: 19px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: #f5f0e570;
  box-shadow: inset 0 0 0 3px #fa6035;
}
.people-table .place:nth-child(even) .glass {
  left: auto;
  right: 20%;
}
.people-table .table-doodle {
  position: absolute;
  right: -10px;
  z-index: 2;
  top: 37px;
  pointer-events: none;
  font-size: 25px;
  transform: rotate(-12deg);
}
.people-table .vacant .chair {
  background: var(--paper);
  border-style: dashed;
  box-shadow: none;
  transform: rotate(-5deg);
}
.people-table .vacant .chair-name {
  font-size: 12px;
}
.people-table .vacant .chair:hover {
  background: var(--lime);
  border-style: solid;
}
.people-table .speaker-badge {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  padding: 4px 8px;
  background: var(--ink);
  color: var(--lime);
  border: 1px solid var(--paper);
  box-shadow: 2px 2px 0 var(--ink);
  font-size: 11px;
  letter-spacing: 0.03em;
  line-height: 1.1;
  white-space: nowrap;
}

.people-table .chair {
  max-width: 150px;
  min-height: 94px;
  height: auto;
  margin-inline: auto;
}
.people-table .plate {
  cursor: pointer;
}
.people-table .plate-food-arrives {
  animation: table-food-arrives 0.23s ease-out;
}
.people-footer {
  text-align: center;
  padding: 28px 0 42px;
  font-size: 14px;
}
.table-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 900px) {
  .people-heading {
    gap: 24px;
  }
  .people-table .seat-note {
    width: 210px;
    margin-right: 0;
    font-size: 18px;
  }
  .people-table .cutlery {
    right: 0;
  }
  .people-table .place:nth-child(even) .cutlery {
    left: 0;
  }
}
@media (max-width: 640px) {
  .people-table {
    padding: 45px 5% 0;
  }
  .people-heading {
    display: block;
  }
  .people-heading h2 {
    font-size: 38px;
  }
  .people-intro {
    font-size: 15px;
  }
  .people-table .seat-note {
    width: fit-content;
    margin: 28px 8px 24px auto;
    transform: rotate(3deg);
  }
  .people-count {
    margin-top: 30px;
    font-size: 12px;
  }
  .people-table .chair {
    min-height: 72px;
  }
  .people-table .table-head,
  .people-table .table-foot {
    width: 48%;
    font-size: 10px;
  }
  .people-table .table-head {
    padding-inline: 8px;
    min-height: 76px;
  }
  .people-table .table-head span:first-child {
    font-size: 9px;
    letter-spacing: 0.05em;
  }
  .people-table .table-head span:last-child {
    font-size: 10px;
  }
  .people-table .seats-scene:before {
    left: 26%;
    width: 48%;
  }
  .people-table .place {
    min-height: 108px;
    height: auto;
    padding-block: 8px;
  }
  .people-table .chair {
    width: 47%;
    min-height: 72px;
    padding: 5px;
    border-radius: 12px;
  }
  .people-table .chair:before {
    left: 4px;
    width: 4px;
    top: 10px;
    bottom: 10px;
  }
  .people-table .place:nth-child(even) .chair:before {
    right: 4px;
  }
  .people-table .chair-name {
    font-size: 12px;
    padding: 2px 5px;
  }
  .people-table .chair-name.long {
    font-size: 10px;
  }
  .people-table .setting {
    width: 44%;
    margin-left: 8%;
    height: 95px;
  }
  .people-table .place:nth-child(even) .setting {
    margin-right: 8%;
  }
  .people-table .plate {
    width: 44px;
    height: 44px;
  }
  .people-table .plate:before {
    inset: 5px;
  }
  .people-table .speaker-badge {
    font-size: 10px;
    padding: 4px 5px;
  }
  .people-table .glass {
    width: 15px;
    height: 15px;
    top: 7px;
    left: 18%;
  }
  .people-table .cutlery {
    width: 5px;
    height: 29px;
    right: 0;
    top: 34px;
  }
  .people-table .table-doodle {
    display: none;
  }
  .people-table .vacant .chair-name {
    font-size: 10px;
  }
  .people-table .seats-footer {
    font-size: 12px;
  }

  .people-table .dining-room {
    margin-top: 25px;
  }
  .people-footer {
    font-size: 12px;
  }
}
@media (max-width: 370px) {
  .people-heading h2 {
    font-size: 34px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .people-table *,
  .people-table *:before,
  .people-table *:after {
    animation: none !important;
    transition: none !important;
  }
}
