/* =========================================================
   Binkley BBQ — theme
   Palette: charred wood + aged brass + ember orange
   Display face: Rye (used sparingly — wordmark + date medallions)
   Body/UI face: Mulish
   ========================================================= */

:root {
  --char-950: #14100c;
  --char-900: #1b1510;
  --char-800: #241a13;
  --char-700: #3a2a1d;
  --brass: #c9a24d;
  --brass-light: #e6cf8a;
  --ember: #d9622b;
  --ember-dark: #a8481d;
  --cream: #f2e8d3;
  --cream-dim: #b9ab8c;
  --danger: #e0563f;

  --radius: 10px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Mulish', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--cream);
  background-color: var(--char-900);
  background-image:
    repeating-linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.14) 0px,
      rgba(0, 0, 0, 0.14) 1px,
      transparent 1px,
      transparent 3px
    ),
    radial-gradient(ellipse 900px 500px at 50% -10%, rgba(201, 162, 77, 0.10), transparent 60%);
}

a {
  color: var(--brass-light);
}

a:hover {
  color: var(--ember);
}

h1, h2, h3, legend {
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  color: var(--brass);
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 0.9rem;
}

.muted {
  color: var(--cream-dim);
}

.brass-text {
  color: var(--brass-light);
}

/* ---------- layout ---------- */

.site-header {
  display: flex;
  justify-content: center;
  padding: 2.5rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--char-700);
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  text-align: center;
}

.brand__logo {
  height: 92px;
  width: auto;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.brand__wordmark {
  font-family: 'Rye', serif;
  font-size: 2rem;
  color: var(--brass);
  letter-spacing: 0.02em;
}

.brand__tagline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cream-dim);
  margin-top: 0.35rem;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1.1rem;
}

.site-nav a {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cream-dim);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ember);
}

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.site-footer {
  text-align: center;
  padding: 2rem 1.25rem 3rem;
  color: var(--cream-dim);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-bottom: 1px solid var(--char-700);
}

.hero__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 12, 0) 45%, var(--char-900) 100%);
  pointer-events: none;
}

/* ---------- gallery ---------- */

.gallery {
  margin-top: 2.5rem;
}

.gallery__title {
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.gallery__grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--char-700);
}

/* ---------- headings / intro ---------- */

.page-title {
  font-size: 1.5rem;
}

.page-subtitle {
  color: var(--cream-dim);
}

.intro {
  margin-bottom: 1.75rem;
}

/* ---------- panels ---------- */

.panel {
  background: var(--char-800);
  border: 1px solid var(--char-700);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem;
  margin: 0 0 1.25rem;
  box-shadow: var(--shadow);
}

.panel--notes {
  color: var(--cream-dim);
}

.panel--notes p:last-child {
  margin-bottom: 0;
}

.panel--center {
  text-align: center;
}

legend {
  padding: 0 0.4rem;
  font-size: 1rem;
}

fieldset.panel {
  border: 1px solid var(--char-700);
}

/* ---------- cook-day medallion (signature element) ---------- */

.medallion {
  --size: 76px;
  width: var(--size);
  height: var(--size);
  min-width: var(--size);
  border-radius: 50%;
  background: var(--char-900);
  box-shadow:
    0 0 0 2px var(--char-950),
    0 0 0 4px var(--brass);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}

.medallion--lg {
  --size: 92px;
}

.medallion__day {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brass-light);
}

.medallion__date {
  font-family: 'Rye', serif;
  font-size: 1.5rem;
  color: var(--brass);
}

.medallion--lg .medallion__date {
  font-size: 1.85rem;
}

.medallion__month {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cream-dim);
}

/* ---------- event list ---------- */

.event-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.event-card__link {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: var(--char-800);
  border: 1px solid var(--char-700);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.event-card__link:hover {
  border-color: var(--brass);
  transform: translateY(-2px);
}

.event-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.event-card__title {
  font-weight: 800;
  color: var(--cream);
}

.event-card__notes {
  color: var(--cream-dim);
  font-size: 0.9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-card__cta {
  color: var(--ember);
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.2rem;
}

.empty-state {
  color: var(--cream-dim);
  padding: 1.5rem;
  text-align: center;
  border: 1px dashed var(--char-700);
  border-radius: var(--radius);
}

.event-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

/* ---------- menu items ---------- */

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--char-700);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.menu-item__name {
  font-weight: 700;
  color: var(--cream);
}

.menu-item__meta {
  font-size: 0.85rem;
  color: var(--cream-dim);
}

.menu-item .menu-item__qty {
  width: 4.5rem;
  flex-shrink: 0;
}

/* ---------- forms ---------- */

.field {
  margin-bottom: 1rem;
}

.field:last-child {
  margin-bottom: 0;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cream-dim);
  margin-bottom: 0.3rem;
}

input[type="text"],
input[type="email"],
input[type="number"],
select {
  width: 100%;
  background: var(--char-900);
  border: 1px solid var(--char-700);
  border-radius: 8px;
  color: var(--cream);
  padding: 0.6rem 0.75rem;
  font-family: 'Mulish', sans-serif;
  font-size: 1rem;
}

input:focus-visible,
select:focus-visible,
.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 2px;
}

.payment-options {
  display: flex;
  gap: 0.75rem;
}

.payment-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 1px solid var(--char-700);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  color: var(--cream-dim);
  margin: 0;
}

.payment-option:has(input:checked) {
  border-color: var(--ember);
  color: var(--cream);
  background: rgba(217, 98, 43, 0.12);
}

.payment-option input {
  accent-color: var(--ember);
}

.payment-option--disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.payment-option--disabled em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--cream-dim);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  padding: 0.85rem 1.75rem;
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.12s ease;
}

.btn--primary {
  background: var(--ember);
  color: var(--cream);
}

.btn--primary:hover {
  background: var(--ember-dark);
}

.btn--block {
  width: 100%;
}

/* ---------- alerts / tags ---------- */

.alert {
  padding: 0.85rem 1.1rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.alert--error {
  background: rgba(224, 86, 63, 0.14);
  border: 1px solid var(--danger);
  color: #ffd9d0;
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.tag--pending {
  background: rgba(201, 162, 77, 0.16);
  color: var(--brass-light);
}

.tag--confirmed {
  background: rgba(120, 176, 110, 0.16);
  color: #a8d69b;
}

.tag--soldout {
  background: rgba(224, 86, 63, 0.14);
  color: #ffb3a3;
}

.amount {
  font-family: 'Rye', serif;
  font-size: 2.25rem;
  color: var(--brass);
  margin: 0.25rem 0 1rem;
}

.pickup-box {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  background: var(--char-900);
  border: 1px solid var(--char-700);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
}

.pickup-box__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cream-dim);
}

.pickup-box__name {
  font-weight: 800;
  color: var(--cream);
}

.pickup-box__address {
  color: var(--cream-dim);
  font-size: 0.9rem;
}

.alert--disclosure {
  background: rgba(201, 162, 77, 0.12);
  border: 1px solid var(--brass);
  color: var(--brass-light);
  font-size: 0.85rem;
}

/* ---------- blog ---------- */

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.post-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--char-800);
  border: 1px solid var(--char-700);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.post-card:hover {
  border-color: var(--brass);
  transform: translateY(-2px);
}

.post-card__image {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.post-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.post-card__title {
  font-weight: 800;
  color: var(--cream);
}

.post-card__date {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cream-dim);
}

.post-card__excerpt {
  font-size: 0.9rem;
  color: var(--cream-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post__date {
  margin-top: -0.5rem;
}

.post__cover {
  width: 100%;
  border-radius: var(--radius);
  margin: 1rem 0;
  border: 1px solid var(--char-700);
}

.post__body {
  line-height: 1.75;
}

.post__body h2,
.post__body h3 {
  color: var(--brass);
  margin-top: 1.75rem;
}

.post__body a {
  color: var(--ember);
}

.post__body img {
  max-width: 100%;
  border-radius: 8px;
}

.post__body ul,
.post__body ol {
  padding-left: 1.25rem;
}

/* ---------- responsive ---------- */

@media (max-width: 480px) {
  .event-card__link {
    padding: 0.85rem 1rem;
  }
  .medallion {
    --size: 64px;
  }
  .brand__wordmark {
    font-size: 1.6rem;
  }
  .hero {
    height: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* ---------- reviews ---------- */

textarea {
  width: 100%;
  background: var(--char-900);
  border: 1px solid var(--char-700);
  border-radius: 8px;
  color: var(--cream);
  padding: 0.6rem 0.75rem;
  font-family: 'Mulish', sans-serif;
  font-size: 1rem;
  resize: vertical;
}

.review-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-card {
  text-align: center;
}

.review-card__stars {
  color: var(--brass);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.review-card__body {
  font-style: italic;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.review-card__name {
  color: var(--cream-dim);
  font-size: 0.85rem;
}

.review-rotator {
  margin: 2.5rem 0 0;
}

.review-rotator__viewport {
  position: relative;
  min-height: 120px;
}

.review-rotator__slide {
  display: none;
  background: var(--char-800);
  border: 1px solid var(--char-700);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.review-rotator__slide.is-active {
  display: block;
}

.gallery__grid video {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--char-700);
}

.menu-item__photo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
