/* ==========================================================================
   Baked With Beans — punk/sticker stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #0a0a0a;
  --bg-card: #161616;
  --bg-card-raised: #1d1d1d;
  --yellow: #e8ff00;
  --red: #c8232a;
  --paper: #f5f3ea;
  --ink: #f2f0e8;
  --ink-dim: #9a968a;
  --ink-dimmer: #6b6860;
  --border: #2a2a2a;
  --max-w: 1080px;
}

* { box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(circle at 15% 10%, rgba(232, 255, 0, 0.04), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(200, 35, 42, 0.06), transparent 45%);
  color: var(--ink);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--paper);
}

a {
  color: var(--yellow);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

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

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Skip link for a11y */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--yellow);
  color: #000;
  padding: 8px 14px;
  font-weight: 600;
  z-index: 200;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

/* ---- Texture: grain overlay ---- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: 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='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 2px solid var(--border);
  background: linear-gradient(180deg, rgba(0,0,0,0.4), transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 4px;
}

.brand-text h1 {
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.03em;
}
.brand-text h1 .pop { color: var(--yellow); }

/* tagline removed */

.site-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--ink);
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  border-radius: 3px;
  transition: background 0.15s, color 0.15s, transform 0.1s;
}

.site-nav a:hover {
  background: var(--yellow);
  color: #000;
  text-decoration: none;
  transform: rotate(-1deg);
}

.site-nav a[aria-current="page"] {
  color: var(--yellow);
  position: relative;
}

/* ==========================================================================
   Sticker / tape utility
   ========================================================================== */
.sticker {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  clip-path: polygon(
    1.5% 4%, 6% 0%, 94% 1%, 99% 5%,
    98% 95%, 93% 100%, 4% 99%, 1% 94%
  );
}

.tape {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 70px;
  height: 22px;
  background: repeating-linear-gradient(45deg, #d8d3c2, #d8d3c2 4px, #cfc9b6 4px, #cfc9b6 8px);
  opacity: 0.85;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
  z-index: 5;
}

.badge {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 2px;
  background: var(--red);
  color: var(--paper);
  transform: rotate(-1.5deg);
}

.btn {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 26px;
  background: var(--yellow);
  color: #0a0a0a;
  border-radius: 2px;
  border: 2px solid var(--yellow);
  transform: rotate(-1deg);
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 3px 3px 0 var(--red);
}

.btn:hover {
  text-decoration: none;
  transform: rotate(0deg) translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--red);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink-dimmer);
  box-shadow: none;
}
.btn-outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  box-shadow: none;
  transform: rotate(0deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  z-index: 2;
  padding: 64px 0 48px;
  text-align: center;
  overflow: hidden;
}

.hero-mascot {
  width: 160px;
  margin: 0 auto 28px;
  filter: drop-shadow(0 8px 24px rgba(232,255,0,0.08));
}

.hero h2 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.1;
}

.hero h2 .pop { color: var(--yellow); }

.scribble {
  width: 140px;
  margin: 18px auto;
  opacity: 0.85;
}

.hero p.lede {
  max-width: 580px;
  margin: 18px auto 0;
  color: var(--ink-dim);
  font-size: 1.05rem;
}

/* ==========================================================================
   Recipe cards (grid)
   ========================================================================== */
.section-label {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: var(--red);
  margin-bottom: 6px;
  display: block;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 28px;
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 36px;
  padding: 8px 0 56px;
}

.recipe-card {
  padding: 22px;
  transform: rotate(-0.6deg);
  transition: transform 0.2s ease;
}
.recipe-card:nth-child(even) { transform: rotate(0.8deg); }
.recipe-card:hover { transform: rotate(0deg) scale(1.015); }

.recipe-card .thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #0d0d0d;
  border: 1px solid var(--border);
  border-radius: 2px;
  margin-bottom: 14px;
  padding: 10px;
}

.recipe-meta {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink-dimmer);
  margin-bottom: 8px;
}
.recipe-meta .dot { color: var(--red); margin: 0 6px; }

.recipe-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.recipe-card h3 a { color: var(--paper); }
.recipe-card h3 a:hover { color: var(--yellow); text-decoration: none; }

.recipe-card p {
  color: var(--ink-dim);
  font-size: 0.95rem;
  margin: 0 0 16px;
}

.recipe-card .btn { font-size: 0.78rem; padding: 9px 18px; }

.feed-note {
  text-align: center;
  color: var(--ink-dimmer);
  font-size: 0.9rem;
  font-style: italic;
  padding-bottom: 8px;
}

/* ==========================================================================
   About page
   ========================================================================== */
.page-head {
  padding: 56px 0 16px;
  text-align: center;
}
.page-head h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
.page-head p.sub {
  color: var(--ink-dim);
  max-width: 560px;
  margin: 14px auto 0;
}

.about-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 0 64px;
}

.about-portrait {
  width: 160px;
  margin: 0 auto 32px;
  display: block;
}

.about-body p {
  color: var(--ink);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.about-cta {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px dashed var(--border);
  text-align: center;
  color: var(--ink-dim);
}

/* ==========================================================================
   Recipe detail page
   ========================================================================== */
.back-link {
  display: inline-block;
  margin: 24px 0 0;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
}
.back-link:hover { color: var(--yellow); }

.recipe-hero {
  text-align: center;
  padding: 24px 0 8px;
}

.recipe-hero img {
  width: 130px;
  margin: 0 auto 20px;
}

.recipe-hero h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); }

.recipe-hero .dedication {
  color: var(--red);
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  margin-top: 10px;
}

.recipe-intro {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--ink-dim);
  font-size: 1.05rem;
  text-align: center;
}
.recipe-intro a { color: var(--yellow); }

.session-tags {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 22px 0 8px;
}

.session-tag {
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--ink-dim);
  background: var(--bg-card);
}
.session-tag a { color: inherit; }
.session-tag a:hover { color: var(--yellow); text-decoration: none; }
.session-tag .label { color: var(--red); margin-right: 6px; }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  max-width: 680px;
  margin: 36px auto 0;
  border: 1px solid var(--border);
}

.stat {
  background: var(--bg-card);
  padding: 16px 8px;
  text-align: center;
}

.stat .num {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  color: var(--yellow);
  display: block;
}

.stat .label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-dimmer);
  margin-top: 4px;
  display: block;
}

.recipe-body {
  max-width: 680px;
  margin: 48px auto 0;
  padding: 0 0 64px;
}

.recipe-body h2 {
  font-size: 1.4rem;
  margin: 40px 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  position: relative;
}
.recipe-body h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--yellow);
}
.recipe-body > h2:first-child { margin-top: 0; }

.ingredients-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ingredients-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg-card);
  border-left: 3px solid var(--red);
  border-radius: 0 2px 2px 0;
}

.directions-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 16px;
}

.directions-list li {
  counter-increment: step;
  position: relative;
  padding-left: 48px;
  color: var(--ink);
}

.directions-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 32px;
  height: 32px;
  background: var(--yellow);
  color: #000;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transform: rotate(-4deg);
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.verdict {
  margin-top: 40px;
  padding: 22px 24px;
  background: var(--bg-card-raised);
  border-left: 4px solid var(--yellow);
  border-radius: 0 3px 3px 0;
  position: relative;
}
.verdict::before {
  content: 'THE VERDICT';
  position: absolute;
  top: -11px;
  left: 18px;
  background: var(--yellow);
  color: #000;
  font-family: 'Oswald', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 10px;
}
.verdict p {
  margin: 8px 0 0;
  color: var(--ink);
  font-style: italic;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 2;
  margin-top: auto;
  border-top: 2px solid var(--border);
  padding: 36px 0 28px;
  text-align: center;
}

.site-footer img {
  width: 44px;
  margin: 0 auto 14px;
  opacity: 0.8;
}

.site-footer .fname {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--ink-dim);
}

.site-footer .copy {
  font-size: 0.8rem;
  color: var(--ink-dimmer);
  margin-top: 6px;
}

/* ==========================================================================
   404 page
   ========================================================================== */
.error-page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.error-page h2 {
  font-size: clamp(3rem, 12vw, 7rem);
  color: var(--red);
  line-height: 1;
}
.error-page p {
  color: var(--ink-dim);
  margin: 16px 0 28px;
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-form {
  max-width: 540px;
  margin: 0 auto;
  padding: 16px 0 64px;
  display: grid;
  gap: 18px;
}

.contact-form label {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  display: block;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  padding: 12px 14px;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid var(--yellow);
  border-color: var(--yellow);
}

.contact-form textarea { min-height: 140px; resize: vertical; }

.contact-alts {
  text-align: center;
  margin-top: 8px;
  color: var(--ink-dim);
  font-size: 0.92rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .site-nav { width: 100%; justify-content: flex-start; }
  .stat-strip { grid-template-columns: repeat(3, 1fr); }
}

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