/* Lal Mirch Canteen: the demo page's own look. The find-us section's styles
   are in find-us.css. */

:root {
  --ground: #183a2c;        /* coriander */
  --ground-2: #1f4836;
  --ink: #f3ecd6;
  --ink-soft: #c9c6ad;
  --turmeric: #f2b134;
  --chilli: #d4452f;
  --line: #3a5f4e;
  --slab: "Superclarendon", "Rockwell", "Roboto Slab", "Clarendon", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--ground); color: var(--ink); scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 17px/1.6 var(--sans); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--turmeric); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.masthead {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: var(--ground); border-bottom: 1px solid var(--line);
}
.wordmark { font: 700 1.25rem/1 var(--slab); text-decoration: none; color: var(--turmeric); }
.masthead nav { display: flex; gap: 1.5rem; }
.masthead nav a { text-decoration: none; }
.masthead nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

main > section { padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem); max-width: 72rem; margin: 0 auto; }

.hero h1 { font: 700 clamp(2.4rem, 6vw, 4.4rem)/1.04 var(--slab); margin: 0 0 1.25rem; max-width: 18ch; }
.hero p { max-width: 36rem; margin: 0; color: var(--ink-soft); font-size: 1.1rem; }

.menu h2 { font: 700 1.8rem/1.2 var(--slab); margin: 0 0 1.5rem; }
.menu ul { list-style: none; margin: 0; padding: 0; max-width: 36rem; }
.menu li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed var(--line); }

.foot { padding: 2rem clamp(1rem, 4vw, 3rem); border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .9rem; }
