/* ============================================================
   RAPP SMOKEHOUSE & GRUB SHACK
   Rustic letterpress smokehouse theme
   Black smoke · butcher-paper cream · barn red
   ============================================================ */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Oswald:wght@400;500;600;700&family=Yellowtail&family=Bitter:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* ---- Design tokens ---- */
:root {
  --char:        #181513;   /* smoked charcoal black */
  --char-2:      #221d19;   /* slightly lifted black for panels */
  --paper:       #f4f1ea;   /* butcher-paper cream */
  --paper-2:     #ece6d8;   /* darker paper for cards */
  --red:         #b0281f;   /* barn red */
  --red-dark:    #8c1f17;
  --ember:       #e8643a;   /* flame accent */
  --cream-line:  #d8cfbb;
  --ink-soft:    #4a423b;
  --gold:        #d9a441;

  --display: 'Anton', 'Oswald', sans-serif;
  --head:    'Oswald', sans-serif;
  --script:  'Yellowtail', cursive;
  --body:    'Bitter', Georgia, serif;

  --shadow-hard: 6px 6px 0 var(--char);
  --shadow-soft: 0 14px 34px rgba(0,0,0,.28);
  --maxw: 1140px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  color: var(--char);
  line-height: 1.6;
  background-color: var(--paper);
  /* subtle butcher-paper grain */
  background-image:
    radial-gradient(circle at 20% 15%, rgba(0,0,0,.025) 0, transparent 60%),
    radial-gradient(circle at 85% 80%, rgba(0,0,0,.03) 0, transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }

/* ---- Shared layout ---- */
.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
section { padding: clamp(3.5rem, 7vw, 6rem) 0; }

/* ---- Typography helpers ---- */
.display {
  font-family: var(--display);
  letter-spacing: .5px;
  line-height: .95;
  text-transform: uppercase;
}
.script { font-family: var(--script); text-transform: none; color: var(--red); }

h1, h2, h3 { font-family: var(--head); text-transform: uppercase; letter-spacing: .5px; }

/* star divider: ★ ★ from the menu */
.stars { color: var(--red); letter-spacing: .35em; font-size: .9em; }

/* ---- Buttons ---- */
.btn {
  --bg: var(--red);
  --fg: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: .9rem;
  padding: .85rem 1.6rem;
  background: var(--bg);
  color: var(--fg);
  border: 2px solid var(--char);
  box-shadow: 4px 4px 0 var(--char);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--char); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--char); }
.btn--ghost { --bg: transparent; --fg: var(--char); }
.btn--dark  { --bg: var(--char); --fg: var(--paper); border-color: var(--paper); box-shadow: 4px 4px 0 var(--red); }
.btn--lg    { font-size: 1rem; padding: 1.05rem 2.1rem; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--char);
  border-bottom: 3px solid var(--red);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .65rem 0;
}
.nav__logo { display: flex; align-items: center; gap: .7rem; }
.nav__logo img { height: 54px; width: auto; background: var(--paper); padding: 4px 8px; border-radius: 3px; }
.nav__links { display: flex; align-items: center; gap: 1.7rem; list-style: none; }
.nav__links a {
  font-family: var(--head); font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; font-size: .85rem; color: var(--paper);
  padding-bottom: 3px; position: relative;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--red); transition: width .2s ease;
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }
.nav__links a[aria-current="page"] { color: var(--ember); }
.nav__cta { margin-left: .5rem; }

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: .4rem;
}
.nav__toggle span { display: block; width: 26px; height: 3px; background: var(--paper); margin: 5px 0; transition: .25s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--char) url('../images/Hero.png') center/cover no-repeat;
  color: var(--paper);
  padding: clamp(4rem, 12vw, 9rem) 0 clamp(3.5rem, 9vw, 7rem);
  text-align: left;
  border-bottom: 6px solid var(--red);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,8,7,.86) 0%, rgba(10,8,7,.55) 55%, rgba(10,8,7,.15) 100%);
}
.hero .wrap { position: relative; z-index: 1; max-width: 720px; }
.hero__eyebrow {
  font-family: var(--head); text-transform: uppercase; letter-spacing: 3px;
  color: var(--ember); font-weight: 600; font-size: .8rem; margin-bottom: .8rem;
}
.hero__title { font-size: clamp(2.6rem, 7vw, 5rem); color: var(--paper); text-shadow: 3px 3px 0 rgba(0,0,0,.4); }
.hero__title em { color: var(--red); font-style: normal; }
.hero__tag {
  font-family: var(--script); color: var(--ember);
  font-size: clamp(1.6rem, 4vw, 2.6rem); margin: .4rem 0 1.4rem; line-height: 1;
}
.hero__sub { font-size: 1.1rem; max-width: 46ch; color: #e9e2d6; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__chips {
  margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem;
  font-family: var(--head); text-transform: uppercase; letter-spacing: 2px;
  font-size: .8rem; color: #ccc3b5;
}
.hero__chips span::before { content: '★ '; color: var(--red); }

/* ============================================================
   SECTION HEADERS (menu-style numbered banners)
   ============================================================ */
.band { text-align: center; max-width: 760px; margin: 0 auto clamp(2rem,4vw,3rem); }
.band__kicker { font-family: var(--head); letter-spacing: 3px; text-transform: uppercase; color: var(--red); font-weight: 600; font-size: .85rem; }
.band__title { font-family: var(--display); font-size: clamp(2rem, 5vw, 3.2rem); margin: .3rem 0 .7rem; }
.band__title .script { font-size: 1.1em; vertical-align: -.05em; }
.band__text { color: var(--ink-soft); font-size: 1.05rem; }

/* black numbered banner like the printed menu */
.banner {
  display: inline-flex; align-items: stretch; margin-bottom: 1.6rem;
  box-shadow: var(--shadow-hard);
}
.banner__num {
  background: var(--paper); color: var(--char); font-family: var(--display);
  font-size: 1.5rem; padding: .35rem .8rem; border: 3px solid var(--char);
  display: grid; place-items: center;
}
.banner__label {
  background: var(--char); color: var(--paper); font-family: var(--display);
  font-size: 1.5rem; letter-spacing: 1px; padding: .45rem 1.2rem .35rem;
  border: 3px solid var(--char); border-left: 0; display: flex; align-items: center; gap: .6rem;
}
.banner__label .stars { color: var(--ember); }

/* ============================================================
   INTRO STRIP
   ============================================================ */
.intro { background: var(--char-2); color: var(--paper); border-block: 6px solid var(--red); }
.intro .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.intro__title { font-family: var(--display); font-size: clamp(1.8rem,4vw,2.8rem); }
.intro__title .script { color: var(--ember); }
.intro p { color: #ded6c8; margin-top: 1rem; font-size: 1.08rem; }
.intro__pic { border: 4px solid var(--paper); box-shadow: var(--shadow-hard); }
.intro__pic img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

/* ============================================================
   MENU HIGHLIGHT CARDS
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1.4rem; }
.card {
  background: var(--paper-2); border: 3px solid var(--char);
  box-shadow: var(--shadow-hard); padding: 1.6rem 1.5rem 1.4rem;
  display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 var(--char); }
.card__num { font-family: var(--display); font-size: 2.4rem; color: var(--red); line-height: 1; }
.card__title { font-family: var(--head); font-weight: 700; font-size: 1.25rem; margin: .3rem 0 .7rem; }
.card ul { list-style: none; font-size: .98rem; color: var(--ink-soft); flex: 1; }
.card li { padding: .28rem 0; border-bottom: 1px dashed var(--cream-line); display: flex; justify-content: space-between; gap: 1rem; }
.card li:last-child { border-bottom: 0; }
.card li .price { font-family: var(--head); font-weight: 600; color: var(--char); white-space: nowrap; }
.card__foot { margin-top: 1rem; font-family: var(--head); text-transform: uppercase; letter-spacing: 1px; font-size: .8rem; color: var(--red); }

/* ============================================================
   GATHERINGS TEASER
   ============================================================ */
.gather {
  background: var(--char); color: var(--paper); text-align: center;
  position: relative; overflow: hidden; border-block: 6px solid var(--red);
}
.gather::after {
  content: '★'; position: absolute; right: -1rem; bottom: -3rem;
  font-size: 16rem; color: rgba(176,40,31,.16); line-height: 1; pointer-events: none;
}
.gather .wrap { position: relative; z-index: 1; max-width: 720px; }
.gather__title { font-family: var(--display); font-size: clamp(2.2rem,6vw,4rem); }
.gather__title em { font-style: normal; color: var(--ember); }
.gather__script { font-family: var(--script); color: var(--red); font-size: clamp(1.6rem,4vw,2.4rem); display:block; margin-top:.2rem; }
.gather p { color: #ded6c8; font-size: 1.12rem; max-width: 52ch; margin: 1.2rem auto 1.8rem; }

/* ============================================================
   DOWNLOAD STRIP
   ============================================================ */
.dl { text-align: center; }
.dl .band__title { margin-bottom: 1.4rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--char); color: #cabfae; border-top: 6px solid var(--red); padding: 3rem 0 1.5rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.site-footer img { height: 80px; background: var(--paper); padding: 6px 10px; border-radius: 4px; }
.site-footer h4 { font-family: var(--head); color: var(--paper); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: .8rem; font-size: 1rem; }
.site-footer a { color: var(--ember); }
.site-footer ul { list-style: none; }
.site-footer li { padding: .25rem 0; font-size: .95rem; }
.site-footer__tag { font-family: var(--script); color: var(--ember); font-size: 1.5rem; margin-top: .6rem; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.2rem; padding-top: 1.2rem;
  text-align: center; font-size: .82rem; letter-spacing: 1px; text-transform: uppercase;
  font-family: var(--head); color: #8c8174;
}
.placeholder { color: var(--gold); font-style: italic; }

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.page-head {
  background: var(--char); color: var(--paper); text-align: center;
  padding: clamp(2.6rem,6vw,4.2rem) 0; border-bottom: 6px solid var(--red);
}
.page-head h1 { font-family: var(--display); font-size: clamp(2.2rem,6vw,4rem); }
.page-head h1 em { font-style: normal; color: var(--ember); }
.page-head p { color: #ded6c8; max-width: 56ch; margin: .8rem auto 0; font-size: 1.08rem; }

/* ============================================================
   FORMS (order + contact)
   ============================================================ */
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: .82rem; margin-bottom: .4rem; }
.field .req { color: var(--red); }
input, select, textarea {
  width: 100%; font-family: var(--body); font-size: 1rem; color: var(--char);
  background: var(--paper); border: 2px solid var(--char); padding: .7rem .85rem;
  border-radius: 0; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--red); box-shadow: 3px 3px 0 var(--red); }
textarea { resize: vertical; min-height: 120px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.4rem; }

.notes-box {
  background: var(--paper-2); border: 3px solid var(--char); box-shadow: var(--shadow-hard);
  padding: 1.4rem 1.6rem; margin-bottom: 2.4rem;
}
.notes-box h3 { font-family: var(--head); font-size: 1.1rem; margin-bottom: .6rem; }
.notes-box ul { margin-left: 1.1rem; color: var(--ink-soft); }
.notes-box li { padding: .15rem 0; }

/* ---- Order estimator ---- */
.order-cat { margin-bottom: 2.4rem; }
.order-cat__note { color: var(--ink-soft); font-style: italic; margin: -.6rem 0 1rem; }
.order-table { width: 100%; border-collapse: collapse; }
.order-table th {
  font-family: var(--head); text-transform: uppercase; letter-spacing: 1px; font-size: .78rem;
  text-align: left; padding: .5rem .6rem; border-bottom: 3px solid var(--char); color: var(--char);
}
.order-table th.num, .order-table td.num { text-align: right; }
.order-row td { padding: .85rem .6rem; border-bottom: 1px dashed var(--cream-line); vertical-align: top; }
.order-row .item-name { font-family: var(--head); font-weight: 600; font-size: 1.05rem; }
.order-row .item-desc { color: var(--ink-soft); font-size: .9rem; }
.order-row .item-serves { color: var(--red); font-size: .82rem; font-family: var(--head); text-transform: uppercase; letter-spacing: .5px; }
.order-row .unit-price { font-family: var(--head); white-space: nowrap; }
.order-row .line-total { font-family: var(--head); font-weight: 700; white-space: nowrap; }

.qty { display: inline-flex; align-items: stretch; border: 2px solid var(--char); }
.qty button {
  width: 34px; background: var(--char); color: var(--paper); border: 0; cursor: pointer;
  font-family: var(--head); font-size: 1.2rem; line-height: 1;
}
.qty button:hover { background: var(--red); }
.qty input { width: 56px; border: 0; text-align: center; padding: .4rem 0; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.min-flag { display: block; color: var(--red); font-size: .78rem; font-family: var(--head); text-transform: uppercase; margin-top: .35rem; }

.order-summary {
  position: sticky; bottom: 0; background: var(--char); color: var(--paper);
  border: 3px solid var(--red); box-shadow: var(--shadow-soft);
  padding: 1.3rem 1.6rem; margin-top: 1rem;
}
.order-summary__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.order-summary__total { font-family: var(--display); font-size: 2rem; color: var(--ember); }
.order-summary__total small { font-family: var(--head); font-size: .8rem; color: #cabfae; display: block; letter-spacing: 1px; }
.order-summary__actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.order-disclaimer { font-size: .85rem; color: var(--ink-soft); margin-top: 1rem; font-style: italic; }

/* ---- Events highlight cards ---- */
.event-feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1.3rem; margin-top: 1.5rem; }
.event-feature .card__num { font-size: 1.6rem; }

/* ============================================================
   ANIMATIONS — staggered page-load reveal
   ============================================================ */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
.reveal.d1 { animation-delay: .08s; }
.reveal.d2 { animation-delay: .18s; }
.reveal.d3 { animation-delay: .30s; }
.reveal.d4 { animation-delay: .42s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .intro .wrap { grid-template-columns: 1fr; }
  .intro__pic { order: -1; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: var(--char); padding: 1rem 1.25rem 1.5rem; gap: 1rem;
    border-bottom: 3px solid var(--red); transform: translateY(-130%);
    transition: transform .28s ease; z-index: -1;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__cta { margin-left: 0; }
  .nav__toggle { display: block; }
}
@media (max-width: 620px) {
  .field-grid { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .order-table thead { display: none; }
  .order-row { display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; padding: 1rem 0; border-bottom: 2px solid var(--cream-line); }
  .order-row td { padding: .15rem 0; border: 0; }
  .order-row .cell-item { grid-column: 1 / -1; }
  .order-row .cell-price { align-self: center; }
  .order-row .cell-qty { grid-column: 1 / -1; }
  .order-row .cell-total { grid-column: 1 / -1; text-align: right; }
  .order-summary { position: static; }
}

/* ============================================================
   PRINT — clean order quote
   ============================================================ */
@media print {
  .site-header, .site-footer, .hero, .nav__toggle,
  .order-summary__actions, .notes-box .btn, .qty button { display: none !important; }
  body { background: #fff; }
  .order-summary { position: static; border: 2px solid #000; box-shadow: none; color: #000; background: #fff; }
  .order-summary__total { color: #000; }
  .qty input { border: 1px solid #000; }
  * { box-shadow: none !important; }
}
