/* ============================================================
   PINZON'S PINTS — style.css
   Palette: warm cream / deep amber / forest green / dark brown
   Vibes: craft taproom, worn wood, chalkboard, hops & citrus
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,700;0,9..144,900;1,9..144,400&family=DM+Sans:wght@400;500;700&display=swap');

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #1a130a;
  color: #f0e6d0;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { border: none; background: none; cursor: none; }
ul { list-style: none; }

/* ---- CSS VARS ---- */
:root {
  --bg:        #1a130a;
  --bg-2:      #211810;
  --bg-3:      #2b1f13;
  --border:    rgba(240,230,208,0.1);
  --cream:     #f0e6d0;
  --cream-dim: rgba(240,230,208,0.55);
  --amber:     #e8882a;
  --amber-glow:rgba(232,136,42,0.3);
  --haze:      #d4760f;
  --green:     #4a7c3f;
  --green-light:#6ba85e;
  --gold:      #c9951a;
  --ease-out:  cubic-bezier(0.16,1,0.3,1);
  --tr:        180ms cubic-bezier(0.16,1,0.3,1);
}

/* ---- CUSTOM CURSOR ---- */
.cursor-dot {
  width: 7px; height: 7px;
  background: var(--amber);
  border-radius: 50%;
  position: fixed; top: 0; left: 0; z-index: 9999;
  pointer-events: none;
  transform: translate(-50%,-50%);
  transition: transform 0.08s ease-out, background 0.2s;
  will-change: transform;
}
.cursor-ring {
  width: 30px; height: 30px;
  border: 1.5px solid rgba(232,136,42,0.55);
  border-radius: 50%;
  position: fixed; top: 0; left: 0; z-index: 9998;
  pointer-events: none;
  transform: translate(-50%,-50%);
  transition: transform 0.18s var(--ease-out), width 0.2s, height 0.2s, border-color 0.2s;
  will-change: transform;
}
body.cursor-hover .cursor-ring { width: 48px; height: 48px; border-color: var(--amber); }

/* ---- NOISE ---- */
.noise {
  position: fixed; inset: 0; z-index: 1000; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  opacity: 0.7;
  mix-blend-mode: overlay;
}

/* ---- CONTAINER ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; position: relative; z-index: 2; }

/* ---- HEADER ---- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  transition: background 0.4s, backdrop-filter 0.4s;
}
.site-header.scrolled {
  background: rgba(26,19,10,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1160px; margin: 0 auto; padding: 1.25rem 2rem;
}
.logo-link { display: flex; align-items: center; gap: 0.75rem; }
.logo-svg { width: 36px; height: 36px; color: var(--amber); flex-shrink: 0; }
.logo-text {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: 14px; font-weight: 500; letter-spacing: 0.03em;
  color: var(--cream-dim);
  transition: color var(--tr);
}
.nav-links a:hover { color: var(--cream); }
.nav-cta {
  background: var(--amber) !important;
  color: #1a130a !important;
  padding: 0.5rem 1.2rem;
  border-radius: 3px;
  font-weight: 700 !important;
  transition: background var(--tr) !important;
}
.nav-cta:hover { background: #f0a040 !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--cream); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---- MOBILE NAV ---- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 490;
  background: rgba(26,19,10,0.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav li { margin: 1.5rem 0; text-align: center; }
.mobile-link {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem; font-weight: 900; color: var(--cream);
  transition: color 0.2s;
}
.mobile-link:hover { color: var(--amber); }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-img-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  animation: slowzoom 18s ease-in-out infinite alternate;
}
@keyframes slowzoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.1); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(26,19,10,0.88) 0%, rgba(26,19,10,0.45) 55%, rgba(26,19,10,0.72) 100%),
    linear-gradient(to top, rgba(26,19,10,0.98) 0%, transparent 55%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 2rem;
  max-width: 800px;
}
.hero-eyebrow {
  font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--amber); font-weight: 700;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(4.5rem, 14vw, 12rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  color: var(--amber);
  font-weight: 400;
}
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--cream-dim); line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- BUTTONS ---- */
.btn {
  font-size: 14px; font-weight: 700; letter-spacing: 0.04em;
  padding: 0.9rem 1.8rem;
  border-radius: 3px;
  display: inline-block;
  transition: transform var(--tr), box-shadow var(--tr), background var(--tr), color var(--tr);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--amber); color: #1a130a;
  box-shadow: 0 4px 24px var(--amber-glow);
}
.btn-primary:hover { background: #f0a040; box-shadow: 0 8px 40px rgba(232,136,42,0.5); }
.btn-ghost {
  border: 1.5px solid rgba(240,230,208,0.25);
  color: var(--cream-dim);
}
.btn-ghost:hover { border-color: var(--cream); color: var(--cream); background: rgba(255,255,255,0.04); }
.btn-full { width: 100%; text-align: center; }

/* ---- BUBBLES ---- */
.bubbles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,230,208,0.18) 0%, transparent 70%);
  animation: riseUp linear infinite;
}
@keyframes riseUp {
  from { transform: translateY(0) scale(1); opacity: 0.6; }
  to   { transform: translateY(-100vh) scale(1.4); opacity: 0; }
}

/* ---- SCROLL LINE ---- */
.scroll-line-wrap { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-line {
  display: block; width: 1px; height: 56px;
  background: linear-gradient(to bottom, var(--amber), transparent);
  animation: scrollpulse 2.4s ease-in-out infinite;
}
@keyframes scrollpulse {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: top; }
}

/* ---- FADE-IN ON LOAD ---- */
.fade-in {
  opacity: 0;
  animation: fadeInUp 0.85s var(--ease-out) forwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- SCROLL REVEALS ---- */
.reveal-fade { opacity: 1; }
@supports (animation-timeline: scroll()) {
  .reveal-fade {
    opacity: 0;
    animation: revealFade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
    animation-delay: var(--delay, 0s);
  }
  @keyframes revealFade { to { opacity: 1; } }
}

/* ---- TICKER ---- */
.ticker-wrap {
  overflow: hidden;
  background: var(--amber);
  padding: 0.85rem 0;
  position: relative; z-index: 2;
}
.ticker-track {
  display: flex; align-items: center; gap: 2rem;
  white-space: nowrap; width: max-content;
  animation: ticker 20s linear infinite;
}
.ticker-track span {
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: #1a130a;
}
.ticker-track .sep { color: rgba(26,19,10,0.45); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- SECTIONS ---- */
.section { position: relative; z-index: 2; padding: clamp(5rem, 8vw, 9rem) 0; }
.section-header { margin-bottom: 3.5rem; }
.section-eyebrow {
  display: block;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--amber); font-weight: 700; margin-bottom: 0.6rem;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 900; letter-spacing: -0.03em; line-height: 1;
  color: var(--cream);
}

/* ---- ON TAP ---- */
.ontap-section { background: var(--bg-2); }
.tap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.tap-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
  animation-delay: var(--delay, 0s);
}
.tap-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 20px var(--amber-glow);
  border-color: rgba(232,136,42,0.4);
}
.tap-badge {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  background: var(--amber); color: #1a130a;
  font-size: 10px; font-weight: 700; letter-spacing: 0.15em;
  padding: 0.25rem 0.6rem; border-radius: 2px;
  z-index: 3;
}
.tap-badge--new { background: var(--green-light); }
.tap-card { position: relative; }
.tap-art {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.tap-canvas { width: 100%; height: 100%; display: block; }
.tap-body { padding: 1.25rem 1.25rem 1.5rem; }
.tap-name {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem; font-weight: 900; letter-spacing: -0.02em;
  color: var(--cream); margin-bottom: 0.25rem;
}
.tap-brewery { font-size: 12px; color: var(--amber); letter-spacing: 0.05em; margin-bottom: 0.85rem; font-weight: 500; }
.tap-desc { font-size: 14px; color: var(--cream-dim); line-height: 1.65; margin-bottom: 1.1rem; }
.tap-stats { display: flex; gap: 1rem; margin-bottom: 1rem; }
.tap-stat { display: flex; flex-direction: column; }
.stat-val { font-size: 15px; font-weight: 700; color: var(--cream); line-height: 1.1; }
.stat-key { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(240,230,208,0.35); }
.tap-rating { display: flex; align-items: center; gap: 0.5rem; }
.stars { color: var(--gold); font-size: 14px; }
.rating-num { font-size: 13px; font-weight: 700; color: var(--cream-dim); }

/* ---- ABOUT ---- */
.about-section { background: var(--bg); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}
.about-img-wrap {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px; overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--border);
}
#hop-canvas { width: 100%; height: 100%; display: block; }
.about-tag-float {
  position: absolute;
  background: rgba(26,19,10,0.85);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  border-radius: 30px;
  padding: 0.5rem 1rem;
  font-size: 13px; font-weight: 500;
  color: var(--cream);
  white-space: nowrap;
}
.about-tag-1 { top: 12%; left: -10%; animation: floatTag1 5s ease-in-out infinite; }
.about-tag-2 { top: 44%; right: -12%; animation: floatTag2 5.5s ease-in-out infinite 0.5s; }
.about-tag-3 { bottom: 14%; left: -6%; animation: floatTag1 4.8s ease-in-out infinite 1s; }
@keyframes floatTag1 {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes floatTag2 {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}
.about-text .section-eyebrow { margin-bottom: 0.5rem; }
.about-text .section-title { margin-bottom: 1.75rem; }
.about-body { color: var(--cream-dim); line-height: 1.75; margin-bottom: 1.25rem; font-size: 15px; }
.about-creds { display: flex; gap: 2rem; margin-top: 2.5rem; }
.cred { text-align: center; }
.cred-num { display: block; font-family: 'Fraunces', serif; font-size: 3rem; font-weight: 900; color: var(--amber); line-height: 1; }
.cred-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(240,230,208,0.38); }

/* ---- RULES ---- */
.ratings-section { background: var(--bg-2); }
.rules-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.rule-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem 1.75rem;
  transition: transform var(--tr), border-color var(--tr);
  animation-delay: var(--delay, 0s);
}
.rule-card:hover { transform: translateY(-3px); border-color: rgba(232,136,42,0.35); }
.rule-num {
  font-family: 'Fraunces', serif;
  font-size: 3.5rem; font-weight: 900; line-height: 1;
  color: rgba(232,136,42,0.2);
  margin-bottom: 0.75rem;
}
.rule-title {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem; font-weight: 900;
  color: var(--cream); margin-bottom: 0.75rem;
}
.rule-desc { font-size: 14px; color: var(--cream-dim); line-height: 1.7; }

/* ---- CONTACT ---- */
.contact-section { background: var(--bg); }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}
.contact-body { color: var(--cream-dim); margin: 1rem 0 2rem; font-size: 15px; }
.social-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.social-btn {
  display: flex; align-items: center; gap: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.6rem 1rem;
  color: var(--cream-dim); font-size: 14px; font-weight: 500;
  transition: color var(--tr), border-color var(--tr), background var(--tr);
}
.social-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.social-btn:hover { color: var(--cream); border-color: var(--amber); background: var(--amber-glow); }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(240,230,208,0.4); }
input, textarea {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 3px; color: var(--cream);
  font-family: 'DM Sans', sans-serif; font-size: 15px;
  padding: 0.9rem 1rem; outline: none; resize: vertical;
  transition: border-color var(--tr), box-shadow var(--tr);
}
input::placeholder, textarea::placeholder { color: rgba(240,230,208,0.22); }
input:focus, textarea:focus { border-color: rgba(232,136,42,0.6); box-shadow: 0 0 0 3px var(--amber-glow); }
textarea { min-height: 120px; }

/* ---- FOOTER ---- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 3rem 0; position: relative; z-index: 2; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-family: 'Fraunces', serif; font-size: 1.25rem; font-weight: 900; color: var(--cream); }
.footer-copy { font-size: 12px; color: rgba(240,230,208,0.3); }
.footer-tag { font-size: 12px; color: rgba(232,136,42,0.5); font-weight: 700; letter-spacing: 0.1em; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .about-grid, .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { order: -1; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .about-tag-float { display: none; }
}
@media (max-width: 600px) {
  .tap-grid { grid-template-columns: 1fr 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(3.5rem, 18vw, 6rem); }
}
@media (max-width: 400px) {
  .tap-grid { grid-template-columns: 1fr; }
}
