/* 3rd Wave Cafe: the full menu page. Paper with a seed speckle (chia, sesame, flax), one fruit colour per section,
   sticky section tabs under the bar. Prints as a clean two-column menu (see the print block at the end). */
.pg-menu { --paper: #FBF6EC; background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='%2313302E' fill-opacity='.42'%3E%3Cellipse cx='12' cy='18' rx='1.6' ry='1.1' transform='rotate(30 12 18)'/%3E%3Cellipse cx='64' cy='9' rx='1.4' ry='1' transform='rotate(-20 64 9)'/%3E%3Cellipse cx='98' cy='44' rx='1.6' ry='1.1' transform='rotate(60 98 44)'/%3E%3Cellipse cx='33' cy='71' rx='1.3' ry='.9'/%3E%3Cellipse cx='82' cy='96' rx='1.6' ry='1.1' transform='rotate(-45 82 96)'/%3E%3Cellipse cx='14' cy='104' rx='1.2' ry='.9' transform='rotate(15 14 104)'/%3E%3C/g%3E%3Cg fill='%23D9B77A' fill-opacity='.7'%3E%3Cellipse cx='46' cy='38' rx='2.4' ry='1.3' transform='rotate(40 46 38)'/%3E%3Cellipse cx='108' cy='78' rx='2.4' ry='1.3' transform='rotate(-30 108 78)'/%3E%3Cellipse cx='58' cy='108' rx='2.2' ry='1.2' transform='rotate(75 58 108)'/%3E%3C/g%3E%3C/svg%3E"); }
.pg-menu .top.solid { background: var(--paper); }
.pg-menu .top.solid .ico { background: #fff; }
html:has(.pg-menu) { scroll-padding-top: 128px; }

/* page head */
.mh { padding: calc(92px + env(safe-area-inset-top)) var(--pad) 18px; text-align: center; }
.mh .eyebrow { color: var(--teal-deep); }
.mh h1 { font-size: clamp(56px, 17vw, 120px); line-height: .9; margin: 10px 0 12px; color: var(--ink);
  text-shadow: 0 1px 0 #92CECD, 0 2px 0 #92CECD, 0 3px 0 #92CECD, 0 4px 0 #92CECD, 0 5px 0 #6CB9B8, 0 6px 0 #6CB9B8, 0 14px 20px rgba(19, 48, 46, .2); }
.mh-sub { font-size: 18px; font-weight: 500; max-width: 26em; margin: 0 auto; }
.mh-print { display: none; }

/* sticky tabs: one per section, in that section's fruit colour */
.mtabs { position: sticky; top: calc(64px + env(safe-area-inset-top)); z-index: 30; padding: 10px 0; background: var(--paper); box-shadow: 0 1px 0 rgba(19, 48, 46, .1); }
.mtabs-in { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px var(--pad); scroll-padding-inline: var(--pad); }
.mtabs-in::-webkit-scrollbar { display: none; }
.mt { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 15.5px; white-space: nowrap; color: var(--ink); background: #fff; box-shadow: inset 0 0 0 2px var(--c); transition: background-color .26s var(--ease), color .26s var(--ease); }
.mt::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.mt.on { background: var(--c); color: var(--on, var(--ink)); }
@media (hover: hover) { .mt:not(.on):hover { background: color-mix(in srgb, var(--c) 18%, #fff); } .mc-order:hover { border-bottom-width: 4px; } }
.mt.on::before { background: currentColor; opacity: .55; }
.mt-juice { --c: #9BD65A; } .mt-bowls { --c: #C72F72; --on: #fff; } .mt-crepes { --c: #FFD45C; } .mt-eats { --c: #D63931; --on: #fff; } .mt-coffee { --c: #13302E; --on: #fff; }

/* sections */
.ml { padding: 40px var(--pad) 18px; max-width: 1240px; margin: 0 auto; }
.ml-juice { --h: #4F8A1C; --hs: #2F5E0E; --c: #9BD65A; } .ml-bowls { --h: #C72F72; --c: #C72F72; } .ml-crepes { --h: #B07A0C; --hs: #7A4F00; --c: #FFD45C; }
.ml-eats { --h: #B8322A; --c: #D63931; } .ml-coffee { --h: #13302E; --c: #92CECD; }
.ml-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 16px; padding-bottom: 18px; border-bottom: 3px solid var(--c); }
.ml-ph { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--c), 0 12px 22px -12px rgba(19, 48, 46, .6); }
.ml h2 { font-size: clamp(32px, 9vw, 54px); color: var(--h); }
.ml-script { font-family: var(--script); font-size: 24px; line-height: 1.1; color: var(--ink); transform: rotate(-3deg); transform-origin: left; margin-top: 2px; }
.ml-order { grid-column: 1 / -1; justify-self: start; margin-top: 14px; min-height: 48px; font-size: 17px; max-width: 100%; white-space: normal; text-align: center; line-height: 1.15; padding-block: 8px; }
@media (max-width: 340px) { .ml-ph { width: 56px; height: 56px; } .ml h2 { font-size: 30px; } }
.ml-coffee .ml-order { background: var(--ink); color: #fff; box-shadow: 0 4px 0 #000; }

.mc { padding-top: 22px; }
.mc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.mc h3 { font-size: 24px; color: var(--ink); }
.mc-order { display: inline-flex; align-items: flex-end; min-height: 44px; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--hs, var(--h)); border-bottom: 2px solid currentColor; padding: 0 0 2px; margin: -10px 0 0; }
.mc-note { font-size: 15px; font-weight: 600; color: var(--hs, var(--h)); margin: 4px 0 2px; }
.mi li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1.5px dashed rgba(19, 48, 46, .2); break-inside: avoid; }
.mi b { display: block; font-size: 17.5px; font-weight: 700; }
.mi small { display: block; font-size: 14.5px; line-height: 1.4; color: #3D5755; margin-top: 2px; }
.mi .p { flex: none; font-weight: 700; font-size: 16.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.m-fine { max-width: 1240px; margin: 24px auto 0; padding: 0 var(--pad) calc(var(--wave) + 40px); font-size: 14px; color: #3D5755; text-align: center; }

/* the bottom bar on this page: Order online + Call */
.pg-menu .btn-menu { gap: 8px; }
.pg-menu .btn-menu svg { width: 18px; height: 18px; }

@media (min-width: 768px) {
  .ml-head { grid-template-columns: auto minmax(0, 1fr) auto; }
  .ml-order { grid-column: auto; margin-top: 0; }
  .ml-ph { width: 92px; height: 92px; }
  .mi { columns: 2; column-gap: 44px; }
  .ml-bowls .mi, .ml-coffee .mi { columns: 2; }
}
@media (min-width: 1180px) {
  .mtabs { top: 78px; }
  html:has(.pg-menu) { scroll-padding-top: 146px; }
  .mtabs-in { justify-content: center; }
  .mh { padding-top: 120px; }
  .ml-cats { display: block; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .mtabs { top: calc(56px + env(safe-area-inset-top)); padding: 6px 0; }
  .mt { min-height: 40px; }
  html:has(.pg-menu) { scroll-padding-top: 112px; }
  .mh { padding-top: 76px; }
  .mh h1 { font-size: 64px; }
  .m-fine { padding-bottom: 40px; }
}

/* print: one clean menu, ink on white, two columns, nothing interactive */
@media print {
  @page { margin: 12mm 12mm 14mm; }
  .pg-menu { background: #fff; color: #000; font-size: 10pt; }
  .top, .sheet, .mtabs, .orderbar, .foot, .skip, .ml-order, .mc-order, .sprite { display: none !important; }
  .mh { padding: 0 0 6mm; }
  .mh h1 { font-size: 40pt; text-shadow: none; margin: 2mm 0; }
  .mh-sub { font-size: 11pt; }
  .mh-print { display: block; font-size: 9.5pt; margin-top: 2mm; }
  .ml { padding: 5mm 0 0; max-width: none; break-inside: auto; }
  .ml-head { border-bottom-width: 2pt; padding-bottom: 2mm; break-after: avoid; }
  .ml-ph { width: 14mm; height: 14mm; box-shadow: none; }
  .ml h2 { font-size: 20pt; }
  .ml-script { font-size: 13pt; }
  .mc { padding-top: 3mm; break-inside: avoid-page; }
  .mc h3 { font-size: 12.5pt; }
  .mi { columns: 2; column-gap: 8mm; }
  .mi li { padding: 1.4mm 0; }
  .mi b { font-size: 10pt; } .mi small { font-size: 8.5pt; color: #333; } .mi .p { font-size: 10pt; }
  .m-fine { padding: 4mm 0 0; font-size: 8.5pt; }
  * { box-shadow: none !important; }
}
