/* The Vibes Cafe & Lounge Bar: demo by Fable. Two colours from their own plates: egg-yolk yellow and the dark green of the garden. */
:root {
  --ground: #fff0b3;
  --pale: #fff7d6;
  --yolk: #ffcb2e;
  --ink: #15241b;
  --ink-soft: #33443a;
  --on-dark: #fff0b3;
  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --text: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-small: clamp(1rem, 0.96rem + 0.14vw, 1.125rem);
  --t-body: clamp(1.0625rem, 0.98rem + 0.3vw, 1.25rem);
  --t-lead: clamp(1.25rem, 1.05rem + 0.75vw, 1.75rem);
  --t-h3: clamp(1.4rem, 1.15rem + 0.9vw, 2.1rem);
  --t-h2: clamp(2.4rem, 1.5rem + 4.2vw, 5.75rem);
  --s-1: clamp(0.5rem, 0.4rem + 0.4vw, 0.875rem);
  --s-2: clamp(1rem, 0.8rem + 0.8vw, 1.75rem);
  --s-3: clamp(1.5rem, 1.1rem + 1.8vw, 3rem);
  --s-4: clamp(2.5rem, 1.6rem + 3.6vw, 5.5rem);
  --s-sec: clamp(3.5rem, 2rem + 6vw, 7.5rem);
  --edge: clamp(1rem, 0.4rem + 2.6vw, 3.5rem);
  --max: 1680px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--text); font-size: var(--t-body); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; line-height: 0.95; text-wrap: balance; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -0.02em; line-height: 1.05; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--yolk); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--on-dark); padding: 0.75rem 1rem; z-index: 50; }
.skip:focus { left: 0; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--edge); }

/* buttons: plain rectangles */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0.7rem 1.5rem; background: var(--ink); color: var(--on-dark); font-family: var(--display); font-weight: 700; font-size: var(--t-body); letter-spacing: -0.01em; text-decoration: none; border: 0; cursor: pointer; transition: transform 0.18s var(--ease), background-color 0.18s; }
.btn:active { transform: translateY(2px); }
.btn.yolk { background: var(--yolk); color: var(--ink); }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 3px var(--ink); }
.dark .btn.line { color: var(--on-dark); box-shadow: inset 0 0 0 3px var(--on-dark); }
@media (hover: hover) { .btn:hover { background: #26392d; } .btn.yolk:hover { background: #ffd95a; } .btn.line:hover { background: rgba(21, 36, 27, 0.08); } .dark .btn.line:hover { background: rgba(255, 240, 179, 0.12); } }
.tlink { font-weight: 600; text-decoration-thickness: 0.14em; text-underline-offset: 0.2em; display: inline-flex; align-items: center; min-height: 2.75rem; }

/* header */
.top { position: relative; z-index: 5; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); padding-block: clamp(0.75rem, 0.5rem + 0.8vw, 1.5rem); }
.brand { display: inline-flex; align-items: center; gap: 0.85rem; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: var(--t-lead); letter-spacing: -0.03em; line-height: 1; min-height: 2.75rem; }
.brand img { width: clamp(3.25rem, 2.6rem + 1.6vw, 4.5rem); aspect-ratio: 308 / 316; object-fit: contain; background: #fff; padding: 0.25rem; }
.nav { display: flex; align-items: center; gap: clamp(0.5rem, 0.2rem + 1.4vw, 2.25rem); }
.nav a:not(.btn) { font-weight: 600; font-size: var(--t-body); text-decoration: none; display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: 0.35rem; }
@media (hover: hover) { .nav a:not(.btn):hover { text-decoration: underline; text-decoration-thickness: 0.14em; text-underline-offset: 0.25em; } }
.nav .btn { min-height: 2.9rem; padding-inline: 1.1rem; }
@media (max-width: 760px) { .nav a.wide, .nav .btn .wide { display: none; } .brand span { display: none; } }

/* hero */
.hero .wrap { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--s-3); align-items: center; padding-top: var(--s-2); padding-bottom: var(--s-sec); }
.hero-text { grid-column: 1 / span 6; container-type: inline-size; }
.hero h1 { font-size: clamp(4rem, 25cqi, 15rem); line-height: 0.82; letter-spacing: -0.055em; }
.hero h1 small { display: block; font-size: 0.31em; letter-spacing: -0.035em; line-height: 1; margin-top: 0.45em; }
.hero-say { font-size: var(--t-lead); line-height: 1.3; max-width: 30ch; margin-top: var(--s-3); font-weight: 500; }
.hero-go { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-2); margin-top: var(--s-3); }
.hero-facts { margin-top: var(--s-2); font-size: var(--t-small); max-width: 44ch; }
.hero-pic { grid-column: 7 / span 6; justify-self: end; width: min(100%, 78vh); }
.hero-pic img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (min-width: 761px) and (max-width: 1100px) { .hero-text { grid-column: 1 / span 7; } }
@media (max-width: 760px) {
  .hero .wrap { display: flex; flex-direction: column; align-items: stretch; padding-top: var(--s-1); }
  .hero-text { display: contents; }
  .hero h1 { order: 1; font-size: clamp(4rem, 22vw, 10rem); }
  .hero-pic { order: 2; width: auto; margin: var(--s-2) calc(var(--edge) * -1) 0; }
  .hero-say { order: 3; } .hero-go { order: 4; } .hero-facts { order: 5; }
  .hero-say { margin-top: var(--s-2); max-width: none; }
  .hero-go { margin-top: var(--s-2); }
  .hero-go .btn { flex: 1 1 auto; }
}

/* breakfast: two prints at uneven sizes */
.bfast .wrap { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--s-3); row-gap: var(--s-3); padding-bottom: var(--s-sec); align-items: start; }
.bfast .big { grid-column: 1 / span 6; grid-row: 1 / span 2; }
.bfast .words { grid-column: 8 / span 5; align-self: end; }
.bfast .words p { font-size: var(--t-lead); line-height: 1.3; margin-top: var(--s-2); max-width: 24ch; font-weight: 500; }
.bfast .words .tlink { margin-top: var(--s-1); font-size: var(--t-body); }
.bfast .small { grid-column: 8 / span 4; }
.bfast img, .fresh img, .place img { width: 100%; object-fit: cover; }
.sq { aspect-ratio: 1; }
@media (max-width: 760px) {
  .bfast .wrap { display: flex; flex-direction: column; align-items: stretch; }
  .bfast .words { order: -1; margin-bottom: var(--s-3); }
  .bfast .small { margin-top: var(--s-3); }
  .bfast .big { margin-inline: calc(var(--edge) * -1); }
  .bfast .small { width: 72%; margin-left: auto; }
}

/* a taste of the menu (dark field) */
.dark { background: var(--ink); color: var(--on-dark); }
.taste .wrap { padding-block: var(--s-sec); }
.taste-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-2) var(--s-4); }
.taste-head p { max-width: 34ch; font-size: var(--t-body); }
.tabs { display: flex; flex-wrap: wrap; gap: 0.25rem clamp(1rem, 0.4rem + 2vw, 2.75rem); margin-top: var(--s-3); }
.tabs button { appearance: none; background: none; border: 0; padding: 0.4rem 0 0.55rem; min-height: 3rem; color: inherit; font-family: var(--display); font-weight: 700; font-size: var(--t-h3); letter-spacing: -0.02em; cursor: pointer; opacity: 0.55; box-shadow: inset 0 -0.3rem 0 transparent; transition: opacity 0.2s, box-shadow 0.2s; }
.tabs button[aria-selected="true"] { opacity: 1; box-shadow: inset 0 -0.3rem 0 var(--yolk); }
@media (hover: hover) { .tabs button:hover { opacity: 1; } }
.panel { margin-top: var(--s-3); }
.panel[hidden] { display: none; }
.panel-note { font-size: var(--t-body); max-width: 70ch; margin-bottom: var(--s-2); color: var(--yolk); font-weight: 500; }
.panel h3 { margin-bottom: var(--s-2); }
.js .panel h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.dishes { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: var(--s-4); }
.dishes li { display: grid; grid-template-columns: 1fr auto; column-gap: var(--s-2); align-items: baseline; padding-block: clamp(0.8rem, 0.6rem + 0.7vw, 1.4rem); }
.dishes .n { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 1.1rem + 1.9vw, 3.1rem); letter-spacing: -0.035em; line-height: 1; }
.dishes .p { font-family: var(--display); font-weight: 700; font-size: var(--t-h3); letter-spacing: -0.02em; color: var(--yolk); font-variant-numeric: tabular-nums; }
.dishes .d { grid-column: 1 / -1; font-size: var(--t-body); margin-top: 0.4rem; max-width: 52ch; opacity: 0.92; }
.js .panel.show .dishes li { animation: rise 0.5s var(--ease) both; animation-delay: calc(var(--i) * 45ms); }
.taste-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin-top: var(--s-3); }
.taste-foot p { font-size: var(--t-body); max-width: 46ch; }
@media (max-width: 900px) { .dishes { grid-template-columns: 1fr; } }

/* fresh: landscape print + portrait print */
.fresh .wrap { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--s-3); row-gap: var(--s-3); padding-block: var(--s-sec); align-items: end; }
.fresh h2 { grid-column: 1 / -1; }
.fresh .land { grid-column: 1 / span 7; }
.fresh .land img { aspect-ratio: 1440 / 1165; }
.fresh .port { grid-column: 9 / span 4; }
.fresh .side { margin-top: var(--s-2); font-size: var(--t-body); }
.fresh .port img { aspect-ratio: 1600 / 1748; }
@media (max-width: 760px) {
  .fresh .wrap { display: block; }
  .fresh .land { margin-inline: calc(var(--edge) * -1); }
  .fresh .port { width: 78%; margin-top: var(--s-3); }
}

/* the place: garden + inside */
.place { background: var(--pale); }
.place .wrap { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--s-3); row-gap: var(--s-4); padding-block: var(--s-sec); align-items: center; }
.place .g-pic { grid-column: 1 / span 5; }
.place .g-pic img { aspect-ratio: 4 / 5; }
.place .g-text { grid-column: 7 / span 6; }
.place .i-text { grid-column: 2 / span 5; }
.place .i-pic { grid-column: 8 / span 4; }
.place .i-pic img { aspect-ratio: 1440 / 1918; }
.place p { margin-top: var(--s-2); max-width: 46ch; }
.place p.lead { font-size: var(--t-lead); line-height: 1.3; font-weight: 500; max-width: 30ch; }
@media (max-width: 760px) {
  .place .wrap { display: block; }
  .place .g-pic { margin-inline: calc(var(--edge) * -1); }
  .place .g-text { margin-block: var(--s-3) var(--s-4); }
  .place .i-pic { width: 78%; margin: var(--s-3) 0 0 auto; }
}

/* celebrate + vouchers (yolk field) */
.party { background: var(--yolk); }
.party .wrap { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--s-3); row-gap: var(--s-3); padding-block: var(--s-sec); align-items: start; }
.party .a { grid-column: 1 / span 6; }
.party .b { grid-column: 8 / span 5; }
.party p { margin-top: var(--s-2); max-width: 50ch; }
.party p.lead { font-size: var(--t-lead); line-height: 1.35; font-weight: 500; max-width: 36ch; }
.party .btn { margin-top: var(--s-2); }
@media (max-width: 900px) { .party .wrap { display: block; } .party .b { margin-top: var(--s-4); } }

/* find us */
.find .wrap { padding-block: var(--s-sec); }
.find-grid { display: grid; grid-template-columns: 4fr 3.5fr 3.5fr; column-gap: var(--s-4); row-gap: var(--s-3); margin-top: var(--s-3); align-items: start; }
.find h3 { color: var(--yolk); margin-bottom: var(--s-1); }
.find address { font-style: normal; font-family: var(--display); font-weight: 700; font-size: var(--t-h3); letter-spacing: -0.02em; line-height: 1.15; }
.find .phone { white-space: nowrap; font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 1.2rem + 1.8vw, 3.25rem); letter-spacing: -0.035em; line-height: 1; text-decoration: none; display: inline-flex; align-items: center; min-height: 3rem; }
.hours { width: 100%; border-collapse: collapse; font-size: var(--t-lead); font-variant-numeric: tabular-nums; }
.hours th { text-align: left; font-weight: 500; padding: 0.3rem 1.5rem 0.3rem 0; }
.hours td { font-weight: 700; padding-block: 0.3rem; white-space: nowrap; }
.find .links { display: grid; gap: 0.15rem; margin-top: var(--s-1); }
.find .links a { font-size: var(--t-body); }
.find .walk { margin-top: var(--s-2); max-width: 36ch; }
@media (max-width: 1000px) { .find-grid { grid-template-columns: 1fr 1fr; } .find-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .find-grid { grid-template-columns: 1fr; } }

/* footer */
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2); padding-block: var(--s-3); }
.foot p { font-size: var(--t-small); }
.foot .who { display: flex; align-items: center; gap: var(--s-2); }
.foot img { width: clamp(4.5rem, 3.5rem + 2.5vw, 6.5rem); aspect-ratio: 308 / 316; object-fit: contain; background: #fff; padding: 0.3rem; flex: none; }

/* reveal: slide up + fade, once; a 2.5s fallback so nothing can stay hidden */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes settle { to { opacity: 1; transform: none; } }
.js .rv { opacity: 0; transform: translateY(22px); animation: settle 0.01s linear 2.5s forwards; }
.js .rv.in { animation: rise 0.7s var(--ease) both; animation-delay: calc(var(--d, 0) * 80ms); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv, .js .rv.in, .js .panel.show .dishes li { opacity: 1; transform: none; animation: none; }
  .btn { transition: none; }
}

/* ---------- menu page ---------- */
.mhead .wrap { padding-block: var(--s-2) var(--s-3); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--s-3); row-gap: var(--s-2); align-items: end; }
.mhead h1 { grid-column: 1 / span 5; font-size: clamp(4rem, 2rem + 9vw, 11rem); line-height: 0.85; letter-spacing: -0.055em; }
.mhead .tools { grid-column: 6 / span 7; }
.mhead label { display: block; font-weight: 600; margin-bottom: 0.4rem; }
.search { width: 100%; min-height: 3.5rem; padding: 0.6rem 1rem; border: 3px solid var(--ink); background: #fff; color: var(--ink); font: inherit; font-size: var(--t-lead); border-radius: 0; }
.search::placeholder { color: #5c6a61; }
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.9rem; align-items: center; }
.filters button { appearance: none; border: 0; background: transparent; box-shadow: inset 0 0 0 3px var(--ink); color: var(--ink); font: inherit; font-weight: 600; min-height: 2.9rem; padding: 0.4rem 1rem; cursor: pointer; border-radius: 0; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); }
.count { font-size: var(--t-small); margin-left: auto; }
.mbody .wrap { display: grid; grid-template-columns: minmax(13rem, 17rem) 1fr; column-gap: var(--s-4); padding-bottom: var(--s-sec); align-items: start; }
.cats { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow-y: auto; padding-right: 0.5rem; }
.cats a { display: flex; align-items: center; min-height: 2.75rem; padding: 0.2rem 0.75rem; text-decoration: none; font-weight: 600; font-size: var(--t-small); }
.cats a.on { background: var(--ink); color: var(--on-dark); }
@media (hover: hover) { .cats a:not(.on):hover { background: var(--yolk); } }
@media (min-width: 861px) and (pointer: fine) { .cats a { min-height: 2.15rem; } }
.msec { padding-bottom: var(--s-4); scroll-margin-top: 1rem; }
.msec h2 { font-size: clamp(2.2rem, 1.5rem + 3vw, 4.5rem); }
.msec .note { margin-top: var(--s-1); max-width: 70ch; font-weight: 500; }
.msec h3 { margin-top: var(--s-3); }
.items { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: var(--s-4); margin-top: var(--s-2); }
.items li { display: grid; grid-template-columns: 1fr auto; column-gap: var(--s-2); align-items: baseline; padding-block: 0.7rem; break-inside: avoid; }
.items .n { font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.55rem); letter-spacing: -0.02em; line-height: 1.15; }
abbr { text-decoration: none; }
.dishes .tag { font-family: var(--text); font-size: 0.5em; font-weight: 700; letter-spacing: 0; margin-left: 0.3em; }
.items .tag { font-family: var(--text); font-size: 0.8em; font-weight: 700; letter-spacing: 0; margin-left: 0.35em; white-space: nowrap; }
.items .p { font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.55rem); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.items .p small { font-family: var(--text); font-size: 0.68em; font-weight: 500; }
.items .d { grid-column: 1 / -1; margin-top: 0.2rem; font-size: var(--t-body); max-width: 56ch; color: var(--ink-soft); }
.items li[hidden], .msec[hidden], .msec h3[hidden] { display: none; }
.none { font-size: var(--t-lead); font-weight: 500; padding-block: var(--s-3); }
.none button { font: inherit; font-weight: 700; background: none; border: 0; padding: 0; min-height: 2.75rem; color: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.key { font-size: var(--t-small); margin-top: 0.75rem; }
.allergen { background: var(--pale); padding: var(--s-3); margin-top: var(--s-2); max-width: 80ch; }
.allergen h2 { font-size: var(--t-h3); letter-spacing: -0.02em; margin-bottom: 0.5rem; }
@media (max-width: 1250px) { .items { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .mhead .wrap { display: block; }
  .mhead .tools { margin-top: var(--s-2); }
  .count { margin-left: 0; flex-basis: 100%; }
  .mbody .wrap { display: block; }
  .cats { position: sticky; top: 0; z-index: 4; display: flex; overflow-x: auto; overflow-y: hidden; max-height: none; margin-inline: calc(var(--edge) * -1); padding: 0.35rem var(--edge); background: var(--ground); gap: 0.25rem; scrollbar-width: none; box-shadow: 0 3px 0 var(--ink); margin-bottom: var(--s-3); }
  .cats::-webkit-scrollbar { display: none; }
  .cats a { white-space: nowrap; flex: none; min-height: 2.9rem; }
  .msec { scroll-margin-top: 4.5rem; }
  html { scroll-padding-top: 4.5rem; }
}
