:root {
  --table-sub-ink: var(--ink, #261e19);
  --table-sub-muted: var(--muted, #6b5b53);
  --table-sub-accent: var(--accent, #963c27);
  --table-sub-rule: #d9c9ba;
  --table-sub-cream: #f2e9dc;
  --table-sub-white: #fffaf3;
  --table-sub-dark: #38271f;
  --table-sub-width: min(83rem, calc(100% - clamp(2rem, 9vw, 9.5rem)));
}

.table-page,
.table-board,
.table-contact,
.franchise-sub-completion {
  color: var(--table-sub-ink);
}

.table-page,
.table-board,
.table-contact {
  background: var(--table-sub-white);
}

.table-page-wrap,
.franchise-page-width {
  width: var(--table-sub-width);
  margin-inline: auto;
}

.table-page {
  padding-bottom: clamp(3.1rem, 7vw, 7rem);
}

.table-page-mast {
  padding-block: clamp(2.1rem, 5vw, 5.5rem);
  background: var(--table-sub-cream);
}

.table-page-mast-inner {
  display: grid;
  gap: clamp(1.65rem, 5vw, 5.6rem);
  align-items: center;
}

.table-page-mast--photo .table-page-mast-inner {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
}

.table-page-title {
  max-width: 42rem;
}

.table-page-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: clamp(1.65rem, 3.5vw, 3.35rem);
  color: var(--table-sub-muted);
  font-size: 0.89rem;
}

.table-page-crumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.table-page-eyebrow {
  margin-bottom: 0.55rem;
  color: var(--table-sub-accent);
  font-size: clamp(0.76rem, 1.1vw, 0.96rem);
  font-weight: 760;
  letter-spacing: 0.09em;
}

.table-page-title h1,
.table-page-error h1,
.franchise-sub-completion h1 {
  font-size: clamp(2.55rem, 6vw, 6.2rem);
  font-weight: 690;
  line-height: 1.08;
  letter-spacing: -0.067em;
  text-wrap: balance;
}

.table-page-title h1 + p,
.table-page-error h1 + p {
  max-width: 30em;
  margin-top: clamp(0.9rem, 2.25vw, 1.8rem);
  color: var(--table-sub-muted);
  font-size: clamp(1.04rem, 1.35vw, 1.22rem);
  line-height: 1.75;
}

.table-page-cover {
  overflow: hidden;
  border-radius: 1rem 1rem 42% 1rem / 1rem 1rem 17% 1rem;
  background: #decbb8;
}

.table-page-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.67;
  object-fit: cover;
  object-position: center;
}

.table-page--lunchbox .table-page-mast-inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr);
}

.table-page--lunchbox .table-page-cover {
  border-radius: 50% 50% 1rem 1rem / 13% 13% 1rem 1rem;
}

.table-page--lunchbox .table-page-cover img {
  aspect-ratio: 1.37;
}

.table-page--catering .table-page-mast {
  background: var(--table-sub-dark);
  color: var(--table-sub-white);
}

.table-page--catering .table-page-cover {
  border-radius: 0.3rem;
}

.table-page--catering .table-page-title :is(.table-page-crumbs, h1 + p) {
  color: #f3e6d8;
}

.table-page--catering .table-page-eyebrow {
  color: #edc1a1;
}

.table-page-section,
.table-page-error {
  padding-top: clamp(2.6rem, 7vw, 7.6rem);
}

.table-page h2,
.table-contact h2 {
  font-size: clamp(1.78rem, 3.4vw, 3.65rem);
  font-weight: 690;
  line-height: 1.19;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.table-page h3 {
  font-size: clamp(1.25rem, 1.9vw, 1.85rem);
  font-weight: 680;
  line-height: 1.27;
  letter-spacing: -0.04em;
}

.table-page-section :is(p, dd),
.table-page-callout p {
  color: var(--table-sub-muted);
  font-size: clamp(1rem, 1.34vw, 1.2rem);
  line-height: 1.75;
  word-break: keep-all;
}

.table-page-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 0.65rem clamp(1rem, 5vw, 4.5rem);
  align-items: end;
  margin-bottom: clamp(1.6rem, 4.1vw, 4rem);
}

.table-brand-story {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1.15rem clamp(1.7rem, 8vw, 8rem);
  padding-bottom: clamp(2.8rem, 7vw, 7rem);
}

.table-brand-story p + p {
  margin-top: 0.8rem;
}

.table-brand-practice {
  padding-bottom: clamp(2.55rem, 7vw, 6.5rem);
  background: var(--table-sub-cream);
}

.table-brand-practice ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.9rem, 4vw, 3.4rem);
  margin: clamp(1.65rem, 4vw, 3.8rem) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: kitchen-step;
}

.table-brand-practice li {
  padding-top: 1.05rem;
  border-top: 1px solid var(--table-sub-rule);
  counter-increment: kitchen-step;
}

.table-brand-practice li::before {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--table-sub-accent);
  font-size: 0.84rem;
  font-weight: 750;
  content: counter(kitchen-step, decimal-leading-zero);
}

.table-brand-practice li p {
  margin-top: 0.42rem;
}

.table-page-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(1rem, 4vw, 4rem);
  margin-top: clamp(1.65rem, 4vw, 3.8rem);
}

.table-page-next a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--table-sub-rule);
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  font-weight: 680;
}

.table-page-next a:hover {
  color: var(--table-sub-accent);
}

.table-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.3rem, 2.5vw, 2.55rem);
}

.table-menu-meal {
  min-width: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--table-sub-rule);
  background: var(--table-sub-cream);
}

.table-menu-meal:target {
  outline: 2px solid var(--table-sub-accent);
  outline-offset: 0.18rem;
}

.table-menu-meal img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.07;
  object-fit: cover;
}

.table-menu-meal > div {
  padding: clamp(1rem, 2.1vw, 2rem);
}

.table-menu-meal p {
  margin-top: 0.55rem;
}

.table-menu-meal .table-menu-ingredients {
  margin-top: 0.95rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--table-sub-rule);
  color: var(--table-sub-accent);
  font-size: 0.9rem;
  font-weight: 630;
}

.table-page-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2.5rem;
  margin-top: clamp(2.1rem, 5.2vw, 5rem);
  padding: clamp(1.25rem, 4vw, 3.6rem);
  border-left: 0.18rem solid var(--table-sub-accent);
  background: var(--table-sub-cream);
}

.table-page-callout h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.55rem);
}

.table-page-callout p {
  max-width: 40em;
  margin-top: 0.5rem;
}

.table-page-link,
.franchise-page-button {
  display: inline-flex;
  width: fit-content;
  min-height: 2.8rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.58rem 1rem;
  border: 1px solid transparent;
  border-radius: 100px;
  background: var(--table-sub-accent);
  color: #fff;
  font-size: 0.98rem;
  font-weight: 670;
  text-align: center;
}

.table-page-link:hover,
.franchise-page-button:not(:disabled):hover {
  border-color: var(--table-sub-accent);
  background: var(--table-sub-white);
  color: var(--table-sub-accent);
}

.franchise-page-button {
  cursor: pointer;
}

.franchise-page-button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.table-service dl,
.table-privacy dl {
  border-top: 1px solid var(--table-sub-rule);
}

.table-service dl > div,
.table-privacy dl > div {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: 0.35rem 1.35rem;
  padding-block: clamp(1rem, 2.3vw, 2rem);
  border-bottom: 1px solid var(--table-sub-rule);
}

.table-service dt,
.table-privacy dt {
  font-size: clamp(1.1rem, 1.9vw, 1.75rem);
  font-weight: 700;
  line-height: 1.4;
  word-break: keep-all;
}

.table-order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.6fr);
  gap: 1.6rem clamp(1.7rem, 7vw, 7.5rem);
  align-items: start;
}

.table-order-steps {
  margin: clamp(1.5rem, 4vw, 3.4rem) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: order-step;
}

.table-order-steps li {
  position: relative;
  min-height: 3rem;
  padding: 0 0 clamp(1.3rem, 3vw, 2.4rem) 2.85rem;
  counter-increment: order-step;
}

.table-order-steps li:not(:last-child)::after {
  position: absolute;
  inset: 2rem auto 0 0.98rem;
  width: 1px;
  background: var(--table-sub-rule);
  content: '';
}

.table-order-steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid var(--table-sub-rule);
  border-radius: 50%;
  color: var(--table-sub-accent);
  font-size: 0.73rem;
  font-weight: 750;
  content: counter(order-step, decimal-leading-zero);
}

.table-order-steps p {
  margin-top: 0.45rem;
}

.table-order-brief {
  padding: clamp(1.25rem, 4vw, 3.6rem);
  border-radius: 0.35rem 0.35rem 2.8rem 0.35rem;
  background: var(--table-sub-cream);
}

.table-order-brief h2 {
  font-size: clamp(1.4rem, 2.5vw, 2.35rem);
}

.table-order-brief dl {
  margin-block: 1rem 1.2rem;
}

.table-order-brief dl > div {
  display: grid;
  grid-template-columns: minmax(3.2em, auto) minmax(0, 1fr);
  gap: 0.7rem;
  padding-block: 0.58rem;
  border-bottom: 1px solid var(--table-sub-rule);
}

.table-order-brief dt {
  font-weight: 690;
}

.table-order-brief dd {
  font-size: 0.98rem;
}

.table-questions,
.table-privacy {
  max-width: 58rem;
}

.table-questions details {
  border-top: 1px solid var(--table-sub-rule);
}

.table-questions details:last-of-type {
  border-bottom: 1px solid var(--table-sub-rule);
}

.table-questions summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-block: 0.95rem;
  font-size: clamp(1.05rem, 1.65vw, 1.37rem);
  font-weight: 670;
  cursor: pointer;
  word-break: keep-all;
}

.table-questions summary::-webkit-details-marker {
  display: none;
}

.table-questions summary::after {
  color: var(--table-sub-accent);
  font-size: 1.45em;
  line-height: 1;
  content: '+' / '';
}

.table-questions details[open] summary::after {
  content: '−' / '';
}

.table-questions details p {
  padding: 0 1.8rem 1.05rem 0;
}

.table-questions > a,
.table-privacy dl,
.table-page-error > a {
  margin-top: 1.45rem;
}

.table-contact {
  padding-bottom: clamp(3.1rem, 7vw, 7rem);
}

.table-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(1.5rem, 5vw, 5.25rem);
  align-items: start;
}

.table-contact-guide img {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 0.35rem 0.35rem 3rem 0.35rem;
  aspect-ratio: 1.45;
  object-fit: cover;
}

.table-contact-guide h2 {
  font-size: clamp(1.35rem, 2.35vw, 2.15rem);
}

.table-contact-guide ul {
  margin: 0.65rem 0 1.15rem;
  padding-left: 1.08rem;
  color: var(--table-sub-muted);
  list-style: disc;
}

.franchise-contact-card {
  min-width: 0;
  padding: clamp(1rem, 3vw, 2.55rem);
  border-top: 2px solid var(--table-sub-accent);
  background: var(--table-sub-cream);
}

.franchise-inquiry-form,
.franchise-form-grid {
  display: grid;
  gap: 0.95rem;
}

.franchise-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.franchise-inquiry-form label {
  display: grid;
  gap: 0.32rem;
  min-width: 0;
  font-weight: 650;
}

.franchise-inquiry-form :is(input:not([type='checkbox'], [type='hidden']), select, textarea) {
  width: 100%;
  min-width: 0;
  padding: 0.6rem 0.65rem;
  border: 1px solid var(--table-sub-rule);
  border-radius: 0.25rem;
  background: #fff;
  color: var(--table-sub-ink);
  font: inherit;
  font-weight: 450;
}

.franchise-inquiry-form textarea {
  resize: vertical;
}

.franchise-form-hint {
  margin: -0.38rem 0 0;
  color: var(--table-sub-muted);
  font-size: 0.9rem;
}

.franchise-inquiry-form .franchise-form-consent {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  font-size: 0.94rem;
  font-weight: 490;
}

.franchise-form-consent input {
  margin: 0.25rem 0.22rem 0 0;
  accent-color: var(--table-sub-accent);
}

.franchise-form-consent a {
  color: var(--table-sub-accent);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.franchise-form-captcha {
  min-width: 0;
}

.franchise-form-captcha #captcha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 100%;
}

.franchise-form-captcha #captcha #captcha_key {
  width: min(100%, 5.7rem);
}

.franchise-sub-completion {
  display: grid;
  justify-items: center;
  gap: 1rem;
  max-width: 51rem;
  padding-block: clamp(3.25rem, 11vw, 10rem);
  text-align: center;
}

.franchise-sub-completion-mark {
  display: grid;
  width: 3.55rem;
  height: 3.55rem;
  place-items: center;
  border-radius: 50%;
  background: var(--table-sub-cream);
  color: var(--table-sub-accent);
  font-size: 1.5rem;
  font-weight: 750;
}

.table-board .frame-archive-toolbar {
  margin-bottom: clamp(1.2rem, 2.5vw, 2.25rem);
}

.table-board .table-case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.2rem clamp(0.85rem, 2.25vw, 2.3rem);
}

.table-board .table-case-grid .frame-journal-entry {
  background: var(--table-sub-cream);
  border-bottom-color: var(--table-sub-rule);
}

.table-board .table-case-grid .frame-journal-entry > a {
  padding: 0;
}

.table-board .table-case-grid .frame-journal-copy {
  padding: clamp(0.85rem, 2.1vw, 1.8rem);
}

.table-board .table-case-grid .frame-journal-photo img {
  aspect-ratio: 1.36;
}

.table-board .table-case-grid .frame-journal-entry:first-child {
  grid-row: span 2;
}

.table-board .table-case-grid .frame-journal-entry:not(:first-child) > a:has(.frame-journal-photo) {
  display: grid;
  height: 100%;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.table-board .table-case-grid .frame-journal-entry:not(:first-child) img {
  height: 100%;
}

.table-board .frame-journal-copy h2 {
  font-weight: 685;
  letter-spacing: -0.045em;
}

.table-board .frame-feature-photo img {
  aspect-ratio: 1.92;
}

.table-board .frame-feature-related {
  padding: 0.85rem 1rem 0.25rem;
  background: var(--table-sub-cream);
}

@media (max-width: 760px) {
  .table-page-mast--photo .table-page-mast-inner,
  .table-page--lunchbox .table-page-mast-inner,
  .table-page-section-heading,
  .table-brand-story,
  .table-order,
  .table-contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .table-page-mast {
    padding-block: 1.6rem 2rem;
  }

  .table-page-crumbs {
    margin-bottom: 1.05rem;
  }

  .table-page-cover img,
  .table-page--lunchbox .table-page-cover img {
    aspect-ratio: 1.46;
  }

  .table-brand-practice ol {
    grid-template-columns: minmax(0, 1fr);
  }

  .table-menu-grid,
  .table-board .table-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .table-board .table-case-grid .frame-journal-entry:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .table-board
    .table-case-grid
    .frame-journal-entry:not(:first-child)
    > a:has(.frame-journal-photo) {
    display: block;
    height: auto;
  }

  .table-board .table-case-grid .frame-journal-entry:not(:first-child) img {
    height: auto;
  }

  .table-page-callout {
    flex-wrap: wrap;
    align-items: start;
  }

  .table-order-brief {
    grid-row: 1;
  }
}

@media (max-width: 480px) {
  .table-menu-grid,
  .table-board .table-case-grid,
  .table-service dl > div,
  .table-privacy dl > div,
  .franchise-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .table-page-next {
    grid-template-columns: minmax(0, 1fr);
  }
}
