/* Tokens match the ordering app (static/css/waggle.css):
   ink #3a2415, cream #fbf6ec, honey #e8a317, order button #f0b429.
   Headings use the same serif stack. Body uses the same sans stack. */

:root {
  --ink: #3a2415;
  --ink-soft: #6d5344;
  --cream: #fbf6ec;
  --paper: #fffbf4;
  --honey: #e8a317;
  --honey-deep: #c4840a;
  --button: #f0b429;
  --line: #ead7ba;
  --good: #2c6b45;
  --header: #3a2415;
  --ribbon: #f6e3b8;
  --open: #e5f2e8;
  --closed: #f3e6d8;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 0 0, rgba(232, 163, 23, 0.16), transparent 28rem),
    var(--cream);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.45;
  min-height: 100vh;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--button);
  outline-offset: 2px;
}

.button:focus-visible,
.promo a[data-order-item]:focus-visible {
  outline-color: var(--ink);
}

::selection {
  background: #f0d7a4;
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #fff;
  color: var(--ink);
  padding: 0.45rem 0.75rem;
  z-index: 5;
  border-radius: 8px;
}

.skip:focus {
  top: 0.5rem;
}

.wrap {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
}

.mast {
  background: var(--header);
  color: var(--cream);
}

.mast-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "brand order"
    "nav nav";
  align-items: center;
  gap: 0.25rem 0.75rem;
  padding-block: 0.75rem 0.35rem;
}

.brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  text-decoration: none;
  color: var(--cream);
}

.mark {
  flex: none;
  width: 36px;
  height: 36px;
}

.brand-text {
  min-width: 0;
}

.brand-name {
  display: block;
  font-family: Georgia, "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  font-size: 1.25rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.brand-sub {
  display: block;
  color: #f0d7a4;
  font-size: 0.78rem;
}

.mast-actions {
  grid-area: order;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}

.order-now,
.mast .delivery {
  justify-self: end;
  white-space: nowrap;
}

.nav-toggle-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.4rem 0.75rem;
  border: 2px solid #f0d7a4;
  border-radius: 999px;
  color: var(--cream);
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.nav-toggle-close {
  display: none;
}

.nav-toggle:checked ~ .nav-toggle-open {
  display: none;
}

.nav-toggle:checked ~ .nav-toggle-close {
  display: inline;
}

.nav-toggle-label:has(.nav-toggle:focus-visible) {
  outline: 3px solid var(--button);
  outline-offset: 2px;
}

.site-nav {
  grid-area: nav;
}

.site-nav ul,
.footer-nav ul,
.socials,
.cards,
.variations {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0.85rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--cream);
  text-decoration: none;
  font-weight: 650;
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--button);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28em;
}

.button,
.promo a[data-order-item] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: var(--button);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  min-height: 44px;
  line-height: 1.2;
}

.button:hover,
.promo a[data-order-item]:hover {
  background: var(--honey);
}

.status-slot {
  background: var(--ribbon);
  color: var(--ink);
}

.status-slot:has([data-open="true"]) {
  background: var(--open);
}

.status-slot:has([data-open="false"]) {
  background: var(--closed);
}

.status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.55rem 0;
  font-size: 0.95rem;
}

.status-mark {
  display: grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  flex: none;
  color: var(--honey-deep);
}

.status-clock {
  display: block;
}

.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--good);
}

.status.is-open strong {
  color: var(--good);
}

.status-slot .feed-fallback {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.55rem 0;
}

.status-slot .feed-fallback p,
.status-slot .status {
  margin: 0;
}

main {
  padding: 1.25rem 0 2.75rem;
}

main:focus {
  outline: none;
}

.prose {
  max-width: 40rem;
}

.prose h1,
.feed-block h2,
.feed-block h3,
.menu-category h2 {
  font-family: Georgia, "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  font-weight: 500;
  line-height: 1.15;
}

.prose h1 {
  font-size: clamp(2rem, 8vw, 3.25rem);
  margin: 0.15rem 0 0.7rem;
}

.prose h2 {
  font-family: Georgia, "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.15;
}

.prose p {
  margin: 0 0 0.85rem;
}

.prose a:not(.button) {
  text-underline-offset: 0.15em;
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--good);
  font-weight: 700;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
}

.placeholder {
  border-left: 4px solid var(--honey);
  background: #fff8ea;
  padding: 0.7rem 0.9rem;
  border-radius: 0 12px 12px 0;
}

.fine,
.todo {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.feed-block {
  margin-top: 1.6rem;
}

.feed-block h2 {
  font-size: 1.8rem;
  margin: 0 0 0.3rem;
}

.feed-block h3 {
  font-size: 1.4rem;
  margin: 1.1rem 0 0.55rem;
}

.feed-menu {
  max-width: 42rem;
}

.feed-fallback p {
  margin: 0 0 0.75rem;
}

.cards {
  display: grid;
  gap: 0.75rem;
}

.card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 5.5rem;
  text-decoration: none;
  color: inherit;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.75rem;
  overflow-wrap: break-word;
}

.card:hover {
  border-color: var(--honey-deep);
}

.card:hover .card-name,
.card:focus-visible .card-name {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.thumb {
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
  flex: none;
  border-radius: 14px;
  overflow: hidden;
  background: #f3e6cf;
}

.thumb img,
.thumb .thumb-mark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.thumb img {
  object-fit: cover;
}

.thumb .thumb-mark {
  padding: 0.4rem;
}

.card-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}

.card-name {
  font-weight: 700;
}

.card-blurb {
  color: var(--ink-soft);
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex: none;
  max-width: 42%;
  text-align: right;
}

.price {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  margin: 0;
}

.menu-category + .menu-category {
  margin-top: 1.35rem;
}

.menu-category h2 {
  font-size: 1.7rem;
  margin: 0 0 0.35rem;
}

.menu-item {
  border-top: 1px solid var(--line);
  padding: 0.85rem 0;
  overflow-wrap: break-word;
}

.menu-item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}

.menu-item h3 {
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  min-width: 0;
}

.menu-item h3 a {
  text-underline-offset: 0.15em;
}

.menu-desc {
  margin: 0.3rem 0 0;
  color: var(--ink-soft);
  white-space: pre-line;
}

.variations {
  margin-top: 0.4rem;
}

.variations li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.18rem 0;
  color: var(--ink-soft);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  background: rgba(255, 251, 244, 0.72);
  color: var(--ink-soft);
}

.colophon-grid {
  display: grid;
  gap: 1.1rem;
}

.footer-heading {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
}

.hours {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.site-footer p {
  margin: 0 0 0.35rem;
}

.site-footer address {
  font-style: normal;
}

.site-footer a {
  text-underline-offset: 0.15em;
}

.socials {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-nav {
  margin-top: 1.25rem;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.site-footer .fine {
  margin-top: 1rem;
}

@media (min-width: 720px) {
  .brand-name {
    font-size: 1.45rem;
  }

  .thumb {
    width: 4.5rem;
    height: 4.5rem;
  }

  .cards {
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  }
}

@media (max-width: 859px) {
  .mast-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "order"
      "nav";
  }

  .mast-actions {
    justify-content: flex-start;
  }

  .mast-inner:not(:has(.nav-toggle:checked)) .site-nav {
    display: none;
  }
}

@media (min-width: 860px) {
  .mast-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand nav order";
    gap: 0.75rem 1.25rem;
    padding-block: 0.85rem;
  }

  .nav-toggle-label {
    display: none;
  }

  .site-nav ul {
    justify-content: flex-end;
  }
}

@media (min-width: 800px) {
  .colophon-grid {
    grid-template-columns: 1.1fr 1.5fr 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (forced-colors: active) {
  .button,
  .promo a[data-order-item] {
    border-color: ButtonText;
  }
}

.button-secondary {
  background: var(--ink);
  color: var(--cream);
}

.button-secondary:hover {
  background: #5c4030;
  color: var(--cream);
}

.button-secondary:focus-visible {
  outline-color: var(--button);
}

.mast .delivery {
  background: transparent;
  color: var(--cream);
  border-color: #f0d7a4;
}

.mast .delivery:hover {
  background: #f0d7a4;
  color: var(--ink);
}

.mast .delivery:focus-visible {
  outline-color: var(--button);
}

.prose picture {
  display: block;
  margin: 0 0 1rem;
}

.prose picture img,
.bees-picture img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1rem;
}

.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 0.45rem 0.7rem 0.45rem 0;
  border-bottom: 1px solid var(--line);
}

.prose thead th {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 1rem;
}

.table-wrap table {
  margin: 0;
  min-width: 28rem;
}

.hours-table {
  min-width: 0;
}

.prose .hours-table td {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin: 0 0 1rem;
}

.actions .button {
  max-width: 100%;
}

@media (max-width: 420px) {
  .actions .button {
    flex: 1 1 100%;
  }
}

.prose-home {
  max-width: none;
}

.hero {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.hero-copy {
  max-width: 38rem;
}

.hero .eyebrow {
  margin: 0 0 0.35rem;
}

.hero-photo {
  margin: 0;
}

.hero-photo picture {
  margin: 0;
}

.prose .hero-photo img {
  border-radius: 18px;
  border: 1px solid var(--line);
}

.promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.15rem;
  margin: 1.5rem 0 0.25rem;
}

.promo h2,
.promo p {
  margin: 0;
}

.promo h2 {
  font-size: 1.45rem;
  margin-bottom: 0.3rem;
}

.promo p {
  max-width: 40rem;
}

.feed-lead {
  margin: 0 0 0.35rem;
  max-width: 40rem;
}

.week-links {
  margin: 0.85rem 0 0;
}

.bees-block {
  margin-top: 2.25rem;
}

.bees-picture {
  display: block;
  margin: 0 0 1rem;
}

.bees-picture img {
  object-fit: cover;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
}

.measure {
  max-width: 40rem;
}

.split {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  margin: 2.25rem 0;
}

.split-photo {
  margin: 0;
}

.split-photo picture {
  margin: 0;
}

.visit {
  align-items: start;
}

.teaser {
  margin-top: 0;
}

.map-frame {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #e7efe4;
  aspect-ratio: 4 / 3;
  min-height: 16rem;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-link {
  margin-top: 0.4rem;
}

.moments,
.gallery {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.moments picture,
.gallery picture {
  margin: 0;
}

.gallery-small {
  max-width: 16rem;
}

.prose .tall-photo img,
.prose .page-photo img {
  object-fit: cover;
}

.prose .tall-photo img {
  height: 28rem;
}

.prose [data-view="status"] {
  margin: 0 0 0.85rem;
}

.prose [data-view="status"] .status {
  display: inline-flex;
  background: var(--ribbon);
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
}

.prose [data-open="true"] .status {
  background: var(--open);
}

.prose [data-open="false"] .status {
  background: var(--closed);
}

@media (min-width: 720px) {
  .bees-picture img {
    aspect-ratio: 12 / 5;
  }

  .moments,
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 800px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
