/* ============================================================
   BYRON BAYGELS — design system
   Brand red sampled from logo: #B92E16. Retro boho café:
   warm cream, brick red, striped-awning + checker-tile motifs.
   ============================================================ */

:root {
  --red: #B92E16;
  --red-dark: #96240F;
  --red-soft: #D9553D;
  --cream: #FAF5EC;
  --cream-2: #F3EBDC;
  --paper: #FFFDF8;
  --ink: #2E1F17;
  --ink-soft: #6B584D;
  --line: rgba(185, 46, 22, .25);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(46, 31, 23, .10);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Karla", -apple-system, "Helvetica Neue", sans-serif;
  --font-script: "Yellowtail", cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: -.01em;
}

a { color: var(--red); }

.container { width: min(1140px, 92vw); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tint { background: var(--cream-2); }
.section--paper { background: var(--paper); }
.section--red { background: var(--red); color: var(--cream); }
.section--red h2, .section--red h3 { color: var(--cream); }

/* ---- type helpers ---- */
.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .9rem;
}
.section--red .kicker { color: var(--cream); opacity: .85; }

.display { font-size: clamp(2.6rem, 6.5vw, 4.6rem); }
.h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 1rem; }
.h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--ink-soft); max-width: 62ch; }
.script { font-family: var(--font-script); font-weight: 400; color: var(--red); letter-spacing: 0; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---- awning stripe divider ---- */
.stripe {
  height: 18px;
  background: repeating-linear-gradient(
    -45deg,
    var(--red) 0 22px,
    var(--paper) 22px 44px
  );
  border-block: 3px solid var(--red);
}

/* ---- checker tile accent (counter tiles) ---- */
.tiles {
  background-image:
    linear-gradient(var(--line) 1.5px, transparent 1.5px),
    linear-gradient(90deg, var(--line) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  background-color: var(--paper);
}

/* ---- buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .95rem 2rem;
  border-radius: 999px;
  background: var(--red);
  color: var(--cream);
  border: 2px solid var(--red);
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--red); }
.btn--outline:hover { background: var(--red); color: var(--cream); }
.btn--cream { background: var(--cream); color: var(--red); border-color: var(--cream); }
.btn--cream:hover { background: var(--paper); border-color: var(--paper); color: var(--red-dark); }

/* ---- cards / badges ---- */
.card {
  background: var(--paper);
  border: 2px solid var(--red);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  border: 1.5px solid var(--red);
  border-radius: 999px;
  padding: .2rem .7rem;
  background: var(--paper);
}

/* ---- photo frames ---- */
.photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--red);
  background: var(--cream-2);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---- grid helpers ---- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ---- marquee strip ---- */
.marquee {
  overflow: hidden;
  background: var(--red);
  color: var(--cream);
  padding: .8rem 0;
  border-block: 3px solid var(--red-dark);
}
.marquee__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---- nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 3px solid var(--red);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: .65rem 0;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: .02em;
}
.nav__brand img { width: 52px; height: 52px; border-radius: 50%; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-left: auto;
  list-style: none;
}
.nav__links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding-bottom: .2rem;
  border-bottom: 2px solid transparent;
}
.nav__links a:hover { color: var(--red); }
.nav__links a.is-active { color: var(--red); border-bottom-color: var(--red); }
.nav__links .btn { padding: .6rem 1.4rem; font-size: .8rem; }
.nav__toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 2px solid var(--red);
  border-radius: 8px;
  color: var(--red);
  font-size: 1.4rem;
  line-height: 1;
  padding: .3rem .55rem;
  cursor: pointer;
}
@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 1.1rem;
    background: var(--cream);
    border-bottom: 3px solid var(--red);
    padding: 1.4rem 0 1.8rem;
    margin: 0;
  }
  .nav__links.is-open { display: flex; }
}

/* ---- page hero (subpages) ---- */
.page-hero { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.2rem, 5vw, 3.5rem); text-align: center; }
.page-hero .display { margin-bottom: .6rem; }

/* ---- menu ---- */
.menu-item {
  background: var(--paper);
  border: 2px solid var(--red);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.menu-item__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.menu-item__name { font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; }
.menu-item__price { font-family: var(--font-display); font-weight: 900; color: var(--red); font-size: 1.15rem; white-space: nowrap; }
.menu-item__desc { color: var(--ink-soft); font-size: .98rem; }
.menu-item__tags { display: flex; gap: .4rem; margin-top: .35rem; flex-wrap: wrap; }

/* ---- footer ---- */
.footer { background: var(--red); color: var(--cream); }
.footer a { color: var(--cream); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 3.5rem 0 2.5rem;
}
@media (max-width: 900px) { .footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__inner { grid-template-columns: 1fr; } }
.footer__brand img { width: 84px; height: 84px; border-radius: 50%; background: var(--paper); padding: 4px; margin-bottom: 1rem; }
.footer h4 {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: .9rem;
  opacity: .85;
}
.footer ul { list-style: none; display: grid; gap: .45rem; font-size: .98rem; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__bottom {
  border-top: 1px solid rgba(250, 245, 236, .35);
  padding: 1.2rem 0 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .85rem;
  opacity: .9;
}
.footer .script { color: var(--cream); font-size: 1.5rem; }

/* ---- forms (order + contact) ---- */
.field { display: grid; gap: .35rem; margin-bottom: 1.1rem; }
.field label { font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  font: inherit;
  padding: .75rem .9rem;
  border: 2px solid var(--red);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(185, 46, 22, .25); }

/* ---- utility ---- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.hidden { display: none !important; }
