@import url('https://fonts.cdnfonts.com/css/bookerly');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Bookerly", serif;
  background: #f5f0e8;
  color: #1a1a1a;
}

header {
  padding: .5rem;
  background: #ede8df;

}

nav {
  display: flex;
  gap: 2rem;
  justify-content: right;
}

header a {
  font-family: 'Source Code Pro', monospace;
  font-size: .9rem;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: .05em;
  text-transform: uppercase
}

a {
  font-family: 'Bookerly', serif;
  font-size: .9rem;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: .05em;
}

.page {
  background: #f5f0e8;
  max-width: 480px;
  margin: 0 auto;
  padding: 1.25rem 1rem
}

.title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  border-bottom: 2px solid #1a1a1a;
  padding-bottom: .6rem;
  margin-bottom: .5rem;
  letter-spacing: -.01em
}

.tags {
  font-size: .8rem;
  font-family: 'Source Code Pro', monospace;
  color: #555;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1rem
}

.description {
  font-size: .88rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1.1rem;
  font-style: italic;
  border-left: 3px solid #1a1a1a;
  padding-left: .7rem
}

.section-label {
  font-size: .7rem;
  font-family: 'Source Code Pro', monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
  color: #555;
  margin-bottom: .5rem;
  margin-top: 1.1rem
}

.meta-row {
  display: flex;
  gap: 0;
  border: 1px solid #1a1a1a;
  margin-bottom: 1.1rem;
  overflow: hidden;
  border-radius: 3px
}

.meta-cell {
  flex: 1;
  padding: .5rem .4rem;
  text-align: center;
  border-right: 1px solid #1a1a1a;
  font-size: .75rem
}

.meta-cell:last-child {
  border-right: none
}

.meta-cell .val {
  font-size: 1rem;
  font-weight: 600;
  display: block;
  font-family: 'Source Code Pro', monospace
}

.meta-cell .lbl {
  font-size: .62rem;
  font-family: 'Source Code Pro', monospace;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #555;
  margin-top: 2px;
  display: block
}

.ingredient-list {
  list-style: none;
  border: 1px solid #1a1a1a;
  border-radius: 3px;
  overflow: hidden
}

.ingredient-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: .45rem .7rem;
  border-bottom: 1px solid #c8c0b0;
  font-size: .85rem;
  gap: .5rem
}

.ingredient-list li:last-child {
  border-bottom: none
}

.ingredient-list li.odd {
  background: #ede8df
}

.ing-name {
  color: #1a1a1a;
  flex: 1
}

.ing-qty {
  font-family: 'Source Code Pro', monospace;
  font-size: .78rem;
  color: #444;
  text-align: right;
  white-space: nowrap
}

.steps-list {
  list-style: none
}

.step {
  display: flex;
  gap: .75rem;
  margin-bottom: .85rem;
  align-items: flex-start
}

.step-num {
  font-family: 'Source Code Pro', monospace;
  font-size: .72rem;
  font-weight: 500;
  background: #1a1a1a;
  color: #f5f0e8;
  min-width: 1.4rem;
  height: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 2px;
  letter-spacing: .03em
}

.step-text {
  font-size: .85rem;
  line-height: 1.55;
  color: #2a2a2a
}

.step-text strong {
  font-weight: 600
}

.tip-box {
  border: 1px solid #1a1a1a;
  border-radius: 3px;
  padding: .6rem .75rem;
  margin-top: 1rem;
  background: #ede8df
}

.tip-box p {
  font-size: .78rem;
  line-height: 1.5;
  color: #333;
  font-style: italic
}

.tip-box p::before {
  content: "✦ ";
  font-style: normal;
  font-size: .7rem
}

.divider {
  border: none;
  border-top: 1px dashed #999;
  margin: 1rem 0
}

.source {
  margin-top: 1.25rem;
  padding-top: .75rem;
  border-top: 1px dashed #999;
  font-size: .75rem;
  font-family: 'Source Code Pro', monospace;
  color: #555
}

.source a {
  color: #1a1a1a;
  text-decoration: underline;
  font-size: .75rem;

}

.recipe-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  padding: 0;
  margin: 0;
}

.recipe-list a {
  font-size: 1rem;
}

.recipe-list li {
  /* Optional: adds space between rows/columns */
  padding: 5px;
  border: 1px dashed #999;

}