/* Interior pages share a type palette and the rectangular shape of our six-cut tray. */
.cm-in {
  --cm-cream: #f5ede1;
  --cm-blue: #37291f;
  --cm-red: #783e30;
  --cm-dark: #30261f;
  --cm-serif: "Miga Display", Georgia, serif;
  --cm-sans: "Miga Sans", Arial, sans-serif;
  --cm-grand: "Miga Grande", "Miga Sans", Arial, sans-serif;
  --cm-pad: clamp(22px, 5.4vw, 88px);
  font: 400 1rem/1.5 var(--cm-sans);
  color: var(--cm-dark);
  background: var(--cm-cream);
}
.cm-in, .cm-in * { box-sizing: border-box; }
.cm-in :where(h1,h2,p,figure,ul,dl,dd) { margin: 0; }
.cm-in :where(h1,h2) { font-family: var(--cm-serif); font-weight: 400; text-wrap: balance; }
.cm-in :where(h1,h2) em { font: italic 400 1em/1 var(--cm-serif); letter-spacing: inherit; }
.cm-in img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cm-in :where(ul) { padding: 0; list-style: none; }
.cm-in a { color: inherit; }
.cm-in .cm-kicker {
  display: block;
  font: 650 .82rem/1.25 var(--cm-sans);
  letter-spacing: .105em;
  text-transform: uppercase;
}
.cm-in .cm-textlink, .cm-in .cm-back, .cm-in .cm-menu-foot a {
  font-family: var(--cm-grand);
  font-size: .98rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .36em;
  text-decoration-thickness: 1px;
}
.cm-in .cm-textlink:hover, .cm-in .cm-back:hover, .cm-in .cm-menu-foot a:hover { text-decoration-thickness: 2px; }
.cm-in .cm-textlink, .cm-in .cm-back { display: inline-flex; align-items: center; min-height: 44px; }
.cm-in :is(a,button,input,summary):focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }

/* The menu opens as a printed spread. Dish titles remain the selection target. */
.cm-menu { background: var(--cm-blue); color: var(--cm-cream); }
.cm-menu-wrap {
  display: grid;
  grid-template-columns: minmax(220px,.76fr) minmax(0,1.7fr);
  gap: clamp(32px,5.3vw,98px);
  width: min(100%, 1680px);
  margin-inline: auto;
  padding: clamp(40px,6vw,104px) var(--cm-pad) clamp(42px,6vw,100px);
}
.cm-menu-head { display: flex; flex-direction: column; align-items: flex-start; padding-block: .8rem .7rem; }
.cm-in .cm-menu-head h1 {
  margin: clamp(22px,3.4vw,54px) 0 1.3rem;
  font-size: clamp(6.3rem,10.4vw,11.5rem);
  line-height: .78;
  letter-spacing: -.054em;
}
.cm-menu-head h1 em { display: block; }
.cm-menu-head > p { max-width: 30ch; font-size: clamp(1rem,1.15vw,1.25rem); }
.cm-menu-head .cm-menu-foot { margin-top: auto; padding-top: 2.5rem; display: grid; gap: .2rem; font-size: .96rem; }
.cm-menu-foot a { width: fit-content; padding-block: .4rem; }
.cm-menu-list { display: grid; align-content: center; border-block: 4px double currentColor; }
.cm-menu-line + .cm-menu-line { border-top: 1px solid #c2af91; }
.cm-line-link {
  display: grid;
  grid-template-columns: minmax(105px, 29%) minmax(0,1fr) max-content;
  align-items: center;
  gap: clamp(14px,2vw,35px);
  min-height: clamp(140px,12.6vw,212px);
  padding: 14px 2px;
  text-decoration: none;
}
.cm-line-photo {
  width: 100%;
  aspect-ratio: 1.48;
  overflow: hidden;
  background: #d9c49b;
}
.cm-line-photo img { transition: transform .45s cubic-bezier(.2,.7,.3,1); }
.cm-line-link:hover .cm-line-photo img { transform: scale(1.045); }
.cm-line-name .cm-kicker { margin-bottom: .32rem; font-size: .73rem; }
.cm-in .cm-line-name h2 { font-size: clamp(2.1rem,4vw,4.65rem); line-height: .94; letter-spacing: -.042em; }
.cm-line-name p { margin-top: .6rem; font-size: .94rem; }
.cm-line-link:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .1em; }
.cm-line-price { align-self: start; padding-top: .15em; text-align: right; }
.cm-line-price strong, .cm-line-price span { display: block; white-space: nowrap; }
.cm-line-price strong { font: 600 clamp(1rem,1.7vw,1.48rem)/1.2 var(--cm-grand); }
.cm-line-price span { font-size: .85rem; }

/* A menu detail opens like the facing pages of a cookery book. */
.cm-dish { --dish-accent: #783e30; --dish-paper: #f5ede1; }
.cm-dish-hortalizas { --dish-accent: #3e4a31; --dish-paper: #ececda; }
.cm-dish-bizcocho { --dish-accent: #68412d; --dish-paper: #f2e3cb; }
.cm-product-top { display: grid; grid-template-columns: 1.05fr 1fr; background: var(--dish-paper); }
.cm-product-photo { min-width: 0; position: relative; overflow: hidden; min-height: 560px; }
.cm-product-photo img { position: absolute; inset: 0; }
.cm-product-copy { min-width: 0; align-self: center; padding: clamp(30px,4.5vw,78px) clamp(24px,4.8vw,82px); }
.cm-product-copy .cm-back { margin-bottom: clamp(18px,3vw,46px); }
.cm-product-copy .cm-kicker { color: var(--dish-accent); }
.cm-in .cm-product-copy h1 { font-size: clamp(4.3rem,7.8vw,8.7rem); line-height: .80; letter-spacing: -.051em; margin: .22em 0 .21em; color: var(--dish-accent); }
.cm-product-copy h1 em { display: block; }
.cm-product-copy .cm-lede { max-width: 42ch; font-size: clamp(1.01rem,1.25vw,1.26rem); line-height: 1.5; }
.cm-product-facts { display: grid; grid-template-columns: 1fr 1fr; margin-block: 1.7rem 1.2rem; padding-block: .9rem; border-block: 1px solid color-mix(in srgb,var(--dish-accent) 45%,transparent); }
.cm-product-facts dt { font-size: .82rem; font-weight: 550; }
.cm-product-facts dd { font: 400 clamp(1.7rem,2.2vw,2.55rem)/1.1 var(--cm-serif); }
.cm-dish-buy { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .85rem; }
.cm-dish-buy label { display: flex; flex-direction: column; gap: .25rem; font-size: .85rem; font-weight: 600; }
.cm-dish-buy input { width: 5.3rem; height: 48px; padding: 0 .65rem; border: 1px solid var(--dish-accent); border-radius: 0; background: transparent; color: var(--cm-dark); font: 600 1.05rem var(--cm-sans); }
.cm-in .cm-button {
  min-height: 48px; padding: .65rem 1.35rem; border: 1px solid var(--dish-accent); border-radius: 0;
  background: var(--dish-accent); color: #fff8e8; font: 600 .98rem var(--cm-grand); cursor: pointer;
}
.cm-in .cm-button:hover { filter: brightness(.9); }
.cm-in .cm-button:focus-visible { outline-color: var(--dish-accent); }
.cm-ingredients { border-bottom: 1px solid color-mix(in srgb,var(--dish-accent) 45%,transparent); margin-top: 1.2rem; }
.cm-ingredients summary { cursor: pointer; padding: .75rem 0; font-weight: 600; }
.cm-ingredients p { margin: 0 0 .85rem; max-width: 44ch; }
.cm-next-dish { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: clamp(18px,4vw,70px); background: var(--cm-dark); color: var(--cm-cream)!important; padding: clamp(24px,3.4vw,58px) var(--cm-pad); text-decoration: none; }
.cm-next-dish > span:nth-child(2) { font: 400 clamp(2.35rem,4.4vw,5.25rem)/.97 var(--cm-serif); letter-spacing: -.04em; }
.cm-read { font: 600 .96rem var(--cm-grand); text-decoration: underline; text-underline-offset: .4rem; }

/* In the kitchen the story opens on a wall print, then a two-by-three cutting guide. */
.cm-kitchen { background: #2d251c; color: var(--cm-cream); }
.cm-kitchen-intro { max-width: 1750px; margin: 0 auto; padding: clamp(38px,5.2vw,93px) var(--cm-pad) 0; }
.cm-kitchen-type { position: relative; z-index: 1; }
.cm-in .cm-kitchen-type h1 { margin: .16em 0 -.06em; font-size: clamp(5rem,12.3vw,14.25rem); line-height: .76; letter-spacing: -.057em; }
.cm-kitchen-type h1 br { display: none; }
.cm-kitchen-type .cm-kicker { margin-bottom: 1.3rem; }
.cm-work-photo { height: clamp(260px,38vw,660px); background: #493223; margin: 2.15rem 0 0; }
.cm-work-photo img { object-position: 50% 54%; }
.cm-cut-story { display: grid; grid-template-columns: minmax(230px, .8fr) minmax(0,1fr); gap: clamp(32px,8.2vw,140px); align-items: center; width: min(100%, 1330px); padding: clamp(52px,7vw,110px) var(--cm-pad); margin: auto; }
.cm-cut-print { background: #d9bd84; color: #3c2d20; padding: clamp(16px,2.8vw,44px); transform: rotate(-1.25deg); }
.cm-cut-print p { font: 600 .88rem/1.3 var(--cm-grand); text-transform: uppercase; letter-spacing: .06em; }
.cm-cut-print p:last-child { text-align: right; }
.cm-pan { border: 2px solid currentColor; display: grid; grid-template-columns: repeat(3,1fr); margin: .65rem 0; border-radius: 15px; padding: 6px; gap: 5px; aspect-ratio: 1.95; }
.cm-pan i { border: 1.5px dashed currentColor; border-radius: 4px; }
.cm-story-type h2 { font-size: clamp(3.8rem,6.5vw,7.6rem); line-height: .9; letter-spacing: -.055em; margin: .18em 0; }
.cm-story-type p { max-width: 43ch; font-size: clamp(1.03rem,1.34vw,1.25rem); }
.cm-story-type a { margin-top: .75rem; }

/* Catering changes scale from a shared table to practical tray counts. */
.cm-feast-hero { display: grid; grid-template-columns: 1fr 1fr; background: var(--cm-blue); color: var(--cm-cream); }
.cm-feast-copy { padding: clamp(34px,5.4vw,90px) var(--cm-pad); align-self: center; }
.cm-in .cm-feast-copy h1 { font-size: clamp(5rem,8.7vw,10rem); letter-spacing: -.055em; line-height: .82; margin: .23em 0 .18em; }
.cm-feast-copy h1 em { display: block; }
.cm-feast-copy p:not(.cm-kicker) { max-width: 37ch; font-size: clamp(1.05rem,1.34vw,1.25rem); }
.cm-feast-copy a { margin-top: .9rem; }
.cm-feast-photo { min-height: 430px; position: relative; }
.cm-feast-photo img { position: absolute; inset: 0; object-position: 62% 50%; }
.cm-feast-hero::after { content: ""; grid-column: 1 / -1; height: 16px; background-size: 32px 32px; background-image: conic-gradient(var(--cm-red) 25%,var(--cm-cream) 0 50%,var(--cm-red) 0 75%,var(--cm-cream) 0); }
.cm-tables { width: min(100%,1480px); margin: auto; padding: clamp(38px,6vw,90px) var(--cm-pad); scroll-margin-top: 85px; }
.cm-table-head { display: grid; grid-template-columns: 1.3fr minmax(180px,.58fr); gap: 6px 6vw; align-items: end; }
.cm-table-head > .cm-kicker { grid-column: 1/-1; color: var(--cm-red); }
.cm-in .cm-table-head h2 { font-size: clamp(3.8rem,7.35vw,8rem); line-height: .92; letter-spacing: -.054em; }
.cm-table-head > p { max-width: 42ch; }
.cm-table-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-block: 3px double var(--cm-blue); margin: clamp(26px,4vw,55px) 0 0; }
.cm-table-options li + li { border-left: 1px dashed var(--cm-blue); }
.cm-table-options a { display: grid; grid-template-columns: auto 1fr; column-gap: clamp(7px,1vw,20px); align-items: baseline; padding: clamp(14px,2vw,40px); text-decoration: none; color: var(--cm-blue); transition: color .2s,background .2s; }
.cm-table-options a:hover,.cm-table-options a:focus-visible { color: var(--cm-cream); background: var(--cm-blue); }
.cm-table-number { font: 400 clamp(4.2rem,7.9vw,9rem)/.96 var(--cm-serif); letter-spacing: -.06em; }
.cm-table-size { font: italic 400 clamp(1.5rem,2.85vw,3.2rem)/1 var(--cm-serif); }
.cm-table-qty,.cm-table-select { grid-column: 1 / -1; }
.cm-table-qty { font-weight: 600; }
.cm-table-select { justify-self: start; font-size: .92rem; margin-top: .7rem; text-decoration: underline; text-underline-offset: .3rem; }
.cm-delivery-line { display: flex; gap: 1rem 2.5rem; flex-wrap: wrap; padding-top: 1.5rem; }
.cm-delivery-line div { display: grid; }
.cm-delivery-line span { font-size: .96rem; }

@media (max-width: 925px) {
  .cm-menu-wrap { grid-template-columns: minmax(190px,.62fr) minmax(0,1.7fr); gap: 25px; }
  .cm-line-link { grid-template-columns: minmax(86px,22%) minmax(0,1fr) max-content; gap: 10px; min-height: 128px; }
  .cm-line-photo { aspect-ratio: 1.05; }
  .cm-menu-head .cm-menu-foot { padding-top: 1.4rem; }
  .cm-line-name p { font-size: .86rem; }
  .cm-product-copy { padding-inline: 25px; }
  .cm-product-photo { min-height: 480px; }
  .cm-feast-copy { padding-inline: 30px; }
  .cm-table-head { grid-template-columns: 1.25fr .8fr; }
}
@media (max-width: 700px) {
  .cm-menu-wrap { display: block; }
  .cm-menu-head { display: grid; grid-template-columns: 1fr; padding: 0; }
  .cm-in .cm-menu-head h1 { font-size: clamp(5.2rem,17vw,7rem); margin: .2em 0 .16em; }
  .cm-menu-head h1 em { display: inline; }
  .cm-menu-head > p { max-width: 40ch; }
  .cm-menu-head .cm-menu-foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px .8rem; padding-top: .55rem; font-size: .83rem; }
  .cm-menu-list { margin-top: 1.4rem; }
  .cm-line-link { grid-template-columns: 24% minmax(0,1fr) max-content; }
  .cm-line-name .cm-kicker { font-size: .7rem; }
  .cm-in .cm-line-name h2 { font-size: clamp(1.9rem,7.2vw,3.2rem); }
  .cm-line-price { padding-top: 0; align-self: center; }
  .cm-product-top { display: flex; flex-direction: column; }
  .cm-product-photo { min-height: unset;height: clamp(224px,59vw,415px); }
  .cm-product-copy { align-self: stretch; padding: 13px var(--cm-pad) 26px; }
  .cm-product-copy .cm-back { margin: 0 0 8px; font-size: .86rem; }
  .cm-in .cm-product-copy h1 { font-size: clamp(3.9rem,14vw,6.3rem); margin-block: .16em .19em; }
  .cm-product-copy h1 em { display: inline; }
  .cm-product-copy .cm-lede { font-size: 1rem; }
  .cm-product-facts { margin-block: 1.1rem; }
  .cm-next-dish { grid-template-columns: 1fr auto; gap: 7px 14px; }
  .cm-next-dish > .cm-kicker { grid-column: 1/-1; }
  .cm-next-dish > span:nth-child(2) { font-size: clamp(2rem,7.5vw,3rem); }
  .cm-read { font-size: .84rem; }
  .cm-kitchen-type h1 br { display: initial; }
  .cm-in .cm-kitchen-type h1 { font-size: clamp(5.2rem,19vw,8rem); }
  .cm-kitchen-type .cm-kicker { margin-bottom: 1.1rem; }
  .cm-work-photo { margin-top: 1.45rem; height: clamp(240px,68vw,390px); }
  .cm-cut-story { grid-template-columns: 1fr; gap: 32px; }
  .cm-cut-print { max-width: 340px; width: 83%; margin-inline: auto; }
  .cm-in .cm-story-type h2 { font-size: clamp(3.55rem,12vw,5.1rem); }
  .cm-feast-hero { grid-template-columns: 1fr; }
  .cm-feast-copy { padding: 32px var(--cm-pad) 20px; }
  .cm-in .cm-feast-copy h1 { font-size: clamp(4.7rem,15vw,7.4rem); }
  .cm-feast-copy h1 em { display: inline; }
  .cm-feast-photo { min-height: 0; height: clamp(208px,48vw,350px); }
  .cm-table-head { display: block; }
  .cm-in .cm-table-head h2 { margin-block: .16em .2em; font-size: clamp(3.8rem,12vw,5rem); }
  .cm-table-options { display: block; }
  .cm-table-options li + li { border: 0; border-top: 1px dashed var(--cm-blue); }
  .cm-table-options a { grid-template-columns: minmax(45px,.26fr) minmax(60px,.4fr) 1fr; gap: 0 .7rem; align-items: baseline; padding: .78rem 3px; }
  .cm-table-number { font-size: clamp(3.1rem,9.3vw,4.6rem); }
  .cm-table-size { font-size: clamp(1.6rem,5vw,2rem); }
  .cm-table-qty { justify-self: end; grid-column: auto; font-size: .87rem; white-space: nowrap; }
  .cm-table-select { grid-column: 2/-1; margin-top: .3rem; font-size: .83rem; }
}
@media (max-width: 365px) {
  .cm-in { --cm-pad: 17px; }
  .cm-line-link { grid-template-columns: 21% minmax(0,1fr) max-content; gap: 7px; }
  .cm-line-price strong { font-size: .9rem; }
  .cm-line-price span, .cm-line-name p { font-size: .77rem; }
  .cm-in .cm-line-name h2 { font-size: 1.72rem; }
  .cm-in .cm-menu-head h1 { font-size: 4.8rem; }
  .cm-dish-buy { gap: .5rem; }
  .cm-dish-buy .cm-button { padding: .58rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cm-line-photo img,.cm-table-options a { transition: none; }
  .cm-line-link:hover .cm-line-photo img { transform: none; }
}

/* The menu is a printed linen spread with fine brass rules and wine section heads. */
.cm-menu { color: #37291f; background: #f5ede1; }
.cm-menu .cm-kicker, .cm-menu-foot a, .cm-menu-head h1 em { color: #783e30; }
.cm-menu-list { border-color: #99794f; }
.cm-menu-line + .cm-menu-line { border-top-color: #c2af91; }
.cm-line-price strong { color: #653a27; }
.cm-menu .cm-line-name p, .cm-menu .cm-line-price span { color: #57483a; }
.cm-menu .cm-line-link:hover h2 { color: #783e30; }
.cm-feast-hero { background: #783e30; color: #fcf2e2; }
.cm-feast-hero::after {
  height: 7px;
  background: linear-gradient(to bottom, #937958 0 1px, #e8dac5 1px 4px, #ae9270 4px 5px, #e8dac5 5px);
}
