.chef-notes-page {
  padding-block: var(--space-6) var(--space-8);
}

.chef-notes-page .chef-notes-section + .chef-notes-section {
  margin-top: var(--space-7);
}

.chef-notes-page .cell-grid > .cell:not(:first-child) {
  margin-top: 0;
}

.chef-notes-page .cell-grid > .cell,
.chef-notes-page .chef-notes-image-group,
.chef-notes-page .chef-notes-thesis-grid,
.chef-notes-page .chef-notes-flavour-cells,
.chef-notes-page .chef-notes-room-aside {
  min-width: 0;
}

.chef-notes-page .cell {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-4);
}

.chef-notes-page .cell--tagged {
  padding-top: calc(var(--cell-padding) + var(--space-4));
}

.chef-notes-page .cell--compact.cell--tagged {
  padding-top: calc(var(--cell-padding-compact) + var(--space-4));
}

.chef-notes-page .cell h1,
.chef-notes-page .cell h2,
.chef-notes-page .cell h3,
.chef-notes-page .cell p,
.chef-notes-page .cell ol {
  margin: 0;
}

.chef-notes-page .technical-label {
  color: var(--color-muted-ink);
}

.chef-notes-hero-grid {
  grid-template-columns: minmax(0, 2fr) minmax(15.625rem, 1fr);
}

.chef-notes-hero-copy {
  grid-column: 1;
  border-right: 0;
  padding: var(--space-8) var(--cell-padding);
}

.chef-notes-hero-copy .display-title {
  max-width: 15ch;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
}

.chef-notes-hero-copy .lead {
  max-width: 54ch;
}

.chef-notes-index {
  grid-column: 2;
  justify-content: flex-start;
  padding: var(--space-8) var(--cell-padding);
}

.chef-notes-index ol {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  padding: 0;
  list-style: none;
}

.chef-notes-index li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  min-width: 0;
  padding-block: var(--space-3);
  border-top: 1px solid var(--color-ink);
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
}

.chef-notes-index li:first-child {
  border-top: 3px solid var(--color-signal-yellow);
}

.chef-notes-index__number {
  color: var(--color-muted-ink);
  font-family: var(--font-body);
  font-size: var(--text-label);
  letter-spacing: 0.08em;
}

.chef-notes-start-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

.chef-notes-start-intro {
  grid-column: 1;
  border-right: 0;
}

.chef-notes-start-intro p {
  max-width: 38ch;
}

.chef-notes-thesis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-column: 2;
}

.chef-notes-thesis {
  grid-column: auto;
  border-right: 0;
}

.chef-notes-thesis:last-child {
  border-right: 1px solid var(--color-ink);
}

.chef-notes-thesis p {
  max-width: 40ch;
}

.chef-notes-thesis--accented::after {
  width: 100%;
  height: 2px;
  margin-top: auto;
  background: var(--color-signal-yellow);
  content: "";
}

.chef-notes-process-grid {
  grid-template-columns: minmax(26.875rem, 7fr) minmax(18.75rem, 5fr);
}

.chef-notes-image-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-column: 1;
}

.chef-notes-figure {
  grid-column: 1;
  padding: 0;
  border-bottom: 0;
}

.chef-notes-figure .aspect-4x3 {
  width: 100%;
}

.chef-notes-figure img {
  width: 100%;
  max-width: 100%;
  object-position: center;
}

.chef-notes-caption {
  grid-column: 1;
  padding: var(--cell-padding-compact);
}

.chef-notes-caption p {
  max-width: 100%;
  color: var(--color-muted-ink);
  font-size: var(--text-meta);
}

.chef-notes-detail-copy {
  grid-column: 2;
  border-left: 0;
}

.chef-notes-detail-copy p {
  max-width: 50ch;
}

.chef-notes-flavour-grid {
  grid-template-columns: minmax(0, 1fr);
}

.chef-notes-flavour-heading {
  grid-column: 1;
}

.chef-notes-flavour-heading h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 2.5rem);
}

.chef-notes-flavour-cells {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-column: 1;
}

.chef-notes-flavour-cell {
  grid-column: auto;
  border-top: 0;
  border-right: 0;
}

.chef-notes-flavour-cell:last-child {
  border-right: 1px solid var(--color-ink);
}

.chef-notes-flavour-cell p {
  max-width: 36ch;
}

.chef-notes-flavour-cell--signal .technical-label {
  color: var(--color-ink);
}

.chef-notes-flavour-cell--signal::before {
  position: absolute;
  top: var(--tag-offset);
  right: var(--tag-offset);
  width: 2rem;
  height: 2px;
  background: var(--color-signal-yellow);
  content: "";
}

.chef-notes-room-grid {
  grid-template-columns: minmax(0, 2fr) minmax(17.5rem, 1fr);
}

.chef-notes-room-main {
  grid-column: 1;
  border-right: 0;
}

.chef-notes-room-main p {
  max-width: 54ch;
}

.chef-notes-room-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-column: 2;
}

.chef-notes-room-side,
.chef-notes-poker-note {
  grid-column: 1;
  border-bottom: 0;
}

.chef-notes-poker-note {
  border-bottom: 1px solid var(--color-ink);
}

.chef-notes-room-side p,
.chef-notes-poker-note p {
  max-width: 34ch;
}

.chef-notes-text-link,
.chef-notes-contact-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  border-bottom: 3px solid var(--color-signal-yellow);
  font-size: var(--text-label);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.chef-notes-product-grid {
  grid-template-columns: minmax(17.5rem, 5fr) minmax(26.875rem, 7fr);
}

.chef-notes-credo {
  grid-column: 1;
  border-right: 0;
}

.chef-notes-credo h2 {
  max-width: 12ch;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
}

.chef-notes-credo p {
  max-width: 29ch;
}

.chef-notes-product-grid .chef-notes-image-group {
  grid-column: 2;
}

.chef-notes-menu-grid {
  grid-template-columns: minmax(0, 3fr) minmax(13.75rem, 1fr);
}

.chef-notes-menu-copy {
  grid-column: 1;
  border-right: 0;
}

.chef-notes-menu-copy p {
  max-width: 52ch;
}

.chef-notes-menu-action {
  grid-column: 2;
  align-items: stretch;
  justify-content: center;
}

.chef-notes-menu-action .button {
  width: 100%;
}

.chef-notes-visit-grid {
  grid-template-columns: minmax(0, 7fr) minmax(18.75rem, 5fr);
}

.chef-notes-visit-copy {
  grid-column: 1;
  border-right: 0;
}

.chef-notes-visit-copy p {
  max-width: 36ch;
  font-size: var(--text-lead);
  line-height: 1.45;
}

.chef-notes-visit-action {
  grid-column: 2;
  align-items: flex-start;
  justify-content: flex-end;
}

.chef-notes-contact-link {
  min-height: 3rem;
}

.chef-notes-editorial-note {
  width: 100%;
  padding: var(--cell-padding-compact);
}

.chef-notes-editorial-note p {
  max-width: 78ch;
  color: var(--color-muted-ink);
  font-size: var(--text-meta);
  line-height: 1.5;
}

.chef-notes-editorial-note a {
  color: var(--color-ink);
}

@media (max-width: 1039px) {
  .chef-notes-start-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .chef-notes-start-intro {
    grid-column: 1;
    border-right: 1px solid var(--color-ink);
    border-bottom: 0;
  }

  .chef-notes-thesis-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-column: 1;
  }

  .chef-notes-thesis {
    border-top: 0;
  }

  .chef-notes-thesis:nth-child(2) {
    border-right: 1px solid var(--color-ink);
  }

  .chef-notes-thesis:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 0;
    border-right: 1px solid var(--color-ink);
  }

  .chef-notes-flavour-cells {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chef-notes-flavour-cell {
    border-top: 0;
  }

  .chef-notes-flavour-cell:nth-child(2),
  .chef-notes-flavour-cell:nth-child(4) {
    border-right: 1px solid var(--color-ink);
  }
}

@media (max-width: 899px) {
  .chef-notes-page {
    padding-block: var(--space-5) var(--space-7);
  }

  .chef-notes-page .chef-notes-section + .chef-notes-section {
    margin-top: var(--space-6);
  }

  .chef-notes-page .cell--tagged,
  .chef-notes-page .cell--compact.cell--tagged {
    padding-top: calc(var(--cell-padding-mobile) + var(--space-4));
  }

  .chef-notes-process-grid,
  .chef-notes-room-grid,
  .chef-notes-product-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .chef-notes-detail-copy,
  .chef-notes-room-main,
  .chef-notes-credo,
  .chef-notes-product-grid .chef-notes-image-group,
  .chef-notes-image-group,
  .chef-notes-room-aside {
    grid-column: 1;
  }

  .chef-notes-detail-copy {
    grid-row: 1;
    border-right: 1px solid var(--color-ink);
    border-left: 1px solid var(--color-ink);
    border-bottom: 0;
  }

  .chef-notes-process-grid > .chef-notes-image-group {
    grid-row: 2;
  }

  .chef-notes-room-main,
  .chef-notes-credo {
    border-right: 1px solid var(--color-ink);
    border-bottom: 0;
  }

  .chef-notes-room-aside {
    border: 0;
  }

  .chef-notes-product-grid .chef-notes-image-group {
    border: 0;
  }

  .chef-notes-room-side,
  .chef-notes-poker-note {
    border-right: 1px solid var(--color-ink);
  }

  .chef-notes-room-side {
    border-top: 0;
  }

  .chef-notes-poker-note {
    border-top: 0;
  }
}

@media (max-width: 759px) {
  .chef-notes-hero-grid,
  .chef-notes-menu-grid,
  .chef-notes-visit-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .chef-notes-hero-copy,
  .chef-notes-index,
  .chef-notes-menu-copy,
  .chef-notes-menu-action,
  .chef-notes-visit-copy,
  .chef-notes-visit-action {
    grid-column: 1;
  }

  .chef-notes-hero-copy,
  .chef-notes-menu-copy,
  .chef-notes-visit-copy {
    border-right: 1px solid var(--color-ink);
    border-bottom: 0;
  }

  .chef-notes-hero-copy {
    padding: var(--space-6) var(--cell-padding-mobile);
  }

  .chef-notes-hero-copy .display-title {
    max-width: 13ch;
    font-size: clamp(2.5rem, 11vw, 4rem);
  }

  .chef-notes-hero-copy .lead {
    max-width: 56ch;
    font-size: clamp(1.125rem, 4.5vw, 1.25rem);
  }

  .chef-notes-index {
    padding: var(--space-6) var(--cell-padding-mobile);
  }

  .chef-notes-index ol {
    grid-template-columns: repeat(2, minmax(8.125rem, 1fr));
  }

  .chef-notes-menu-action,
  .chef-notes-visit-action {
    align-items: stretch;
    justify-content: center;
  }

  .chef-notes-contact-link {
    width: 100%;
  }
}

@media (max-width: 699px) {
  .chef-notes-thesis-grid,
  .chef-notes-flavour-cells {
    grid-template-columns: minmax(0, 1fr);
  }

  .chef-notes-thesis,
  .chef-notes-thesis:nth-child(2),
  .chef-notes-thesis:nth-child(3),
  .chef-notes-flavour-cell,
  .chef-notes-flavour-cell:nth-child(2),
  .chef-notes-flavour-cell:nth-child(4) {
    grid-column: 1;
    border-right: 1px solid var(--color-ink);
    border-top: 0;
  }

  .chef-notes-flavour-heading h2 {
    font-size: clamp(1.875rem, 9vw, 2.125rem);
  }
}

@media (max-width: 479px) {
  .chef-notes-index ol {
    grid-template-columns: minmax(0, 1fr);
  }

  .chef-notes-page .cell {
    gap: var(--space-3);
  }

  .chef-notes-visit-copy p {
    font-size: 1rem;
    line-height: var(--line-body);
  }
}
