/* ============================================================
   Twisted Nick's — twistednicks.com
   Built by BOSS, Brave Ones Smart Solutions
   Palette pulled from client-approved artwork:
   charred wood #2B1A10 / #1A0F08, brick red #A1272B,
   cream #F6EEDC, sign yellow #F5C518, flame orange #E8722A
   ============================================================ */

:root {
  --wood-dark: #1a0f08;
  --wood: #2b1a10;
  --brick: #a1272b;
  --brick-dark: #7e1e21;
  --cream: #f6eedc;
  --yellow: #f5c518;
  --orange: #e8722a;
  --taco-green: #1e8a3c;
  --ink: #241207;
  --font-display: "Luckiest Guy", "Rubik", sans-serif;
  --font-body: "Rubik", Arial, sans-serif;
  --font-tacos: "Creepster", var(--font-display);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--cream);
  background: var(--wood-dark) url("../assets/wood-tile.webp") left top / 1500px auto repeat fixed;
}
@media (max-width: 900px) {
  body { background-size: 1100px auto; }
}

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

a { color: var(--yellow); }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--yellow); color: var(--ink);
  padding: .6rem 1rem; z-index: 100; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- Section titles ---------- */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  letter-spacing: .03em;
  color: var(--cream);
  text-shadow: 3px 3px 0 rgba(0,0,0,.55);
  margin: 0 0 .6rem;
  line-height: 1.05;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: .04em;
  text-decoration: none;
  padding: .8rem 1.6rem .65rem;
  border-radius: 10px;
  border: 3px solid transparent;
  line-height: 1.1;
}
.btn-primary {
  background: var(--brick);
  color: #fff;
  border-color: #fff;
  box-shadow: 0 4px 0 rgba(0,0,0,.45);
}
.btn-primary:hover { background: var(--brick-dark); }
.btn-ghost {
  background: rgba(0,0,0,.45);
  color: var(--cream);
  border-color: var(--cream);
}
.btn-ghost:hover { background: rgba(0,0,0,.7); }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 10, 5, .96);
  border-bottom: 3px solid var(--brick);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: .5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-brand img { width: 154px; height: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
  font-size: .98rem;
}
.nav-links a:hover { color: var(--yellow); }
.nav-links a.nav-cta {
  background: var(--brick);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 8px;
  border: 2px solid #fff;
}
.nav-links a.nav-cta:hover { background: var(--brick-dark); color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--cream);
  border-radius: 8px;
  padding: .5rem .55rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 3px;
  background: var(--cream);
  margin: 4px 0;
  border-radius: 2px;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(20, 10, 5, .98);
    border-bottom: 3px solid var(--brick);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: .95rem 1.25rem;
    border-top: 1px solid rgba(246,238,220,.12);
    font-size: 1.05rem;
  }
  .nav-links a.nav-cta {
    margin: .8rem 1.25rem 1rem;
    text-align: center;
    border-radius: 8px;
  }
}

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero img { width: 100%; border-bottom: 3px solid var(--brick); }
.hero-bar {
  background: linear-gradient(180deg, rgba(26,15,8,.35), var(--wood-dark) 55%);
  margin-top: -6px;
  padding: 1.6rem 1rem 2.4rem;
  text-align: center;
}
.hero-bar-inner { max-width: 820px; margin: 0 auto; }
.hero-bar h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.4vw, 2.8rem);
  color: var(--yellow);
  text-shadow: 3px 3px 0 rgba(0,0,0,.6);
  margin: 0 0 .6rem;
  line-height: 1.12;
}
.hero-bar p {
  margin: 0 auto 1.3rem;
  max-width: 640px;
  font-size: 1.1rem;
}
.hero-actions {
  display: flex;
  gap: .9rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Menu ---------- */
.menu {
  background-color: var(--wood);
  background-image:
    url("../assets/polaroids.webp"),
    url("../assets/wood-tile.webp");
  background-position: left 18px top 40px, left top;
  background-size: auto calc(100% - 80px), 1500px auto;
  background-repeat: no-repeat, repeat;
  padding: 3.2rem 1rem 3.6rem;
}
.menu-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: clamp(0px, 32vw, 430px);
}
.menu .section-title,
.menu-note { text-align: center; }
.menu-note {
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: .02em;
  margin: 0 0 1.8rem;
}
.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.9rem;
  align-items: center;
}
.menu-list li { text-align: center; width: 100%; }
.menu-list img {
  margin: 0 auto;
  width: min(560px, 92%);
  height: auto;
  filter: drop-shadow(0 5px 8px rgba(0,0,0,.55));
}
.menu-sub {
  display: block;
  margin-top: .35rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-shadow: 2px 2px 0 rgba(0,0,0,.6);
}
.menu-tacos {
  font-family: var(--font-tacos);
  font-size: clamp(2.6rem, 6.5vw, 4.1rem);
  color: #fff;
  letter-spacing: .04em;
  text-shadow:
    -2px -2px 0 var(--taco-green),
     2px -2px 0 var(--taco-green),
    -2px  2px 0 var(--taco-green),
     2px  2px 0 var(--taco-green),
     0 6px 10px rgba(0,0,0,.55);
}
@media (max-width: 900px) {
  .menu { background: var(--wood) url("../assets/wood-tile.webp") left top / 900px auto repeat; }
  body { background-size: 900px auto; }
  .menu-inner { padding-left: 0; }
}

/* ---------- Red band ---------- */
.band {
  background: var(--brick);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: .75rem 1.4rem;
  border-top: 3px solid rgba(0,0,0,.25);
  border-bottom: 3px solid rgba(0,0,0,.25);
}
.band a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: .05em;
  text-decoration: none;
}
.band a:hover { color: var(--yellow); }

/* ---------- Story ---------- */
.story { padding: 3.4rem 1rem 1rem; }
.story-inner,
.tallow-inner {
  max-width: 1020px;
  margin: 0 auto 3.2rem;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.4rem;
  align-items: start;
}
.tallow-inner { grid-template-columns: 280px 1fr; }
.story-copy p, .tallow-copy p { margin: 0 0 1.1rem; }
.tallow-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  color: var(--yellow);
  text-shadow: 2px 2px 0 rgba(0,0,0,.55);
  margin: 0 0 .8rem;
}

/* Polaroid treatment (signature motif from client art) */
.polaroid {
  margin: 0;
  background: #f4efe2;
  padding: 12px 12px 16px;
  box-shadow: 0 8px 18px rgba(0,0,0,.5);
  transform: rotate(-2.2deg);
}
.tallow-photo { transform: rotate(2deg); }
.polaroid img { width: 100%; }
.polaroid figcaption {
  color: #4a3a28;
  font-size: .9rem;
  text-align: center;
  padding-top: .55rem;
  font-weight: 500;
}

@media (max-width: 780px) {
  .story-inner, .tallow-inner {
    grid-template-columns: 1fr;
  }
  .polaroid { max-width: 340px; margin: 0 auto; }
}

/* ---------- Catering ---------- */
.catering {
  background: rgba(0,0,0,.35);
  padding: 3.4rem 1rem;
}
.catering-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.catering-lead { max-width: 620px; margin: 0 auto 2rem; }
.how-it-works {
  text-align: left;
  max-width: 620px;
  margin: 0 auto 2.4rem;
  padding-left: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.how-it-works strong { color: var(--yellow); }

.booking-card {
  background: var(--cream);
  color: var(--ink);
  border-radius: 14px;
  border: 4px solid var(--brick);
  box-shadow: 0 10px 24px rgba(0,0,0,.5);
  padding: 2rem 1.6rem 1.8rem;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}
.booking-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--brick);
  margin: 0 0 .8rem;
  text-align: center;
}
.booking-card a { color: var(--brick); font-weight: 700; }
.booking-fallback { font-size: 1.08rem; margin: 0 0 .9rem; }
.booking-reassure { font-size: .92rem; color: #5c4a33; margin: 0; }

/* ---------- Contact ---------- */
.contact { padding: 3.6rem 1rem 3.8rem; text-align: center; }
.contact-inner { max-width: 640px; margin: 0 auto; }
.contact-phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--yellow);
  text-decoration: none;
  text-shadow: 3px 3px 0 rgba(0,0,0,.6);
  margin: .6rem 0 .2rem;
}
.contact-phone:hover { color: #fff; }
.contact-names { font-weight: 700; margin: 0 0 1.6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--wood-dark); }
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.footer-mark { width: 200px; }
.footer-phone {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: #fff;
  text-decoration: none;
}
.footer-phone:hover { color: var(--yellow); }
.footer-badge {
  width: 188px;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
}
.band-footer { border-bottom: 0; }
.footer-legal {
  text-align: center;
  font-size: .85rem;
  color: rgba(246,238,220,.55);
  padding: .9rem 1rem 1.1rem;
  margin: 0;
  background: #120a05;
}
@media (max-width: 640px) {
  .footer-inner { justify-content: center; text-align: center; }
}
