@layer components {

  /* ---------- ticker ---------- */
  .ticker { transform: rotate(-1.6deg); margin: clamp(28px, 4vw, 52px) -20px 0; box-shadow: 0 12px 30px rgba(239, 169, 23, .25); }

  /* ---------- 2. weekdays / weekend ---------- */
  .week__title { max-width: 17ch; }
  .week__cards {
    display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 28px);
    margin-top: clamp(40px, 6vw, 88px);
  }
  .mood { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; }
  .mood--week { background: var(--velvet); color: var(--paper); }
  .mood--weekend { background: var(--sun); color: var(--ink); }
  .mood__photo { margin: 10px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: calc(var(--radius) - 8px); }
  .mood__photo picture, .mood__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
  .mood:hover .mood__photo img { transform: scale(1.03); }
  .mood__body { display: grid; justify-items: start; gap: 18px; padding: 14px clamp(20px, 3vw, 44px) clamp(28px, 3.4vw, 48px); }
  .mood__body h3 { font-size: clamp(1.85rem, 1.2rem + 1.6vw, 2.75rem); letter-spacing: -.035em; }
  .mood__body > p:not(.chip) { max-width: 46ch; }
  .mood--week .mood__body > p:not(.chip) { color: rgba(255, 249, 232, .88); }
  @media (max-width: 860px) { .week__cards { grid-template-columns: 1fr; } }

  /* ---------- 3. dishes (horizontal) ---------- */
  .dishes { padding-top: 0; }
  .dishes__pin { display: flex; flex-direction: column; justify-content: center; gap: clamp(32px, 4vw, 56px); padding-block: 48px; }
  .dishes__head { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 24px 64px; }
  .dishes__head h2 { max-width: 15ch; }
  .dishes__viewport {
    --edge: max(var(--gutter), calc((100vw - var(--max)) / 2));
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .dishes__viewport::-webkit-scrollbar { display: none; }
  .dishes__track {
    display: flex; gap: clamp(14px, 1.6vw, 24px); width: max-content;
    padding-inline: var(--edge);
  }
  .dish { position: relative; width: clamp(272px, 30vw, 440px); scroll-snap-align: start; }
  .dish__photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--cream); }
  .dish__photo picture, .dish__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
  .dish:hover .dish__photo img { transform: scale(1.03); }
  .dish__body h3 { margin-top: 20px; font-size: var(--fs-h3); }
  .dish__body p { margin-top: 8px; color: var(--ink-soft); font-size: var(--fs-small); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .dish--more a {
    display: flex; flex-direction: column; justify-content: space-between;
    aspect-ratio: 4 / 5; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius);
    background: var(--velvet); color: var(--cream); text-decoration: none;
  }
  .dish__more-title { font: 800 clamp(1.85rem, 1.2rem + 1.6vw, 2.75rem)/.92 var(--display); letter-spacing: -.035em; }
  .dish__more-arrow {
    display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
    background: var(--sun); color: var(--ink); transition: transform .6s var(--spring);
  }
  .dish__more-arrow svg { width: 32px; height: 32px; }
  .dish--more a:hover .dish__more-arrow { transform: rotate(-45deg) scale(1.08); }
  /* pinned by motion.js on large screens: the page scroll moves the track */
  .dishes { overflow-x: clip; }
  .is-pinned .dishes__viewport { overflow: visible; }
  .is-pinned .dishes__pin { height: 100svh; padding-block: clamp(88px, 11svh, 120px) 40px; gap: clamp(24px, 4svh, 48px); }
  .is-pinned .dishes__head h2 { max-width: 18ch; }
  .is-pinned .dish { width: clamp(280px, 25vw, 380px); }
  .is-pinned .dish__photo { aspect-ratio: auto; height: clamp(240px, calc(100svh - 500px), 500px); }
  .is-pinned .dish--more a { aspect-ratio: auto; height: clamp(240px, calc(100svh - 500px), 500px); }
  @media (max-width: 860px) { .dishes__head { grid-template-columns: 1fr; } }

  /* ---------- 4. café and bar: centred head, three equal columns, one quiet foot line ---------- */
  .drinks { margin-inline: var(--frame-gap); border-radius: var(--radius); background: var(--mint); }
  .drinks__head { display: grid; justify-items: center; text-align: center; }
  .drinks__head h2 { max-width: 16ch; }
  .drinks__head .lead { margin-top: 20px; max-width: 54ch; }
  .drinks__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(36px, 4.5vw, 64px); }
  .drinks__card { display: flex; flex-direction: column; padding: clamp(22px, 2.2vw, 32px); border-radius: calc(var(--radius) - 6px); background: var(--paper); }
  .drinks__card h3 { padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
  .drinks__list li { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; font-size: var(--fs-small); border-bottom: 1px solid var(--line); }
  .drinks__list li:last-child { border-bottom: 0; padding-bottom: 0; }
  /* dotted leader between the name and the price, like a menu board */
  .drinks__list li::after { content: ""; order: 1; flex: 1; border-bottom: 1.5px dotted rgba(34, 22, 11, .3); translate: 0 -4px; }
  .drinks__price { order: 2; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .drinks__foot { display: grid; justify-items: center; gap: 22px; margin-top: clamp(32px, 4vw, 52px); text-align: center; }
  .drinks__foot p { display: inline-flex; align-items: center; gap: 10px; max-width: none; font-size: var(--fs-small); color: var(--ink-soft); }
  .drinks__foot svg { flex: none; width: 20px; height: 20px; color: var(--velvet); }
  .drinks__more { align-self: flex-start; margin-top: auto; padding-top: 18px; font-size: var(--fs-small); font-weight: 600; }
  @media (max-width: 1180px) { .drinks__grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 860px) { .drinks__grid { grid-template-columns: 1fr; } .drinks__foot p { display: block; } .drinks__foot svg { display: inline; vertical-align: -4px; margin-right: 6px; } }

  /* ---------- 5. reviews ---------- */
  .reviews h2 { max-width: 16ch; }
  .reviews__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); margin-top: clamp(40px, 5vw, 72px); }
  .review { padding: clamp(24px, 2.6vw, 36px); border-radius: var(--radius); background: var(--cream); }
  .review:nth-child(1) { rotate: -1.6deg; }
  .review:nth-child(2) { rotate: 1.2deg; translate: 0 28px; background: var(--butter); }
  .review:nth-child(3) { rotate: -.6deg; }
  .review__stars { display: flex; gap: 4px; color: var(--brown); }
  .review__stars svg { width: 22px; height: 22px; }
  .review blockquote p { margin-top: 18px; font: 500 clamp(1.125rem, 1rem + .35vw, 1.3rem)/1.4 var(--display); letter-spacing: -.01em; }
  .review__author { margin-top: 18px; font-size: var(--fs-small); display: flex; flex-wrap: wrap; gap: 4px 12px; }
  .review__translated { flex-basis: 100%; color: var(--ink-soft); font-style: italic; }
  .review--pending { background: transparent; box-shadow: inset 0 0 0 2px var(--line); }
  .review--pending blockquote p { color: var(--ink-soft); }
  @media (max-width: 860px) {
    .reviews__list { grid-template-columns: 1fr; }
    .review:nth-child(2) { translate: none; }
  }

  /* ---------- 6. visit ---------- */
  .visit__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); margin-top: clamp(32px, 4vw, 64px); align-items: start; }
  .visit__photo { aspect-ratio: 16 / 11; border-radius: var(--radius); overflow: hidden; }
  .visit__photo picture, .visit__photo img { width: 100%; height: 100%; object-fit: cover; }
  .visit__facts { display: grid; gap: 36px; }
  .visit__facts h3 { display: flex; align-items: center; gap: 10px; font-size: var(--fs-h3); margin-bottom: 12px; }
  .visit__facts h3 svg { width: 22px; height: 22px; color: var(--brown); }
  .visit__facts p + p { margin-top: 8px; }
  .hours { list-style: none; padding: 0; }
  .hours li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .hours li span:last-child { text-align: right; white-space: nowrap; }
  .hours__brunch { font-weight: 600; }
  @media (max-width: 860px) {
    .visit__grid { grid-template-columns: 1fr; }
  }

  /* ---------- 8. final ---------- */
  .final__inner { display: grid; justify-items: center; text-align: center; gap: 24px; }
  .final__logo .logo { --h: clamp(220px, 24vw, 340px); }
  .final h2 { max-width: 14ch; }
  .final .lead { max-width: 40ch; }
}
