/* Epulae — ivory paper, ink, olive. */
:root {
  --paper: #f6f2ea;
  --ink: #1b1b1b;
  --muted: #7a7670;
  --rule: #e2dcd0;
  --olive: #5b6b4f;
  --clay: #b26e52;   /* "awarded this season" dot */
  --logo-gap: clamp(3.5rem, 8vh, 5.5rem); /* wordmark → first leaf mark, every page */
  --serif: "Cormorant Garamond", "Cormorant Fallback", Garamond, "Times New Roman", serif;
  --sans: Inter, "Inter Fallback", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--paper); }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

/* Masthead ---------------------------------------------------------------- */
.masthead {
  text-align: center;
  padding: clamp(3rem, 9vh, 6rem) 1.5rem 0;
}

.sprig {
  display: block;
  margin: 0 auto;
  width: clamp(72px, 12vw, 104px);
  height: auto;
}
.back { display: block; transition: opacity .2s; }
.back:hover { opacity: .7; }

.wordmark {
  display: block;
  margin: 1.1rem 0 0;
  /* inside .back on every page; keeps h1 spacing identical */
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  letter-spacing: .14em;
  text-transform: none;
  color: var(--ink);
}

/* Tiers ------------------------------------------------------------------- */
main {
  width: 100%;
  max-width: 40rem;
  padding: 0 1.5rem;
}

.tier {
  padding: clamp(2.6rem, 6vh, 4rem) 0;
  text-align: center;
  border-top: 1px solid var(--rule);
}
.tier:first-child { border-top: 0; padding-top: var(--logo-gap); }

.mark {
  margin: 0 0 1.8rem;
  line-height: 1;
  color: var(--olive);
  display: flex;
  justify-content: center;
  gap: .55rem;
}
.mark .leaf {
  width: 1.5rem; height: 1.5rem;
  fill: var(--olive);
}
.mark .leaf.outline {
  fill: none;
  stroke: var(--olive);
  stroke-width: 1.4;
  stroke-linejoin: round;
}
.masthead .mark { margin: var(--logo-gap) 0 0; }
.masthead .mark .leaf { width: 1.8rem; height: 1.8rem; }

/* Lists ------------------------------------------------------------------- */
.list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;   /* wrapped names and dish lines stay centred */
}
.list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .28rem;
  padding: 1.15rem 0;
}
.list .name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.1;
  letter-spacing: .01em;
}
.list .cuisine {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--olive);
}
.list .dishes {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--ink);
  opacity: .8;
  margin-top: .15rem;
  max-width: 28rem;
  line-height: 1.35;
}
.list .season {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: .8;
  margin-top: .1rem;
}
.new {
  display: inline-block;
  width: .3em; height: .3em;
  border-radius: 50%;
  background: var(--clay);
}
.list .new {
  margin-left: .4em;
  margin-right: -.7em;         /* offsets the dot so the name itself stays centred */
  vertical-align: .45em;
}
.legend .new { width: .45rem; height: .45rem; }
.list .place {
  font-size: .82rem;
  color: var(--muted);
  letter-spacing: .02em;
}

.list.full { margin-top: clamp(1.5rem, 5vh, 3rem); }
.list.full li { padding: 1.35rem 0; }

/* See more ---------------------------------------------------------------- */
.more {
  font-family: var(--sans);
  display: inline-block;
  margin-top: 1.6rem;
  padding: .4rem 0 .15rem;
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  transition: color .2s, border-color .2s;
}
.more:hover { color: var(--olive); border-color: var(--olive); }
main > .more { display: block; width: max-content; margin: 3rem auto 0; }

/* About ------------------------------------------------------------------- */
.tagline {
  margin: .9rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--muted);
}
.prose {
  max-width: 34rem;
  padding-top: var(--logo-gap);
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: center;
}
.prose p { margin: 0 0 1.3em; }
.prose h2 {
  margin: 2.2em 0 .8em;
  font-weight: 400;
  font-size: .75rem;
  font-family: var(--sans);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--olive);
}
.prose a { border-bottom: 1px solid var(--rule); transition: border-color .2s; }
.prose a:hover { border-color: var(--olive); }
.prose em { font-style: italic; }
.legend {
  list-style: none;
  margin: 2.8rem auto 0;
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);   /* short rules, both the legend's width */
  width: max-content;
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 1.2rem;
  row-gap: .9rem;
  align-items: center;
}
.legend li { display: contents; }
.legend .mark { margin: 0; justify-content: flex-end; }
.legend .mark .leaf { width: 1.1rem; height: 1.1rem; }
.legend span:last-child {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
}

.notfound { color: var(--muted); font-style: italic; }
.prose > .more { display: block; width: max-content; margin: 2rem auto 0; }

.rule {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  border: 0;
  border-top: 1px solid var(--rule);
}
.foot .preview { color: var(--clay); font-size: .6rem; letter-spacing: .18em; }

/* Footer ------------------------------------------------------------------ */
.foot {
  margin-top: auto;
  padding: 4.5rem 1rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot a { transition: color .2s; }
.foot a:hover { color: var(--olive); }
.foot .copy { font-size: .6rem; letter-spacing: .22em; opacity: .75; }

@media (max-width: 480px) {
  .list .name { font-size: 1.4rem; }
}

