:root {
  --paper: #f8f7ef;
  --butter: #f6df83;
  --soft-butter: #f6eecc;
  --sage: #e7ecdf;
  --forest: #294033;
  --deep: #1e2b23;
  --ink: #242822;
  --muted: #505951;
  --line: #d7dbcf;
  --section-space: clamp(3.8rem, 7vw, 7rem);
  --gutter: clamp(1.125rem, 4.2vw, 4.75rem);
  --hover: 240ms ease;
  --display: 'Bricolage Grotesque', 'DM Sans', sans-serif;
  --sans: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 var(--sans);
}

h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1, h2, h3 {
  text-wrap: balance;
  font-family: var(--display);
  font-weight: 650;
  line-height: .99;
  letter-spacing: -.032em;
}
h2 { font-size: clamp(2.8rem, 5.7vw, 5.5rem); }
p, address, .footer-bottom { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
a, button {
  transition: color var(--hover), background-color var(--hover), border-color var(--hover);
}
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }

.wrap { width: min(1320px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.skip-link {
  position: fixed;
  z-index: 4;
  inset: .75rem auto auto .75rem;
  padding: .65rem 1rem;
  background: var(--paper);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-intro { display: none; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .site-intro {
    position: fixed;
    z-index: 5;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    background: var(--deep);
    color: var(--butter);
    text-align: center;
    animation: intro-fade 1050ms ease-in-out both;
  }
  .site-intro-content { animation: intro-type 240ms ease-out both; }
  .site-intro-content::before {
    content: '';
    display: block;
    width: clamp(3.25rem, 6vw, 5.5rem);
    aspect-ratio: 1;
    margin: 0 auto .9rem;
    background: currentColor;
    mask: url('images/coffee-cup.png') center / contain no-repeat;
  }
  .site-intro p { font: 680 clamp(2.75rem, 8.5vw, 7.3rem)/.98 var(--display); letter-spacing: -.04em; }
  body:focus-within > .site-intro, body:has(:target) > .site-intro { display: none; }
}

@keyframes intro-type {
  from { opacity: 0; }
}

@keyframes intro-fade {
  0%, 55% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

.header-inner, .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.header-inner { min-height: clamp(4.25rem, 6vw, 5.5rem); border-bottom: 1px solid #29403355; }
.wordmark { flex: none; width: clamp(8.4rem, 14vw, 11.75rem); color: var(--forest); }
.wordmark::before {
  content: '';
  display: block;
  aspect-ratio: 516 / 98;
  background: currentColor;
  mask: url('images/buttercup-logo.png') center / contain no-repeat;
}
.wordmark:hover { color: #557251; }
@media (forced-colors: active) {
  .wordmark::before { forced-color-adjust: none; background: LinkText; }
}

.site-header nav, .site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.75rem);
  font-size: .93rem;
  font-weight: 700;
}
.site-header, .hero { background: var(--butter); color: var(--forest); }
nav a:hover, nav [aria-current="page"] { color: #486148; }
.button, .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 100vw;
  padding: .6rem 1.2rem;
  font: 700 .92rem/1.2 var(--sans);
  cursor: pointer;
}
.button { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.button:hover { background: var(--deep); color: white; }
.eyebrow, figcaption {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .095em;
  text-transform: uppercase;
}
.info-bar { background: var(--deep); color: var(--paper); font-size: .76rem; font-weight: 600; }
.info-inner, .info-inner ul { display: flex; align-items: center; }
.info-inner { justify-content: space-between; gap: .3rem 1rem; padding-block: .46rem; }
.info-inner a { color: var(--butter); }
.info-inner ul { gap: .35rem 1rem; padding: 0; margin: 0; list-style: none; }
.info-inner li { white-space: nowrap; }

.hero-spread {
  display: grid;
  position: relative;
  isolation: isolate;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: clamp(28rem, 39vw, 42rem);
  padding-block: clamp(3.5rem, 6vw, 6rem);
  background: var(--forest);
}
.hero-spread > img {
  position: absolute;
  inset-block: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.hero-coffee { left: 0; object-position: 83% 58%; }
.hero-brunch { right: 0; object-position: 54% 55%; }
.hero-slip {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(49%, 43rem);
  text-align: center;
  padding: clamp(2rem, 4.1vw, 4.5rem) clamp(1rem, 2.5vw, 2.5rem);
  position: relative;
  background: var(--paper);
  color: var(--forest);
}
.hero-slip::after {
  content: '';
  position: absolute;
  inset: 100% 0 auto;
  height: .5rem;
  background: linear-gradient(135deg, var(--paper) 25%, transparent 26%) 0 0 / 1rem 1rem repeat-x,
              linear-gradient(225deg, var(--paper) 25%, transparent 26%) 0 0 / 1rem 1rem repeat-x;
}
.hero h1 { font-size: clamp(2.5rem, 5.7vw, 5.5rem); line-height: .92; letter-spacing: -.06em; }
.hero h1 span { display: block; }
.hero-slip p { max-width: 30ch; margin: 1.3rem auto; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 4rem); }
.daily h2 { font-size: clamp(1.9rem, 5.7vw, 5.5rem); color: var(--forest); }
.text-link { color: var(--forest); }
.text-link:hover { background: var(--forest); color: var(--paper); }
.daily-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.2rem, 4vw, 4rem) clamp(1rem, 3vw, 3rem); align-items: start; }
.daily-item { display: block; color: var(--forest); }
.daily-item:nth-child(even) { margin-top: clamp(2rem, 5vw, 5rem); }
.daily-item img { width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; border-radius: .35rem; }
.daily-item > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: .85rem; }
.daily-item h3 { font-size: clamp(1.55rem, 3vw, 2.9rem); }
.daily-item p { font-weight: 700; font-variant-numeric: tabular-nums; }
.daily-item:hover { color: #54704d; }

.counter { background: var(--forest); color: var(--paper); }
.counter > .wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: 5%; }
.counter h2 { color: var(--butter); max-width: 13ch; }
.food-card { display: grid; grid-template-columns: clamp(4rem, 7vw, 6rem) 1fr; column-gap: 1.35rem; align-content: center; border-top: 1px solid #f8f7ef55; padding-block: 1.1rem; }
.food-card:last-child { border-bottom: 1px solid #f8f7ef55; }
.food-card img { grid-row: span 2; align-self: center; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.food-card h3 { align-self: end; font-size: clamp(1.6rem, 2.8vw, 2.7rem); }
.food-card p { max-width: 44ch; margin-top: .4rem; font-size: .93rem; }
.food-card:hover { color: var(--butter); }

.place { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 6%; }
.storefront img { width: 100%; height: auto; aspect-ratio: 1.13; object-fit: cover; border-radius: .35rem; }
.storefront figcaption { margin-top: .6rem; color: var(--muted); }
.place-copy h2 { margin-block: .8rem 1.2rem; color: var(--forest); }
.place-copy > p:not(.eyebrow) { max-width: 42ch; }
.visit { margin-top: 2rem; padding-top: 1.35rem; border-top: 1px solid var(--forest); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.visit h3 { margin-bottom: .8rem; font-size: 1.4rem; }
.visit address { font-style: normal; }
.visit .button { margin-top: .95rem; }
.visit dl > div { display: flex; justify-content: space-between; flex-wrap: wrap; column-gap: .65rem; }
.visit dd { white-space: nowrap; font-variant-numeric: tabular-nums; }

.site-footer {
  padding-block: clamp(1.75rem, 4vw, 4rem) 1.5rem;
  background: var(--deep);
  color: var(--paper);
}
.newsletter {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  overflow: hidden;
  margin-bottom: clamp(2rem, 4.5vw, 4.5rem);
  border-radius: .5rem;
  background: var(--soft-butter);
  color: var(--forest);
}
.newsletter-photo { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 52% 60%; }
.newsletter-copy { align-self: center; padding: clamp(1.5rem, 4vw, 4.5rem); }
.newsletter h2 { max-width: 13ch; font-size: clamp(2.2rem, 4.6vw, 4.75rem); }
.newsletter p { margin-top: .8rem; }
.newsletter form { margin-top: clamp(1.2rem, 2.5vw, 2.2rem); }
.newsletter label { display: block; font-size: .88rem; font-weight: 700; }
.newsletter-fields { display: flex; align-items: stretch; gap: .5rem; margin-top: .4rem; }
.newsletter input {
  flex: 1;
  min-width: 0;
  padding: .7rem .8rem;
  border: 1px solid #82917c;
  border-radius: .35rem;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
.newsletter input::placeholder { color: var(--muted); }
.newsletter input:focus {
  border-color: #54705e;
  outline: 1px solid #54705e;
  outline-offset: -2px;
}
.signup-status { font-weight: 700; }
.signup-status [aria-hidden="true"] { visibility: hidden; }
.footer-top .wordmark { width: clamp(10rem, 22vw, 20rem); color: var(--butter); }
.site-footer nav { flex-wrap: wrap; }
.site-footer nav a:hover, .site-footer nav [aria-current="page"], .footer-bottom a:hover { color: var(--butter); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .35rem 1rem; margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid #f8f7ef42; font-size: .8rem; }
.footer-bottom a { text-decoration: underline; }

.menu-intro { padding-block: clamp(1.8rem, 4vw, 4rem); background: var(--forest); color: var(--paper); }
.menu-masthead { display: flex; align-items: end; justify-content: space-between; gap: 1rem 3rem; }
.menu-masthead h1 { font-size: clamp(3.4rem, 8.5vw, 8rem); color: var(--butter); line-height: .92; letter-spacing: -.06em; }
.menu-masthead p { max-width: 29ch; }
.menu-tabs { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: clamp(1.5rem, 3vw, 3rem); padding-top: 1.15rem; border-top: 1px solid #f8f7ef55; }
.menu-tabs button {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 3rem;
  padding: .25rem 1rem;
  border: 1px solid #f8f7ef80;
  border-radius: 2rem;
  background: transparent;
  color: inherit;
  font: 700 .95rem/1.2 var(--sans);
  cursor: pointer;
}
.menu-tabs button:has(img) { padding-left: .25rem; }
.menu-tabs img { width: 2.4rem; height: 2.4rem; border-radius: 50%; }
.menu-tabs button:hover { background: #405a49; }
.menu-tabs button[aria-pressed="true"] { background: var(--butter); border-color: var(--butter); color: var(--deep); }
.menu-layout { padding-block: clamp(2rem, 4.5vw, 4rem) var(--section-space); }
.menu-group { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 2rem; border-top: 1px solid var(--forest); }
.menu-group + .menu-group { margin-top: 3.5rem; }
.menu-groups:has([hidden]) .menu-group { margin-top: 0; }
.menu-group h2, .menu-note { grid-column: 1 / -1; }
.menu-group h2 { margin: .85rem 0 1.5rem; color: var(--forest); font-size: clamp(2.3rem, 4.1vw, 3.75rem); }
.menu-item { display: grid; grid-template-columns: clamp(3.2rem, 4.5vw, 4.25rem) 1fr auto; align-items: start; gap: .75rem; border-top: 1px solid var(--line); padding-block: 1.15rem; }
.menu-item img { width: 100%; height: auto; border-radius: 50%; }
.menu-item h3 { font-size: 1.18rem; line-height: 1.1; }
.menu-item p, .menu-note { color: var(--muted); font-size: .88rem; margin-top: .3rem; }
.menu-item small { display: inline-block; color: var(--forest); font-size: .76rem; }
.menu-item > span { font-weight: 700; font-size: .9rem; white-space: nowrap; }
.menu-item:target { background: var(--soft-butter); }

@media (max-width: 900px) {
  .menu-group { grid-template-columns: 1fr; }
  .place { gap: 4%; grid-template-columns: .85fr 1fr; }
  .visit { font-size: .9rem; gap: .8rem; }
}
@media (max-width: 700px) {
  .site-header nav, .site-footer nav { gap: .9rem; font-size: .85rem; }
  .nav-visit { padding-inline: .9rem; }
  .hero-spread { min-height: clamp(25rem, 81vw, 31rem); }
  .hero-slip { width: min(78%, 28rem); padding: 1.8rem 1rem; }
  .hero h1 { font-size: clamp(2.1rem, 7.7vw, 3.7rem); }
  .hero-slip p { font-size: .95rem; }
  .counter > .wrap, .place { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
  .counter h2 { max-width: none; }
  .storefront img { aspect-ratio: 1.5; }
  .newsletter { grid-template-columns: minmax(0, 1fr); }
  .newsletter-photo { height: clamp(8rem, 32vw, 13rem); }
  .footer-top { align-items: start; flex-direction: column; }
  .menu-masthead { align-items: start; flex-direction: column; }
  .menu-tabs { gap: .5rem; }
}
@media (max-width: 540px) {
  .info-inner { flex-direction: column; }
  .info-inner ul { gap: .7rem; font-size: .69rem; }
  .section-heading { align-items: start; flex-direction: column; gap: 1rem; }
  .daily-grid { grid-template-columns: 1fr; }
  .daily-item:nth-child(even) { margin-top: 0; }
}
@media (max-width: 390px) {
  .newsletter-fields { flex-direction: column; }
  .site-header .wordmark { width: 6.8rem; }
  .site-header nav { gap: .5rem; font-size: .8rem; }
  .header-inner { gap: .5rem; }
  .nav-visit { padding-inline: .65rem; white-space: nowrap; }
  .visit { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  a, button { transition: none; }
}
