:root {
  color-scheme: light;
  --paper: #fffcf7;
  --ink: #291813;
  --muted: #655149;
  --red: #821828;
  --line: #dacbbc;
  --gold: #a57042;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #eee5d9; font: 1rem/1.5 Georgia, 'Times New Roman', serif; }
main { max-width: 50rem; min-height: 100vh; margin: auto; padding: 0 clamp(1.15rem, 6vw, 4.75rem) 2rem; background: var(--paper); }
header { text-align: center; }
header img { display: block; width: min(100%, 27rem); height: auto; margin: auto; mix-blend-mode: multiply; }
h1 { margin: .35rem 0 1rem; font-size: clamp(1.5rem, 6vw, 2.55rem); font-weight: 500; line-height: 1.1; letter-spacing: .08em; }
h1 span { display: block; margin-bottom: .28rem; font-size: .54em; letter-spacing: 0; font-style: italic; color: var(--red); }
details { border-block: 1px solid var(--line); text-align: center; }
summary { display: flex; align-items: center; justify-content: center; gap: .65rem; min-height: 44px; list-style: none; cursor: pointer; color: var(--red); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; width: .42rem; height: .42rem; border-right: 1px solid; border-bottom: 1px solid; transform: translateY(-.14rem) rotate(45deg); }
details[open] summary::after { transform: translateY(.12rem) rotate(225deg); }
nav { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 1rem; padding-bottom: .65rem; text-align: left; }
nav a, .return { color: var(--red); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .2em; }
nav a { display: flex; align-items: center; min-height: 44px; padding: .35rem 0; line-height: 1.3; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
section { padding-top: 1.25rem; scroll-margin-top: 1rem; }
section + section { margin-top: 1.15rem; border-top: 1px solid var(--gold); }
h2 { margin: 0 0 .55rem; font-weight: 400; font-style: italic; font-size: clamp(1.8rem, 7vw, 3.1rem); line-height: 1.08; text-wrap: balance; }
h3 { margin: 0; font-size: clamp(1.08rem, 3vw, 1.3rem); line-height: 1.2; overflow-wrap: anywhere; }
ul { list-style: none; margin: 0; padding: 0; }
.item { padding: .75rem 0; }
.item + .item { border-top: 1px solid var(--line); }
.item-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: .55rem; }
.amount { display: grid; grid-template-columns: auto minmax(3.15rem, auto); gap: .45rem; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.amount span { font-size: .9rem; color: var(--muted); }
strong { color: var(--red); white-space: nowrap; }
.item p, .intro, .note { margin: .35rem 0 0; line-height: 1.4; color: var(--muted); }
.options li { display: flex; justify-content: space-between; gap: .6rem; padding: .23rem 0; line-height: 1.4; }
.note { border-top: 1px solid var(--line); padding-top: .6rem; }
.return { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 55rem) { main { border-inline: 1px solid var(--line); } }
.item-head > div > p { margin-top: .2rem; text-wrap: pretty; }
.item-head > div:has(> p) { min-width: 0; }

/* The index uses the engraved cacao branch from the printed menu. */
details {
  border: 1px solid #6a2030;
  border-radius: .45rem;
  background: #f5e9db;
  overflow: clip;
}
summary {
  position: relative;
  min-height: 48px;
  padding-inline: 1rem;
  background: #642132;
  color: #fff9ed;
  font-size: 1.05rem;
  letter-spacing: .025em;
}
summary:focus-visible { outline-color: #f5cea3; outline-offset: -5px; }
nav {
  gap: .45rem;
  padding: .55rem;
}
nav a {
  isolation: isolate;
  position: relative;
  min-height: 57px;
  overflow: hidden;
  padding: .55rem .7rem;
  border: 1px solid #e0c7b2;
  border-radius: .25rem;
  background: #fff8ef;
  color: #52252a;
  text-decoration: none;
  font-size: clamp(.98rem, 2.8vw, 1.12rem);
  line-height: 1.18;
}
nav a span { text-wrap: pretty; }
nav a::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url(kakao.webp) right -1.3rem top -.65rem / auto 78px no-repeat;
  opacity: .13;
}
nav a:nth-child(2n)::after { opacity: .085; }
nav a:first-child, nav a:last-child { grid-column: 1 / -1; }
nav a:first-child { background: #e9d4bd; border-color: #d9b697; }
nav a:last-child { background: #edd8d7; border-color: #dec0bd; }
nav a:hover, nav a:focus-visible { background: #f3ddca; }
nav a:focus-visible { outline-offset: -3px; }
section h2 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: .65rem .8rem .78rem;
  border-block: 1px solid #e6d4be;
  background: #f8efe2;
  color: #602433;
}
section h2::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url(kakao.webp) right -.35rem top -1.1rem / auto 115px no-repeat;
  opacity: .14;
}
section:nth-of-type(even) h2 { background: #f7e9e6; }
section + section { border-top: 0; margin-top: .7rem; }

@media (max-width: 48rem) {
  main {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    padding-bottom: 1.3rem;
  }
  main:has(> details[open]) > details {
    display: flex;
    flex: 1;
    flex-direction: column;
  }
  details[open] > nav {
    flex: 1;
    grid-auto-rows: minmax(57px, 1fr);
    gap: clamp(.45rem, 1.2svh, .65rem);
  }
  nav a {
    padding-block: .68rem;
    font-size: clamp(1rem, 4.2vw, 1.2rem);
    line-height: 1.24;
  }
  main > section {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding-top: .65rem;
  }
  section .items {
    display: flex;
    flex: 1;
    flex-direction: column;
  }
  section .item {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    justify-content: center;
    padding-block: .85rem;
  }
  .item p, .intro, .note { line-height: 1.5; }
  .return { align-self: flex-start; }
}
