/* Palette and type follow the Menuro template */
:root {
  --ink: #262525;
  --brown: #4a342e;
  --brown-2: #6e433d;
  --yellow: #f5c065;
  --yellow-soft: #ffe999;
  --gold: #ffe68c;
  --cream: #f8eecb;
  --cream-2: #fff9e0;
  --green: #487719;
  --red: #91210b;
  --display: "Clash Display", "Clash Grotesk", system-ui, sans-serif;
  --body: "Satoshi", system-ui, -apple-system, sans-serif;
  --radius-card: 30px 30px 120px 30px;
  --shadow: 0 10px 30px -12px rgba(74, 52, 46, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overscroll-behavior: none; overflow-x: clip; }
body { margin: 0; overflow-x: clip; font-family: var(--body); color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; margin: 0; line-height: 1; }
p { margin: 0; line-height: 1.45; text-wrap: pretty; }
h1, h2, h3, h4, .heading p, .hero-copy p, .about-copy p, .cta-copy p, .disclaimer, .fcard .tagline, .stat span, .steps li, .ing li span:first-child { text-wrap: balance; }
a { color: inherit; }
button, input { font: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 80px; }
.section { padding: 80px 0; }
.cream { background: var(--cream); }

/* Doodle background used behind cards and hero (like the template's food-line pattern) */
.doodle-bg, .doodle {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%234a342e' stroke-width='1.6' stroke-linecap='round' opacity='.09'%3E%3Ccircle cx='30' cy='32' r='14'/%3E%3Cpath d='M18 32h24M30 20v24'/%3E%3Cpath d='M100 20c10 0 18 8 18 18H82c0-10 8-18 18-18zM80 42h40'/%3E%3Cpath d='M28 100l20 30M40 96c6 4 8 10 4 14'/%3E%3Cpath d='M110 100c-8 6-8 20 0 28 8-8 8-22 0-28z'/%3E%3Cpath d='M70 140a10 10 0 1 0 20 0 10 10 0 1 0-20 0'/%3E%3Cpath d='M135 70l12 12M147 70l-12 12'/%3E%3C/g%3E%3C/svg%3E");
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 30px; border: 1px solid var(--brown);
  font-family: var(--body); font-weight: 500; font-size: 20px; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--brown); color: var(--cream); }
.btn-dark:hover { background: var(--brown-2); }
.btn-outline { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--brown); }
.btn-ghost { background: transparent; color: var(--brown); }
.btn-ghost:hover { background: var(--brown); color: var(--cream); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px; background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
}
.logo { font-family: var(--display); font-weight: 600; font-size: 30px; text-transform: uppercase; color: var(--gold); text-decoration: none; line-height: .9; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--gold); text-decoration: none; font-size: 20px; font-weight: 500; }
.nav-links a:not(.btn):hover { opacity: .8; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; cursor: pointer; }
.nav-toggle span { position: absolute; left: 12px; width: 20px; height: 2px; border-radius: 2px; background: var(--cream-2); transition: transform .25s, top .25s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav.open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav.open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { padding: 140px 0 80px; min-height: 100vh; display: flex; align-items: center; background-color: var(--cream); }
.hero-inner { display: flex; justify-content: center; align-items: center; gap: 40px; width: 100%; }
.hero-copy { flex: 1 1 480px; max-width: 500px; min-width: 0; }
.hero-copy h1 { font-size: 46px; line-height: 1.2; letter-spacing: -.01em; }
.hero-copy p { font-family: var(--display); font-weight: 400; font-size: 18px; line-height: 1.25; margin: 10px 0 20px; }
.hero-btns { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-btns .btn { padding: 10px 24px; }
.hero-visual { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.orbit { position: relative; width: 430px; aspect-ratio: 1; flex-shrink: 0; }
.glow { position: absolute; inset: -10px; border-radius: 50%; background: rgba(227, 96, 15, .32); filter: blur(90px); }
.orbit-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.plate {
  position: absolute; inset: 5%; border-radius: 50%;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
  display: grid; place-items: center;
}
.plate .dish { width: 100%; height: 100%; object-fit: contain; }
.plate { cursor: pointer; }
.plate span { font-size: 170px; line-height: 1; transition: transform .4s; filter: drop-shadow(0 10px 12px rgba(0,0,0,.25)); }
.plate.pop span, .plate.pop .dish { animation: pop .5s; }
@keyframes pop { 0% { transform: scale(.6) rotate(-20deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.badge {
  position: absolute; left: -12px; bottom: 44px; display: flex; gap: 10px; align-items: center;
  background: var(--yellow-soft); border-radius: 8px; padding: 6px 12px 6px 6px; box-shadow: var(--shadow);
}
.badge-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #ffb39f; font-size: 15px; }
.badge b { display: block; font-family: var(--display); font-weight: 500; font-size: 15px; }
.badge small { font-family: var(--display); font-size: 10px; }

/* Ticker */
.ticker { background: var(--brown); overflow: hidden; padding: 22px 0; border-top: 10px solid var(--cream); }
.ticker-track { display: flex; gap: 56px; width: max-content; animation: ticker 40s linear infinite; }
.ticker-track span { font-family: "Clash Grotesk", var(--display); font-weight: 700; font-size: 32px; color: var(--cream); white-space: nowrap; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* About / stats */
.about { background: var(--yellow); padding: 80px 0; }
.about-inner { display: flex; flex-direction: column; gap: 40px; align-items: center; }
.about-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; width: 100%; align-items: stretch; }
.about-photo { width: 100%; height: 100%; min-height: 280px; max-height: 420px; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.about-inner .stat-card { width: 100%; display: flex; flex-direction: column; }
.about-inner .stat-grid { flex: 1; }
.about-inner .stat-grid { grid-template-columns: 1fr 1fr; }
.stat-card { background: var(--brown); border-radius: 20px; overflow: hidden; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(248,238,203,.15); }
.stat { background: var(--brown); padding: 34px 28px; color: var(--cream); }
.stat b { display: block; font-family: var(--display); font-weight: 600; font-size: 52px; color: var(--yellow); line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: 17px; }
.about-copy { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.about-copy h2 { font-size: 48px; max-width: 700px; }
.about-copy p { font-size: 18px; max-width: 520px; }

/* Headings */
.heading { text-align: center; max-width: 720px; margin: 0 auto 44px; display: flex; flex-direction: column; gap: 20px; align-items: center; }
.heading h2 { font-size: 48px; }
.heading p { font-size: 18px; }

/* Featured cards (Most Loved) */
.featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fcard {
  position: relative; height: 415px; border-radius: 20px 30px 120px 30px; overflow: hidden; cursor: pointer;
  background-color: var(--yellow); text-align: left; border: 0; padding: 24px; color: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between;
}
.fcard::before { content: ""; position: absolute; inset: 0; background: inherit; background-image: inherit; }
.fcard > * { position: relative; z-index: 1; }
.fcard h3 { font-size: 36px; max-width: 60%; line-height: 1.1; letter-spacing: -.01em; }
.fcard .tag { display: inline-block; margin-bottom: 12px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
.fcard .price { font-size: 32px; font-weight: 500; }
.fcard .price small { font-size: 16px; opacity: .7; }
.fcard .tagline { font-size: 20px; font-weight: 500; margin-top: 6px; }
.fcard .arch {
  position: absolute; right: -30px; bottom: -75px; width: 229px; height: 412px; z-index: 0;
  border-radius: 444px 444px 0 0; background: linear-gradient(160deg, #fff6df, #f0d39a);
  transform: rotate(-15deg); display: grid; place-items: start center; padding-top: 70px;
  font-size: 110px; transition: transform .4s, width .4s, height .4s;
  box-shadow: inset 0 0 0 8px rgba(74,52,46,.06);
}
.fcard:hover .arch { transform: rotate(-12deg) scale(1.06); }

/* Category cards */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat {
  position: relative; border: 0; cursor: pointer; padding: 20px 20px 28px; border-radius: var(--radius-card);
  background-color: var(--yellow); display: flex; flex-direction: column; align-items: center; gap: 14px;
  transition: transform .25s, box-shadow .25s; color: var(--ink);
}
.cat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cat-img {
  width: 220px; max-width: 100%; aspect-ratio: 1; border-radius: 90px; display: grid; place-items: center;
  background: radial-gradient(circle, #fffaf0 0 58%, #f3dfae 59% 100%); font-size: 110px;
}
.cat h4 { font-size: 28px; letter-spacing: -.04em; }
.cat small { font-size: 15px; font-weight: 500; opacity: .75; }

/* Menu toolbar */
.menu-section { padding-top: 40px; }
.toolbar { display: flex; flex-direction: column; gap: 16px; margin-bottom: 18px; }
.tabs {
  display: flex; justify-content: center; gap: 4px; border-bottom: 1px solid rgba(74,52,46,.2);
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; position: relative; border: 0; background: none; cursor: pointer; padding: 12px 18px 14px;
  font-family: var(--display); font-size: 19px; font-weight: 500; color: var(--brown); opacity: .6; transition: opacity .2s;
}
.tab::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; border-radius: 3px; background: var(--brown); transform: scaleX(0); transition: transform .25s; }
.tab:hover { opacity: 1; }
.tab[aria-selected="true"] { opacity: 1; }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.tab .n { font-family: var(--body); font-size: 13px; font-weight: 700; margin-left: 6px; opacity: .7; }
.toolbar-row { display: flex; gap: 12px; }
.search { flex: 1; display: flex; align-items: center; gap: 10px; background: var(--cream-2); border: 1px solid rgba(74,52,46,.25); border-radius: 30px; padding: 0 18px; }
.search svg { width: 20px; fill: var(--brown); flex-shrink: 0; }
.search input { flex: 1; border: 0; background: transparent; padding: 14px 0; font-size: 17px; outline: none; color: var(--ink); min-width: 0; }
.search:focus-within { border-color: var(--brown); }
.sort { position: relative; }
.sort-btn {
  height: 100%; min-height: 50px; display: flex; align-items: center; gap: 6px; padding: 0 18px 0 22px;
  border: 1px solid var(--brown); border-radius: 30px; background: var(--brown); color: var(--cream);
  font-size: 16px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background .2s;
}
.sort-btn:hover, .sort.open .sort-btn { background: var(--brown-2); }
.sort-label { opacity: .7; }
.sort-btn svg { width: 18px; margin-left: 4px; fill: none; stroke: var(--yellow); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.sort.open .sort-btn svg { transform: rotate(180deg); }
.sort-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 240px; margin: 0; padding: 8px; list-style: none;
  background: var(--cream-2); border: 1px solid rgba(74,52,46,.15); border-radius: 22px; box-shadow: 0 18px 40px -14px rgba(74,52,46,.45);
  animation: menu-in .18s ease-out;
}
.sort-menu[hidden] { display: none; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
.sort-menu li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 14px;
  font-size: 16px; font-weight: 500; color: var(--ink); cursor: pointer; outline: none;
}
.sort-menu li:hover, .sort-menu li:focus { background: var(--yellow); }
.sort-menu li[aria-selected="true"] { background: var(--brown); color: var(--cream); }
.sort-menu li[aria-selected="true"]::after { content: "✓"; color: var(--yellow); font-weight: 700; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.filter {
  border: 1px solid #f1bb23; background: transparent; border-radius: 20px; padding: 8px 16px;
  cursor: pointer; font-family: var(--display); font-size: 15px; color: var(--ink);
}
.filter[aria-pressed="true"] { background: var(--yellow); border-color: var(--brown); }
.result-count { text-align: center; font-size: 15px; opacity: .7; margin-bottom: 22px; }

/* Meal grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.card {
  background: var(--yellow); border-radius: 24px; overflow: hidden; cursor: pointer; border: 0; padding: 0;
  text-align: left; display: flex; flex-direction: column; color: var(--ink);
  transition: transform .25s, box-shadow .25s;
}
.card:hover, .card:focus-visible { transform: translateY(-5px); box-shadow: var(--shadow); outline: none; }
.card-top {
  position: relative; height: 190px; display: grid; place-items: center; font-size: 84px;
  background-color: #fbe3b0;
}
.card-top .dish { width: 150px; height: 150px; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(74,52,46,.3)); transition: transform .4s; }
.card:hover .card-top .dish { transform: rotate(-8deg) scale(1.05); }
.card-top .pill {
  position: absolute; top: 14px; padding: 5px 12px; border-radius: 20px; font-size: 13px; font-weight: 700;
  background: var(--cream-2); color: var(--brown);
}
.card-top .pill.l { left: 14px; }
.card-top .pill.r { right: 14px; background: var(--brown); color: var(--cream); }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-body h3 { font-size: 22px; line-height: 1.15; letter-spacing: -.01em; flex: 1; }
.meta { display: flex; justify-content: space-between; font-weight: 500; font-size: 15px; }
.macros { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.macro { background: rgba(255,249,224,.65); border-radius: 12px; padding: 7px 4px; text-align: center; }
.macro b { display: block; font-family: var(--display); font-size: 17px; font-weight: 600; }
.macro small { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; opacity: .7; }
.empty { text-align: center; padding: 40px 0; display: flex; flex-direction: column; gap: 18px; align-items: center; font-size: 18px; }

/* Pagination */
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.pager[hidden], .empty[hidden] { display: none; }
.page-btn {
  min-width: 46px; height: 46px; padding: 0 12px; border-radius: 30px; border: 1px solid var(--brown);
  background: transparent; color: var(--brown); font-size: 17px; font-weight: 500; cursor: pointer; transition: background .2s, color .2s;
}
.page-btn:hover:not(:disabled), .page-btn[aria-current="page"] { background: var(--brown); color: var(--cream); }
.page-btn:disabled { opacity: .35; cursor: default; }
.page-gap { padding: 0 4px; opacity: .6; }

/* CTA */
.cta { position: relative; background: var(--yellow); padding: 100px 20px; overflow: hidden; display: flex; justify-content: center; }
.cta-copy { max-width: 640px; text-align: center; display: flex; flex-direction: column; gap: 24px; align-items: center; position: relative; z-index: 2; }
.cta-copy h2 { font-size: 48px; }
.cta-copy p { font-family: "Clash Grotesk", var(--display); font-weight: 500; font-size: 20px; }
.cta-side { position: absolute; top: 50%; width: 420px; font-size: 300px; transform: translateY(-50%); filter: drop-shadow(0 20px 30px rgba(0,0,0,.3)); }
.cta-side .dish { width: 100%; display: block; }
.cta-side.left { left: -150px; }
.cta-side.right { right: -150px; }

/* Footer */
.footer { background: var(--brown); color: var(--cream); padding: 40px 0 20px; }
.footer .logo { color: var(--cream); font-size: 32px; font-weight: 700; }
.footer-top { margin-bottom: 30px; }
.footer-main { display: block; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.footer-cols h4 { font-size: 18px; margin-bottom: 14px; }
.footer-cols a, .footer-cols button { display: block; color: var(--gold); text-decoration: none; font-size: 18px; font-weight: 500; margin-bottom: 10px; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.footer-cols a:hover, .footer-cols button:hover { text-decoration: underline; }
.footer-cols p { color: var(--gold); font-size: 16px; }
.disclaimer { text-align: center; max-width: 760px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(248,238,203,.2); font-size: 15px; line-height: 1.5; opacity: .85; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(38, 25, 20, .6); backdrop-filter: blur(6px); animation: fade .25s; }
.modal-panel {
  position: relative; width: min(1000px, 100%); max-height: calc(100vh - 48px); overflow: auto;
  background: var(--cream); border-radius: 28px; animation: rise .3s cubic-bezier(.2,.8,.3,1);
}
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }
.modal-close {
  position: sticky; top: 16px; display: block; margin: 16px 16px -58px auto; z-index: 3; width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: var(--brown); color: var(--cream); font-size: 18px; cursor: pointer;
}
.m-hero { background: var(--yellow); padding: 40px 40px 34px; display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; border-radius: 28px 28px 0 0; }
.m-emoji { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; font-size: 86px; background: radial-gradient(circle, #fffaf0 0 60%, #f3dfae 61% 100%); overflow: hidden; }
.m-emoji .dish { width: 100%; height: 100%; object-fit: contain; }
.m-emoji:has(.dish) { background: none; filter: drop-shadow(0 12px 16px rgba(74,52,46,.3)); }
.m-cat { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.m-hero h2 { font-size: 40px; margin: 8px 0 18px; line-height: 1.05; }
.m-facts { display: flex; flex-wrap: wrap; gap: 10px; }
.fact { background: var(--cream-2); border-radius: 20px; padding: 8px 14px; font-size: 15px; font-weight: 500; }
.fact b { font-family: var(--display); font-weight: 600; }
.m-body { padding: 34px 40px 40px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 36px; }
.m-body h3 { font-size: 24px; margin-bottom: 14px; }
.m-block + .m-block { margin-top: 30px; }

.nutri { background: var(--cream-2); border-radius: 18px; padding: 18px; }
.nutri-kcal { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 2px solid var(--brown); padding-bottom: 10px; margin-bottom: 12px; }
.nutri-kcal b { font-family: var(--display); font-size: 38px; }
.split { display: flex; height: 12px; border-radius: 8px; overflow: hidden; margin-bottom: 8px; }
.split i { display: block; }
.split-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; margin-bottom: 14px; }
.split-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; background: var(--c); vertical-align: -1px; }
.nrow { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid rgba(74,52,46,.12); font-size: 15px; }
.nrow.sub { padding-left: 16px; opacity: .8; }
.nrow:last-child { border-bottom: 0; }
.nrow b { font-weight: 700; }

.ing { list-style: none; margin: 0; padding: 0; }
.ing li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(74,52,46,.25); font-size: 16px; }
.ing li span:last-child { font-weight: 700; white-space: nowrap; }
.ing li.total { border-bottom: 0; border-top: 2px solid var(--brown); margin-top: 4px; font-weight: 700; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: flex; flex-direction: column; gap: 10px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 12px; border-radius: 14px; background: var(--cream-2); cursor: pointer; font-size: 16px; line-height: 1.45; transition: opacity .2s; }
.steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brown); color: var(--cream); font-family: var(--display); font-weight: 600; }
.steps li.done { opacity: .45; text-decoration: line-through; }
.steps li.done::before { content: "✓"; background: var(--green); }
.m-nav { display: flex; justify-content: space-between; gap: 12px; padding: 0 40px 36px; }
.m-arrow {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--brown); background: transparent;
  display: grid; place-items: center; cursor: pointer; transition: background .2s;
}
.m-arrow svg { width: 22px; fill: none; stroke: var(--brown); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.m-arrow:hover { background: var(--brown); }
.m-arrow:hover svg { stroke: var(--cream); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orbit-ring, .ticker-track { animation: none; }
}

/* Tablet */
@media (max-width: 1100px) {
  .wrap { padding: 0 40px; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-copy { flex: none; }
  .hero-copy p { margin-inline: auto; }
  .hero-btns { justify-content: center; }
  .hero-visual { flex-direction: column; }
  .about-row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .about-photo { min-height: 0; }
  .featured { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .fcard { height: 330px; padding: 18px; }
  .fcard h3 { font-size: 24px; max-width: 75%; }
  .fcard .price { font-size: 24px; }
  .fcard .tagline { font-size: 14px; }
  .fcard .arch { width: 140px; height: 250px; right: -24px; bottom: -40px; font-size: 64px; padding-top: 40px; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .cats .cat:nth-child(2) { border-radius: 30px 30px 30px 120px; }
  .cats .cat:nth-child(3) { border-radius: 30px 120px 30px 30px; }
  .cats .cat:nth-child(4) { border-radius: 120px 30px 30px 30px; }
  .heading h2, .cta-copy h2, .about-copy h2 { font-size: 36px; }
  .m-body { grid-template-columns: 1fr; }
  .cta-side { width: 280px; font-size: 200px; }
  .cta-side.left { left: -150px; } .cta-side.right { right: -150px; }
}

/* Phone */
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .section { padding: 56px 0; }
  .nav { padding: 12px 16px; flex-wrap: wrap; }
  .logo { font-size: 24px; }
  .nav-toggle { display: block; }
  .nav-links { display: none; }
  body.nav-locked { overflow: hidden; }
  .nav.open { height: 100vh; height: 100dvh; align-content: flex-start; background: rgba(38, 25, 20, .94); }
  .nav.open .nav-links {
    display: flex; width: 100%; height: calc(100dvh - 80px); flex-direction: column; justify-content: center; align-items: center; gap: 28px;
    animation: navIn .3s ease-out;
  }
  .nav.open .nav-links a:not(.btn) { font-family: var(--display); font-size: 40px; font-weight: 600; color: var(--cream); }
  .nav.open .nav-links a:not(.btn):hover { color: var(--yellow); opacity: 1; }
  @keyframes navIn { from { opacity: 0; transform: translateY(16px); } }
  .hero { padding: 110px 0 50px; }
  .hero-copy h1 { font-size: 32px; }
  .hero-copy p { font-size: 16px; }
  .btn { font-size: 16px; padding: 10px 18px; }
  .orbit { width: min(300px, 78vw); }
  .glow { inset: 6%; }
  .badge { left: 0; }
  .plate span { font-size: 110px; }
  .ticker-track span { font-size: 22px; }
  .stat b { font-size: 36px; }
  .stat { padding: 22px 18px; }
  .heading h2, .cta-copy h2, .about-copy h2 { font-size: 30px; }
  .heading p { font-size: 15px; }
  .about-row { grid-template-columns: 1fr; }
  .about-photo { height: 200px; max-height: none; }
  .featured { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 8px; scrollbar-width: none; }
  .featured::-webkit-scrollbar { display: none; }
  .fcard { flex: 0 0 82%; height: 300px; scroll-snap-align: center; }
  .fcard h3 { font-size: 26px; max-width: 65%; }
  .fcard .price { font-size: 26px; }
  .fcard .tagline { font-size: 15px; }
  .fcard .arch { width: 150px; height: 270px; right: -12px; bottom: -30px; font-size: 70px; padding-top: 44px; }
  .cats { gap: 12px; }
  .cat { padding: 14px 10px 20px; }
  .cat-img { width: 120px; font-size: 64px; border-radius: 50px; }
  .cat h4 { font-size: 20px; }
  .toolbar-row { flex-direction: column; }
  .sort-btn { width: 100%; justify-content: center; }
  .sort-menu { left: 0; right: 0; }
  .tabs { justify-content: flex-start; margin: 0 -16px; padding: 0 8px; }
  .tab { font-size: 16px; padding: 10px 12px 12px; }
  .cta { padding: 60px 16px; }
  .cta-side { width: 170px; font-size: 120px; opacity: .6; }
  .cta-side.left { left: -95px; } .cta-side.right { right: -95px; }
  .footer-cols { grid-template-columns: 1fr; }
  .modal { padding: 0; align-items: flex-end; }
  .modal-panel { max-height: 94vh; border-radius: 24px 24px 0 0; }
  .m-hero { grid-template-columns: 1fr; padding: 28px 20px 24px; justify-items: start; }
  .m-emoji { width: 100px; height: 100px; font-size: 56px; }
  .m-hero h2 { font-size: 28px; }
  .m-body { padding: 24px 20px 28px; }
  .m-nav { padding: 0 20px 28px; }
  .hero-btns { gap: 10px; justify-content: center; }
  .hero-btns .btn { padding: 10px 18px; }
}

/* Large monitors */
@media (min-width: 1700px) {
  .wrap { max-width: 1600px; }
  .nav { padding: 22px 48px; }
  .logo { font-size: 34px; }
  .nav-links { gap: 34px; }
  .nav-links a:not(.btn), .btn { font-size: 22px; }
  .hero-inner { gap: 64px; }
  .hero-copy { flex-basis: 600px; max-width: 620px; }
  .hero-copy h1 { font-size: 60px; }
  .hero-copy p { font-size: 22px; }
  .orbit { width: 540px; }
  .plate span { font-size: 210px; }
  .ticker-track span { font-size: 40px; }
  .heading { max-width: 900px; }
  .heading h2, .about-copy h2, .cta-copy h2 { font-size: 60px; }
  .heading p, .about-copy p, .cta-copy p { font-size: 22px; }
  .stat b { font-size: 64px; }
  .stat span { font-size: 19px; }
  .fcard { height: 480px; }
  .fcard h3 { font-size: 42px; }
  .fcard .arch { width: 260px; height: 460px; font-size: 130px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 26px; }
  .card-top { height: 200px; font-size: 96px; }
  .card-body h3 { font-size: 25px; }
  .card-top .dish { width: 170px; height: 170px; }
  .meta { font-size: 16px; }
  .macro b { font-size: 19px; }
  .tab, .search input, .sort-btn, .sort-menu li { font-size: 19px; }
  .modal-panel { width: min(1200px, 100%); }
  .footer-cols a, .footer-cols button { font-size: 20px; }
}

/* TVs and very large screens */
@media (min-width: 2400px) {
  .wrap { max-width: 2100px; }
  .logo { font-size: 42px; }
  .nav-links a:not(.btn), .btn { font-size: 26px; }
  .hero-copy { flex-basis: 760px; max-width: 780px; }
  .hero-copy h1 { font-size: 80px; }
  .hero-copy p { font-size: 28px; }
  .orbit { width: 720px; }
  .plate span { font-size: 280px; }
  .heading { max-width: 1200px; }
  .heading h2, .about-copy h2, .cta-copy h2 { font-size: 80px; }
  .heading p, .about-copy p, .cta-copy p { font-size: 28px; }
  .stat b { font-size: 84px; }
  .stat span { font-size: 24px; }
  .fcard { height: 620px; }
  .fcard h3 { font-size: 56px; }
  .fcard .price { font-size: 42px; }
  .fcard .tagline { font-size: 26px; }
  .fcard .arch { width: 340px; height: 600px; font-size: 170px; padding-top: 100px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 32px; }
  .card-top { height: 250px; font-size: 120px; }
  .card-body h3 { font-size: 30px; }
  .card-top .dish { width: 210px; height: 210px; }
  .meta { font-size: 19px; }
  .macro b { font-size: 23px; }
  .macro small { font-size: 13px; }
  .tab, .search input, .sort-btn, .sort-menu li { font-size: 23px; }
  .page-btn { min-width: 58px; height: 58px; font-size: 21px; }
  .modal-panel { width: min(1500px, 100%); font-size: 20px; }
  .footer-cols a, .footer-cols button { font-size: 24px; }
  .disclaimer { font-size: 19px; max-width: 1000px; }
}

/* Meal photo sits in the lower right of the card, clear of the title and price */
.fcard > .fdish { position: absolute; right: 14px; bottom: 70px; width: 46%; aspect-ratio: 1; z-index: 1; font-size: 90px; display: grid; place-items: center; transition: transform .4s; }
.fcard .fdish .dish { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(74,52,46,.35)); }
.fcard:hover .fdish { transform: rotate(-8deg) scale(1.05); }
.fcard > div:not(.arch):not(.fdish) { z-index: 2; }
@media (max-width: 720px) { .fcard > .fdish { width: 34%; bottom: 64px; right: 10px; } }

/* Standalone recipe pages (recipes/*.html) */
.nav-simple .nav-back { color: var(--gold); text-decoration: none; font-size: 18px; font-weight: 500; border-bottom: 1px solid currentColor; }
.recipe-body { background: var(--cream); }
.recipe-page { padding: 110px 20px 60px; }
.recipe-card { max-width: 1000px; margin: 0 auto; background: var(--cream-2); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.recipe-card .m-hero { border-radius: 0; }
.recipe-title { font-size: 44px; margin: 8px 0 18px; line-height: 1.05; }
.m-body h2 { font-size: 24px; margin-bottom: 14px; }
.recipe-card .m-nav { align-items: center; }
.recipe-card .m-arrow { text-decoration: none; }
@media (max-width: 720px) {
  .recipe-page { padding: 58px 0 0; }
  .recipe-card { border-radius: 0; box-shadow: none; }
  .recipe-title { font-size: 30px; }
  .nav-simple { flex-wrap: nowrap; }
  .nav-simple .nav-back { font-size: 16px; }
  .recipe-card .m-nav .btn { font-size: 15px; padding: 10px 18px; }
}
