/* Hallmark · custom · Saffron Yard · spice merchant’s lattice, damson and apricot */
/* Critique: A courtyard arch holds the image and a shared-feast calculator holds the offer. */
@font-face {
  font-family: "DMSER";
  src: url("./fonts/dm-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DMS";
  src: url("./fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
:root {
  --paper: #3c1624;
  --ink: #fff1d8;
  --line: #a96868;
  --focus: #ffc373;
  --cta: #ffbf80;
  --cta-ink: #391b24;
  --display: "DMSER", Georgia, serif;
  --body: "DMS", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-block-start: 1.5rem;
}
html,
body {
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
ul,
dl,
dd,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: var(--heading-weight, 400);
  line-height: 1;
  min-width: 0;
  overflow-wrap: break-word;
}
h1,
h2 {
  text-wrap: balance;
}
p {
  max-width: 65ch;
  text-wrap: pretty;
}
a {
  color: inherit;
  text-underline-offset: 0.22em;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  background: none;
}
img {
  display: block;
  max-width: 100%;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.skip {
  position: absolute;
  z-index: 3;
  left: 1rem;
  top: -7rem;
  background: var(--paper);
  color: var(--ink);
  padding: 0.65rem 1rem;
}
.skip:focus {
  top: 0.5rem;
}
.wrap {
  width: min(91%, 81rem);
  margin-inline: auto;
}
.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.4rem;
}
.site-head nav {
  display: flex;
  gap: clamp(0.7rem, 2.1vw, 2.4rem);
  align-items: center;
  flex-wrap: wrap;
}
.site-head nav a {
  text-decoration: none;
  font-size: 0.9rem;
}
.site-head nav a:hover {
  text-decoration: underline;
}
.wordmark {
  color: inherit;
  font-family: var(--display);
  text-decoration: none;
  line-height: 1;
}
.site-foot {
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
  margin-top: 0;
}
.site-foot .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.site-foot p {
  font-size: 0.83rem;
}
.site-foot a {
  white-space: nowrap;
}
.jump,
.action {
  display: inline-flex;
  min-height: 2.8rem;
  padding: 0.65rem 1.15rem;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border: 1px solid currentColor;
  color: var(--cta-ink);
  background: var(--cta);
  font-weight: 650;
}
.jump:hover,
.action:hover {
  text-decoration: underline;
  text-underline-offset: 0.24em;
}
.detail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section {
  padding-block: clamp(3.4rem, 7vw, 7.5rem);
}
.section h2 {
  font-size: clamp(2.8rem, 5.5vw, 5.4rem);
  margin-bottom: 1rem;
}
.section h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
}
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
  margin: 1rem 0 1.2rem;
}
.choices button,
.stepper button {
  padding: 0.55rem 0.9rem;
  min-height: 2.75rem;
  border: 1px solid currentColor;
}
.choices button[aria-pressed="true"],
.stepper button:hover {
  background: var(--cta);
  color: var(--cta-ink);
}
form,
fieldset {
  min-width: 0;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
legend,
label {
  font-weight: 650;
}
select {
  min-height: 2.75rem;
  max-width: 100%;
  padding: 0.55rem 2.2rem 0.55rem 0.75rem;
  border: 1px solid currentColor;
  background: var(--control, var(--paper));
  border-radius: 0;
}
.stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.stepper button {
  min-width: 2.75rem;
  padding-inline: 0.5rem;
}
.stepper button:disabled {
  background: var(--paper);
  color: var(--line);
  border-color: var(--line);
  cursor: not-allowed;
}
.stepper output {
  font-variant-numeric: tabular-nums;
  min-width: 1.25rem;
  text-align: center;
}
.note {
  font-size: 0.82rem;
  line-height: 1.45;
}
.section p + p {
  margin-top: 0.75rem;
}
@media (max-width: 640px) {
  .site-head {
    min-height: 4.25rem;
    gap: 0.8rem;
  }
  .site-head nav {
    gap: 0.8rem;
  }
  .site-head nav a {
    font-size: 0.825rem;
  }
  .site-foot .wrap {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

:root {
  --peach: #ffbf80;
  --cherry: #3c1624;
  --rose: #713642;
  --light: #fff1d8;
  --olive: #325141;
}
.site-head {
  border-bottom: 1px solid var(--line);
}
.wordmark {
  letter-spacing: -0.055em;
  font-size: 1.9rem;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: min(42rem, 74svh);
}
.hero-photo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(1.6rem, 4vw, 3.7rem);
  background-color: var(--rose);
  background-image:
    repeating-linear-gradient(
      55deg,
      transparent 0 24px,
      var(--line) 25px,
      transparent 26px 45px
    ),
    repeating-linear-gradient(
      -55deg,
      transparent 0 24px,
      var(--line) 25px,
      transparent 26px 45px
    );
}
.hero-photo img {
  width: 100%;
  height: clamp(22rem, 36vw, 35rem);
  object-fit: cover;
  border: 5px solid var(--peach);
  border-radius: 48% 48% 2rem 2rem;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(2rem, 5vw, 5rem);
}
.hero h1 {
  font-size: clamp(4.5rem, 8.2vw, 8.2rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--peach);
}
.hero p {
  font-size: 1.13rem;
  margin: 1.3rem 0;
  max-width: 32ch;
}
.jump {
  border-radius: 2rem;
}
.feasts {
  color: var(--cherry);
  background: var(--light);
}
.feasts .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 8%;
}
.feasts h2,
.visit h2 {
  letter-spacing: -0.05em;
}
.feasts .wrap > div:first-child p {
  max-width: 35ch;
}
.feast-menu {
  border-block: 1px solid var(--rose);
  padding-block: 1.1rem;
}
.feast-menu label {
  display: grid;
  gap: 0.4rem;
}
.feast-menu select {
  color: var(--cherry);
  background: var(--light);
  margin-bottom: 1.2rem;
}
.feast-menu .choices button[aria-pressed="true"] {
  background: var(--cherry);
  color: var(--light);
}
.feast-menu .choices button {
  border-radius: 2rem;
}
.feast-menu h3 {
  margin-bottom: 0.5rem;
}
.feast-menu .result {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.visit {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 8%;
}
.visit img {
  height: clamp(16rem, 25vw, 23rem);
  border-radius: 0;
}
.visit address {
  font-style: normal;
  color: var(--peach);
  margin-top: 1rem;
}
@media (max-width: 720px) {
  .hero,
  .feasts .wrap,
  .visit {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }
  .hero {
    gap: 0;
  }
  .hero-copy {
    grid-row: 1;
    padding: 2rem 4.5% 2.2rem;
  }
  .hero h1 {
    font-size: clamp(3.8rem, 13vw, 6rem);
  }
  .hero-photo {
    padding: 1.2rem 9%;
  }
  .hero-photo img {
    height: 58vw;
    min-height: 14rem;
    max-height: 26rem;
  }
  .hero h1 br {
    display: none;
  }
  .hero {
    min-height: auto;
  }
}

button,
a {
  touch-action: manipulation;
}
button:enabled:active,
.jump:active {
  transform: translateY(1px);
}
.choices button:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

:where(img) {
  height: auto;
}

.chapter {
  padding-block: clamp(3.5rem, 7.5vw, 7.5rem);
}
.chapter .chapter-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.chapter-intro h2 {
  font-size: clamp(3rem, 5.5vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  margin: 0 0 1.15rem;
}
.chapter-intro > p {
  max-width: 39ch;
}
.chapter-tool {
  min-width: 0;
}
.chapter-tool h3 {
  font-size: clamp(1.65rem, 3.1vw, 3rem);
  margin-bottom: 0.6rem;
}
.chapter-tool h4 {
  font-size: 1.12rem;
  line-height: 1.2;
  margin: 0 0 0.35rem;
}
.chapter-tool .small {
  font-size: 0.88rem;
}
.chapter-tool button,
.chapter-tool input,
.chapter-tool select {
  max-width: 100%;
}
.chapter-tool .work-button {
  min-height: 2.85rem;
  padding: 0.65rem 1rem;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}
.chapter-tool .work-button:hover {
  text-decoration: underline;
}
.chapter-tool .work-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.chapter-tool .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-block: 1rem;
}
.chapter-link {
  display: inline-block;
  font-size: 0.95rem;
  text-underline-offset: 0.3em;
  padding: 0.7rem 0.4rem;
  margin-left: 0.6rem;
}
.chapter-intro details {
  border-block-start: 1px solid currentColor;
  margin-top: 1.3rem;
  padding-block: 0.8rem;
}
.chapter-intro summary {
  cursor: pointer;
  font-weight: 650;
  min-height: 2.3rem;
}
.chapter-intro details p {
  max-width: 40ch;
}
@media (max-width: 730px) {
  .chapter .chapter-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
  }
  .chapter-link {
    margin-left: 0.15rem;
  }
  .chapter-intro h2 {
    max-width: 16ch;
  }
}

.kitchen-pass-chapter {
  background: #5d2b38;
  color: var(--light);
}
.pass-card {
  background: var(--light);
  color: var(--cherry);
  border-radius: 0;
  overflow: hidden;
}
.place-setting {
  padding: 1.35rem;
  background: #f7be88;
  text-align: center;
}
.place-setting > p {
  max-width: none;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}
.place-setting ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  align-items: center;
}

.place-setting > div {
  font-size: 0.86rem;
}
.side-pass {
  padding: clamp(1rem, 2vw, 1.8rem);
}
.side-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.side-line b,
.side-line span,
.side-line small {
  display: block;
}
.side-line span,
.side-line small {
  font-size: 0.83rem;
}
.side-line .stepper {
  gap: 0.38rem;
}
.side-line .stepper button {
  border-radius: 50%;
  border-color: var(--cherry);
  color: var(--cherry);
  background: var(--light);
}
.side-line .stepper button:disabled {
  color: #81685e;
  border-color: #a58a77;
}
.table-cost {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem;
  margin: 1rem 0;
}
.table-cost strong {
  font-size: 1.35rem;
}
@media (max-width: 390px) {
  .side-line {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}
@media (min-width: 880px) {
  .kitchen-pass-chapter .chapter-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .kitchen-pass-chapter .chapter-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
    column-gap: 7%;
    align-items: start;
  }
  .kitchen-pass-chapter .chapter-intro h2 {
    grid-row: span 2;
  }
  .kitchen-pass-chapter .chapter-intro details {
    grid-column: 2;
    margin-top: 0.75rem;
  }
  .pass-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
  .place-setting {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
  }
  .place-setting ul {
    width: min(100%, 26rem);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
  }
}

.site-head nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* Ingredient photographs are credited individually in the handover. */
.place-setting .pantry {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(0.35rem, 1.2vw, 1rem);
  padding: 0;
  margin: 0.6rem 0 1.25rem;
}
.pantry li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--cherry);
}
.pantry li::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--ingredient) center/cover;
  border-radius: 0;
  border: 2px solid var(--light);
  margin-bottom: 0.5rem;
}
.pantry small {
  font-size: 0.74rem;
  line-height: 1.35;
}
.pantry strong {
  font-size: clamp(0.84rem, 1.45vw, 1.15rem);
  line-height: 1.18;
  overflow-wrap: break-word;
  margin-top: 0.2rem;
}
.place-setting .pantry-intro {
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-top: 1.1rem;
}
.pantry [data-ingredient="Aubergines"] {
  --ingredient: url("./aubergines.webp");
}
.pantry [data-ingredient="Green cardamom"] {
  --ingredient: url("./green-cardamom.webp");
}
.pantry [data-ingredient="Tamarind pods"] {
  --ingredient: url("./tamarind-pods.webp");
}
.pantry [data-ingredient="Spinach"] {
  --ingredient: url("./spinach.webp");
}
.pantry [data-ingredient="Cauliflower"] {
  --ingredient: url("./cauliflower.webp");
}
.pantry [data-ingredient="Green chillies"] {
  --ingredient: url("./green-chillies.webp");
}
.pantry [data-ingredient="Mustard seeds"] {
  --ingredient: url("./mustard-seeds.webp");
}

/* Printed supper cloth */
.cloth-house {
  width: min(1320px, 94%);
  margin: 2.5rem auto 4rem;
}
.cloth-caption {
  display: grid;
  grid-template-columns: 1fr minmax(14rem, 23rem);
  align-items: end;
  gap: 0.3rem 3rem;
  margin-bottom: 1.3rem;
}
.cloth-caption h1 {
  font-size: clamp(3.7rem, 8vw, 9rem);
  grid-row: span 2;
  line-height: 0.92;
}
.cloth-caption p {
  color: #f9d8c3;
}
.cloth-caption a {
  font-weight: 700;
}
.cloth-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.7rem, 3vw, 3rem);
  padding: clamp(0.7rem, 3.4vw, 3.5rem);
  background-color: #a74736;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent 0 25px,
      #e78c62 25px 28px,
      transparent 28px 33px,
      #4d2533 33px 38px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0 45px,
      #713040 45px 48px,
      transparent 48px 51px,
      #de8156 51px 54px
    );
  border-block: 7px double #ffc78d;
}
.cloth-table figure {
  margin: 0;
  min-width: 0;
  align-self: stretch;
  border: 5px solid #472432;
}
.cloth-table figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 425px;
  object-fit: cover;
}
.cloth-menu {
  color: #412129;
  background: #fff0c9;
  padding: clamp(1rem, 2vw, 2.2rem);
  box-shadow: 5px 5px 0 #452735;
}
.cloth-folds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.cloth-folds :is(button, .front-key) {
  font: 700 0.83rem var(--body);
  padding: 0.52rem 0.65rem;
  border: 1px solid #794732;
  border-radius: 0;
  background: transparent;
  color: #4c231e;
  cursor: pointer;
}
.cloth-folds :is(button, .front-key):is([aria-pressed="true"], [data-default]) {
  background: #592331;
  color: #fff3d9;
}
.cloth-setting {
  border-block: 3px double #8f493f;
  margin-top: 1rem;
  padding: 0.65rem 0;
}
.cloth-setting header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
}
.cloth-setting header strong {
  font: 2.3rem var(--display);
  order: -1;
}
.cloth-setting header span,
.cloth-setting dd {
  font-size: 0.82rem;
}
.cloth-setting dl {
  margin: 0.6rem 0;
}
.cloth-setting dl div {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  border-top: 1px dotted #975647;
  padding: 0.45rem 0;
  gap: 0.6rem;
}
.cloth-setting dd {
  border-left: 1px solid #9e715d;
  padding-left: 0.6rem;
}
.cloth-setting a {
  font-weight: 700;
}
.cloth-folds button:focus-visible {
  outline: 3px solid #25121c;
  outline-offset: 2px;
}
@media (max-width: 750px) {
  .cloth-caption,
  .cloth-table {
    grid-template-columns: 1fr;
  }
  .cloth-caption h1 {
    grid-row: auto;
  }
  .cloth-caption p {
    margin-top: 0.6rem;
  }
  .cloth-house {
    margin: 1.6rem auto 2rem;
  }
  .cloth-table figure {
    height: clamp(145px, 43vw, 275px);
  }
  .cloth-menu {
    box-shadow: none;
  }
  .cloth-setting header strong {
    font-size: 1.8rem;
  }
}

.cloth-caption {
  grid-template-columns: clamp(60px, 8vw, 120px) 1fr minmax(14rem, 22rem);
}

@media (max-width: 750px) {
  .cloth-caption {
    display: grid;
    grid-template-columns: 1fr 58px;
  }

  .cloth-caption h1 {
    grid-column: 1;
    font-size: clamp(3rem, 10vw, 5rem);
  }
  .cloth-caption p {
    grid-column: 1/-1;
  }
  .cloth-caption a {
    grid-column: 1/-1;
  }
}

.kitchen-folio {
  width: min(1240px, 92%);
  margin: 2rem auto 4rem;
}
.folio-opening {
  display: grid;
  grid-template-columns: minmax(70px, 16%) 1fr;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;
}

.folio-opening h1 {
  font-size: clamp(3.7rem, 8vw, 8.5rem);
  margin: 0.3rem 0 0.6rem;
  line-height: 0.9;
}
.folio-opening p:first-child {
  font-size: 0.85rem;
  font-weight: bold;
}
.folio-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-block: 3px double #c78568;
  padding: 0.6rem 0;
  margin: 1rem 0;
}
.folio-tabs a,
.folio-serving a {
  font-weight: bold;
}
.folio-menus {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff0cd;
  color: #42212b;
  border: 7px solid #b45e45;
}
.folio-menus section {
  padding: clamp(0.8rem, 2vw, 2rem);
  border-left: 1px dashed #985c4e;
  scroll-margin: 1rem;
}
.folio-menus section:first-child {
  border: 0;
}
.folio-menus header {
  border-bottom: 3px double #8f5a4e;
  padding-bottom: 0.45rem;
}
.folio-menus h2 {
  font-size: clamp(2.15rem, 3.25vw, 3.75rem);
}
.folio-menus dt {
  font-weight: bold;
  margin: 0.75rem 0 0.2rem;
}
.folio-menus dd {
  font-size: 0.95rem;
  line-height: 1.42;
}
.folio-serving {
  margin-top: 1.3rem;
}
.folio-serving h2 {
  font-size: clamp(1.9rem, 3vw, 3.2rem);
}
.folio-serving p {
  margin: 0.5rem 0;
}
@media (max-width: 720px) {
  .folio-opening {
    grid-template-columns: 58px 1fr;
  }

  .folio-opening h1 {
    font-size: clamp(2.7rem, 9.5vw, 5rem);
  }
  .folio-menus {
    grid-template-columns: 1fr;
  }
  .folio-menus section + section {
    border-left: 0;
    border-top: 1px dashed #985c4e;
  }
  .folio-tabs {
    gap: 1rem;
  }
}

.place-setting {
  border-inline-start: 0.6rem solid transparent;
  border-image: repeating-linear-gradient(35deg, #713a43 0 3px, #efc293 3px 6px)
    8;
}
.place-setting .pantry li::before {
  aspect-ratio: 1;
  box-shadow: 1px 2px 0 #9e614d;
}
.stepper button,
.side-line .stepper button {
  border-radius: 0;
}

/* The printed panel is available before the interactive controls load. */
#front-panel [data-front-preview] .front-key {
  cursor: default;
}
#front-panel [data-front-preview] a.front-key {
  cursor: pointer;
}
:where(.front-key, .front-value) {
  display: inline-block;
  box-sizing: border-box;
  font: inherit;
  line-height: inherit;
  text-align: center;
}

.cloth-caption {
  grid-template-columns: minmax(0, 1.3fr) minmax(13rem, 0.7fr);
}
.folio-opening {
  display: block;
}
.folio-opening > div {
  max-width: 59rem;
}
@media (max-width: 750px) {
  .cloth-caption {
    grid-template-columns: 1fr;
  }
  .cloth-caption h1,
  .cloth-caption p,
  .cloth-caption a {
    grid-column: auto;
  }
}
