:root {
  --primary: #E8A317;
  --primary-dark: #B8800F;
  --secondary: #2D5016;
  --secondary-dark: #1A3009;
  --accent: #D62828;
  --bg: #FFF8E7;
  --bg-alt: #FFEFC4;
  --text: #1A1A1A;
  --text-soft: #4A4A4A;
  --white: #FFFFFF;
  --border: #1A1A1A;
  --font-heading: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
  --border-width: 3px;
  --shadow-offset: 6px;
  --shadow-color: #1A1A1A;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 500;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.6rem, 8vw, 6rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

p {
  font-size: 1.1rem;
}

a {
  color: var(--secondary);
  text-decoration: none;
}

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

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: var(--border-width) solid var(--border);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1300px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text);
}

.brand-logo {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border: var(--border-width) solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 4px 4px 0 var(--shadow-color);
}

.brand-logo svg {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
}

.nav-links a {
  font-weight: 700;
  color: var(--text);
  font-size: 1rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: var(--primary);
  border: var(--border-width) solid var(--border);
  border-radius: 8px;
  width: 50px;
  height: 44px;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--shadow-color);
  font-size: 1.4rem;
  font-weight: 700;
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: var(--border-width) solid var(--border);
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
    text-align: center;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 4rem 1.5rem 5rem;
  overflow: hidden;
  background: var(--bg);
  border-bottom: var(--border-width) solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.hero-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 0.4rem 1rem;
  border: var(--border-width) solid var(--border);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--shadow-color);
  margin-bottom: 1.4rem;
  transform: rotate(-2deg);
}

.hero h1 {
  margin-bottom: 1.2rem;
}

.hero h1 .accent {
  color: var(--accent);
  font-style: italic;
  display: inline-block;
  transform: rotate(-1deg);
}

.hero h1 .milk {
  background: var(--primary);
  padding: 0.05em 0.25em;
  border: var(--border-width) solid var(--border);
  border-radius: 12px;
  box-shadow: 5px 5px 0 var(--shadow-color);
  display: inline-block;
  transform: rotate(-2deg);
}

.hero-lede {
  font-size: 1.2rem;
  max-width: 540px;
  margin-bottom: 2rem;
  color: var(--text-soft);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.9rem 1.6rem;
  border: var(--border-width) solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--shadow-color);
  text-decoration: none;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--shadow-color);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--shadow-color);
}

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

.btn-secondary {
  background: var(--white);
  color: var(--text);
}

.hero-visual {
  position: relative;
  height: 480px;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: var(--border-width) solid var(--border);
  border-radius: 24px;
  box-shadow: 10px 10px 0 var(--shadow-color);
  transform: rotate(2deg);
}

.hero-sticker {
  position: absolute;
  background: var(--secondary);
  color: var(--white);
  border: var(--border-width) solid var(--border);
  border-radius: 50%;
  width: 130px;
  height: 130px;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  box-shadow: 6px 6px 0 var(--shadow-color);
  animation: spinSlow 18s linear infinite;
  bottom: -20px;
  left: -20px;
}

.hero-sticker span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  opacity: 0.85;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== SECTION ===== */
section {
  padding: 5rem 1.5rem;
  border-bottom: var(--border-width) solid var(--border);
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  text-align: center;
  margin-bottom: 0.6rem;
}

.section-eyebrow {
  display: block;
  text-align: center;
  margin-bottom: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-size: 0.85rem;
}

.section-lede {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
  color: var(--text-soft);
  font-size: 1.1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== STORY ===== */
.story {
  background: var(--bg);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 880px) {
  .story-grid { grid-template-columns: 1fr; }
}

.story-image {
  position: relative;
}

.story-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border: var(--border-width) solid var(--border);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--shadow-color);
  transform: rotate(-1.5deg);
}

.story-image::after {
  content: "🐄";
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-size: 4rem;
  background: var(--white);
  border: var(--border-width) solid var(--border);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  box-shadow: 5px 5px 0 var(--shadow-color);
}

.story-text h2 {
  margin-bottom: 1.2rem;
}

.story-text p {
  margin-bottom: 1rem;
  color: var(--text-soft);
}

.story-quote {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--primary);
  padding: 1rem 1.4rem;
  border: var(--border-width) solid var(--border);
  border-radius: 14px;
  box-shadow: 5px 5px 0 var(--shadow-color);
  transform: rotate(-1deg);
  margin-top: 1.5rem;
}

/* ===== BEER CARDS ===== */
.beers {
  background: var(--bg-alt);
}

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

@media (max-width: 880px) {
  .beer-grid { grid-template-columns: 1fr; }
}

.beer-card {
  background: var(--white);
  border: var(--border-width) solid var(--border);
  border-radius: 20px;
  padding: 1.6rem;
  box-shadow: 7px 7px 0 var(--shadow-color);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.beer-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 var(--shadow-color);
}

.beer-card.featured {
  background: var(--primary);
  transform: rotate(-1deg);
}

.beer-card.featured:hover {
  transform: rotate(-1deg) translate(-3px, -3px);
}

.beer-badge {
  position: absolute;
  top: -12px;
  right: 16px;
  background: var(--accent);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border: var(--border-width) solid var(--border);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--shadow-color);
}

.beer-icon {
  width: 80px;
  height: 80px;
  background: var(--bg);
  border: var(--border-width) solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 2.4rem;
}

.featured .beer-icon { background: var(--bg-alt); }

.beer-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.5rem;
}

.beer-meta {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 0.8rem 0 1rem;
}

.beer-tag {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.featured .beer-tag {
  background: var(--bg-alt);
}

.beer-desc {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.featured .beer-desc { color: var(--text); }

/* ===== TASTING NOTES ===== */
.tasting {
  background: var(--bg);
}

.tasting-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 880px) {
  .tasting-grid { grid-template-columns: repeat(2, 1fr); }
}

.tasting-card {
  background: var(--white);
  border: var(--border-width) solid var(--border);
  border-radius: 18px;
  padding: 1.4rem 1rem;
  text-align: center;
  box-shadow: 5px 5px 0 var(--shadow-color);
  transition: transform 0.2s;
}

.tasting-card:hover { transform: translateY(-4px); }

.tasting-icon {
  font-size: 2.4rem;
  margin-bottom: 0.6rem;
  display: block;
}

.tasting-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.tasting-card p {
  font-size: 0.85rem;
  color: var(--text-soft);
}

.tasting-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.tasting-bar-track {
  flex: 1;
  height: 8px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.tasting-bar-fill {
  height: 100%;
  background: var(--primary);
}

.tasting-bar-fill.bitter { background: var(--accent); }
.tasting-bar-fill.hoppy { background: var(--secondary); }

.tasting-bar-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 40px;
}

/* ===== FIND US ===== */
.find {
  background: var(--bg-alt);
}

.find-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 880px) {
  .find-grid { grid-template-columns: 1fr; }
}

.find-card {
  background: var(--white);
  border: var(--border-width) solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 7px 7px 0 var(--shadow-color);
}

.find-card h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.find-list {
  list-style: none;
}

.find-list li {
  padding: 0.6rem 0;
  border-bottom: 2px dashed var(--border);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
}

.find-list li:last-child { border-bottom: none; }

.find-list .ico {
  width: 28px;
  height: 28px;
  background: var(--primary);
  border: 2px solid var(--border);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.contact-info {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 2px dashed var(--border);
}

.contact-info p {
  margin-bottom: 0.4rem;
  font-weight: 600;
}

/* ===== FOOTER ===== */
footer {
  background: var(--secondary);
  color: var(--white);
  padding: 3rem 1.5rem 1.5rem;
  border-top: var(--border-width) solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.footer-tag {
  opacity: 0.85;
  max-width: 380px;
  font-size: 0.95rem;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.footer-col a {
  color: var(--white);
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer-col a:hover { opacity: 1; }

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(255,255,255,0.2);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-tag, .hero h1, .hero-lede, .hero-cta, .hero-visual,
.section-eyebrow, .section-title, .section-lede,
.beer-card, .tasting-card, .story-text, .story-image,
.find-card {
  animation: fadeUp 0.7s ease both;
}

.hero-tag { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.15s; }
.hero-lede { animation-delay: 0.25s; }
.hero-cta { animation-delay: 0.35s; }
.hero-visual { animation-delay: 0.45s; }
.section-eyebrow { animation-delay: 0.1s; }
.section-title { animation-delay: 0.2s; }
.section-lede { animation-delay: 0.3s; }
.beer-card:nth-child(1) { animation-delay: 0.2s; }
.beer-card:nth-child(2) { animation-delay: 0.3s; }
.beer-card:nth-child(3) { animation-delay: 0.4s; }
.tasting-card:nth-child(1) { animation-delay: 0.2s; }
.tasting-card:nth-child(2) { animation-delay: 0.3s; }
.tasting-card:nth-child(3) { animation-delay: 0.4s; }
.tasting-card:nth-child(4) { animation-delay: 0.5s; }
