/* ===================== ROOT ===================== */
:root {
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --cream: #f2ead8;
  --dark: #0a0806;
  --dark2: #110e0a;
  --dark3: #1a1510;
  --mid: #2c2318;
  --text: #d4c9b0;
  --text-dim: #7a6e5a;
  --red-accent: #8b2a2a;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Space Mono', monospace;
  cursor: none;
  overflow-x: hidden;
}

/* ===================== CUSTOM CURSOR ===================== */
#cursor {
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease, background 0.3s;
  mix-blend-mode: difference;
}
#cursor-ring {
  width: 40px; height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.4s ease, width 0.3s, height 0.3s, opacity 0.3s;
  opacity: 0.6;
}
body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring { width: 70px; height: 70px; opacity: 1; }

/* ===================== GRAIN OVERLAY ===================== */
#grain {
  position: fixed; inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
  animation: grainMove 0.5s steps(2) infinite;
}
@keyframes grainMove {
  0% { transform: translate(0,0); }
  25% { transform: translate(-2px,1px); }
  50% { transform: translate(1px,-2px); }
  75% { transform: translate(-1px,2px); }
  100% { transform: translate(2px,-1px); }
}

/* ===================== PROGRESS BAR ===================== */
#progress-bar {
  position: fixed; top: 0; left: 0;
  height: 2px; background: var(--gold);
  width: 0%; z-index: 8999;
  transition: width 0.1s linear;
}

/* ===================== NAV ===================== */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 60px;
  transition: background 0.5s, padding 0.4s, backdrop-filter 0.5s;
}
nav.scrolled {
  background: rgba(10,8,6,0.85);
  backdrop-filter: blur(20px);
  padding: 18px 60px;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 4px;
  color: var(--gold);
  text-decoration: none;
}
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-size: 0.65rem; letter-spacing: 3px;
  padding: 10px 24px; border: 1px solid var(--gold);
  background: transparent; color: var(--gold);
  cursor: none; text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
  font-family: 'Space Mono', monospace;
}
.nav-cta:hover { background: var(--gold); color: var(--dark); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: none; z-index: 1001; }
.hamburger span { width: 28px; height: 1px; background: var(--gold); transition: all 0.3s; display: block; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: rgba(10,8,6,0.97); z-index: 999;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 40px;
}
.mobile-menu.active { display: flex; }
.mobile-menu a { font-family: 'Bebas Neue'; font-size: 3rem; letter-spacing: 6px; color: var(--text); text-decoration: none; transition: color 0.3s; }
.mobile-menu a:hover { color: var(--gold); }

/* ===================== HERO ===================== */
#hero {
  height: 100vh; position: relative;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #1a0f05 0%, #0a0806 50%, #080508 100%);
}
.hero-rings {
  position: absolute; inset: 0; overflow: hidden;
}
.ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.08);
  animation: ringPulse 8s ease-in-out infinite;
}
.ring:nth-child(1) { width: 600px; height: 600px; top: -100px; right: -150px; animation-delay: 0s; }
.ring:nth-child(2) { width: 400px; height: 400px; top: 50px; right: -50px; animation-delay: 1s; border-color: rgba(201,168,76,0.12); }
.ring:nth-child(3) { width: 200px; height: 200px; top: 150px; right: 50px; animation-delay: 2s; border-color: rgba(201,168,76,0.18); }
.ring:nth-child(4) { width: 800px; height: 800px; bottom: -300px; left: -300px; animation-delay: 3s; }
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.5; }
}

#steam-canvas {
  position: absolute; inset: 0;
  pointer-events: none; opacity: 0.4;
}

.hero-content {
  position: relative; z-index: 10;
  padding: 0 60px 80px;
  max-width: 900px;
}
.hero-eyebrow {
  font-size: 0.65rem; letter-spacing: 6px;
  color: var(--gold); text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.5s forwards;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 14vw, 13rem);
  line-height: 0.88;
  color: var(--cream);
  letter-spacing: -2px;
  opacity: 0; transform: translateY(40px);
  animation: fadeUp 1s ease 0.7s forwards;
}
.hero-title .accent { color: var(--gold); display: block; }
.hero-title .italic { font-family: 'Playfair Display', serif; font-style: italic; color: var(--text-dim); font-size: 0.5em; }
.hero-bottom {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 60px 60px; position: relative; z-index: 10;
}
.hero-desc {
  max-width: 320px; font-size: 0.7rem; line-height: 2;
  color: var(--text-dim); letter-spacing: 1px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s ease 1s forwards;
}
.hero-actions {
  display: flex; flex-direction: column; align-items: flex-end; gap: 16px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s ease 1.2s forwards;
}
.btn-primary {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem; letter-spacing: 4px;
  padding: 18px 48px;
  background: var(--gold); color: var(--dark);
  border: none; cursor: none;
  text-transform: uppercase;
  position: relative; overflow: hidden;
  transition: color 0.4s;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: var(--dark);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}
.btn-primary:hover { color: var(--gold); }
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }
.hero-scroll-hint {
  font-size: 0.6rem; letter-spacing: 3px;
  color: var(--text-dim); text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
}
.scroll-line { width: 40px; height: 1px; background: var(--text-dim); display: inline-block; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-stats {
  position: absolute; right: 60px; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 32px;
  z-index: 10;
  opacity: 0; animation: fadeUp 0.8s ease 1.4s forwards;
}
.stat-item { text-align: right; }
.stat-num {
  font-family: 'Bebas Neue'; font-size: 3rem;
  color: var(--gold); line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.55rem; letter-spacing: 3px;
  color: var(--text-dim); text-transform: uppercase;
}

/* ===================== MARQUEE ===================== */
.marquee-section {
  background: var(--gold);
  overflow: hidden; padding: 16px 0;
  position: relative; z-index: 10;
}
.marquee-track {
  display: flex; gap: 0;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}
.marquee-section:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  font-family: 'Bebas Neue'; font-size: 1.1rem;
  color: var(--dark); letter-spacing: 4px;
  padding: 0 40px; text-transform: uppercase;
}
.marquee-dot { color: var(--dark2); font-size: 1.5rem; line-height: 1; }

/* ===================== OUR STORY ===================== */
#our-story {
  padding: 160px 60px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  max-width: 1400px; margin: 0 auto;
}
.story-visual { position: relative; }
.story-img-frame {
  width: 100%; aspect-ratio: 3/4;
  background: var(--dark3);
  position: relative; overflow: hidden;
  z-index: 1;
}
.story-img-frame::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--dark3) 0%, var(--mid) 50%, #2a1f12 100%);
}
.coffee-illustration {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.cup-svg { width: 60%; opacity: 0.15; }
.story-year-tag {
  position: absolute; top: -20px; right: -20px;
  width: 100px; height: 100px;
  border: 1px solid var(--gold);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--dark);
  z-index: 2;
}
.year-num { font-family: 'Bebas Neue'; font-size: 2rem; color: var(--gold); line-height: 1; }
.year-label { font-size: 0.5rem; letter-spacing: 3px; color: var(--text-dim); text-transform: uppercase; }
.story-accent-block {
  position: absolute; bottom: -24px; left: -24px;
  width: 180px; height: 120px;
  background: var(--gold);
  z-index: 0;
}
.section-label {
  font-size: 0.6rem; letter-spacing: 6px;
  color: var(--gold); text-transform: uppercase;
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 16px;
}
.section-label::before {
  content: ''; width: 30px; height: 1px; background: var(--gold);
}
.story-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.15; color: var(--cream);
  margin-bottom: 32px;
}
.story-heading em { color: var(--gold); font-style: italic; }
.story-body {
  font-size: 0.72rem; line-height: 2.2;
  color: var(--text-dim); margin-bottom: 40px;
}
.btn-secondary {
  font-family: 'Space Mono'; font-size: 0.6rem;
  letter-spacing: 3px; text-transform: uppercase;
  border: 1px solid var(--gold); color: var(--gold);
  padding: 14px 36px; background: transparent;
  cursor: none; transition: all 0.3s;
}
.btn-secondary:hover { background: var(--gold); color: var(--dark); }

/* ===================== PHILOSOPHY ===================== */
#philosophy {
  padding: 120px 60px;
  background: var(--dark2);
  position: relative; overflow: hidden;
}
.philosophy-bg-text {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Bebas Neue'; font-size: 30vw;
  color: transparent; -webkit-text-stroke: 1px rgba(201,168,76,0.03);
  white-space: nowrap; pointer-events: none;
  user-select: none;
}
.philosophy-inner {
  max-width: 1400px; margin: 0 auto;
  position: relative; z-index: 1;
}
.philosophy-grid {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 80px; align-items: start;
  margin-top: 60px;
}
.philosophy-number {
  font-family: 'Bebas Neue'; font-size: 8rem;
  color: rgba(201,168,76,0.12); line-height: 1;
}
.philosophy-cards { display: flex; flex-direction: column; gap: 2px; }
.phil-card {
  background: var(--dark3);
  padding: 36px 40px;
  border-left: 0px solid var(--gold);
  transition: border-left-width 0.3s, background 0.3s, transform 0.3s;
  cursor: default;
}
.phil-card:hover {
  border-left-width: 3px;
  background: var(--mid);
  transform: translateX(8px);
}
.phil-card-num { font-size: 0.55rem; letter-spacing: 4px; color: var(--gold); margin-bottom: 12px; }
.phil-card-title { font-family: 'Playfair Display'; font-size: 1.3rem; color: var(--cream); margin-bottom: 12px; }
.phil-card-text { font-size: 0.65rem; line-height: 2; color: var(--text-dim); }

/* ===================== PRODUCTS ===================== */
#products {
  padding: 160px 60px;
  max-width: 1400px; margin: 0 auto;
}
.products-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 80px;
}
.products-title {
  font-family: 'Bebas Neue'; font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.9; color: var(--cream);
  letter-spacing: 2px;
}
.products-title span { display: block; color: var(--gold); }
.products-desc { max-width: 280px; font-size: 0.65rem; line-height: 2; color: var(--text-dim); text-align: right; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.product-card {
  background: var(--dark3);
  padding: 48px 40px;
  position: relative; overflow: hidden;
  cursor: none;
  transition: transform 0.4s ease;
}
.product-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0;
  height: 0; background: var(--gold);
  transition: height 0.4s ease;
}
.product-card:hover::before { height: 3px; }
.product-card:hover { transform: translateY(-6px); }
.product-card-bg {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.4s;
}
.product-card:hover .product-card-bg { opacity: 1; }
.product-icon {
  width: 80px; height: 80px;
  margin-bottom: 32px;
  opacity: 0.6; transition: opacity 0.3s, transform 0.4s;
}
.product-card:hover .product-icon { opacity: 1; transform: scale(1.1) rotate(-5deg); }
.product-num { font-size: 0.55rem; letter-spacing: 4px; color: var(--gold); margin-bottom: 8px; }
.product-name { font-family: 'Bebas Neue'; font-size: 2rem; color: var(--cream); letter-spacing: 3px; margin-bottom: 16px; }
.product-ingredients { list-style: none; margin-bottom: 32px; }
.product-ingredients li {
  font-size: 0.6rem; letter-spacing: 2px;
  color: var(--text-dim); padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
}
.product-ingredients li::before { content: '—'; color: var(--gold); font-size: 0.7rem; }
.product-price { font-family: 'Bebas Neue'; font-size: 2.5rem; color: var(--gold); }
.product-tag {
  position: absolute; top: 20px; right: 20px;
  font-size: 0.5rem; letter-spacing: 2px;
  color: var(--dark); background: var(--gold);
  padding: 4px 10px; text-transform: uppercase;
}

/* ===================== ORIGINS ===================== */
#origins {
  background: var(--dark2);
  padding: 120px 60px;
  position: relative;
}
.origins-inner { max-width: 1400px; margin: 0 auto; }
.origins-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  margin-top: 60px;
}
.origin-heading { font-family: 'Playfair Display'; font-size: clamp(2rem, 3.5vw, 3rem); color: var(--cream); line-height: 1.2; margin-bottom: 28px; }
.origin-body { font-size: 0.7rem; line-height: 2.2; color: var(--text-dim); margin-bottom: 40px; }
.origin-regions { display: flex; flex-direction: column; gap: 0; }
.region-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s;
}
.region-item:hover { padding-left: 12px; border-bottom-color: var(--gold); }
.region-name { font-family: 'Playfair Display'; font-style: italic; font-size: 1.1rem; color: var(--cream); }
.region-note { font-size: 0.55rem; letter-spacing: 2px; color: var(--text-dim); text-transform: uppercase; }
.region-bar-container { width: 120px; height: 1px; background: rgba(255,255,255,0.1); position: relative; }
.region-bar { height: 100%; background: var(--gold); transition: width 1s ease; }
.world-map-placeholder {
  width: 100%; aspect-ratio: 4/3;
  background: var(--dark3);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.map-dots { position: absolute; inset: 0; }
.map-dot {
  position: absolute; width: 8px; height: 8px;
  border-radius: 50%; background: var(--gold);
  animation: dotPulse 3s ease-in-out infinite;
}
.map-dot::before {
  content: ''; position: absolute; inset: -8px;
  border-radius: 50%; border: 1px solid var(--gold);
  animation: dotRipple 3s ease-in-out infinite;
  opacity: 0;
}
@keyframes dotPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.4); } }
@keyframes dotRipple { 0% { transform: scale(0.5); opacity: 0.6; } 100% { transform: scale(2.5); opacity: 0; } }

/* ===================== TESTIMONIAL ===================== */
#testimonial {
  padding: 160px 60px;
  text-align: center;
  position: relative; overflow: hidden;
}
.testimonial-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.04) 0%, transparent 70%);
}
blockquote {
  position: relative; z-index: 1;
  max-width: 800px; margin: 0 auto;
}
.quote-mark {
  font-family: 'Playfair Display'; font-size: 12rem;
  color: var(--gold); line-height: 0.5;
  opacity: 0.2; display: block; margin-bottom: -40px;
}
.quote-text {
  font-family: 'Playfair Display'; font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.5; color: var(--cream);
  margin-bottom: 40px;
}
.quote-author {
  font-size: 0.6rem; letter-spacing: 4px;
  color: var(--gold); text-transform: uppercase;
}

/* ===================== VISIT ===================== */
#visit {
  background: var(--dark2); padding: 120px 60px;
}
.visit-inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 60px; align-items: start;
}
.divider-line { background: rgba(255,255,255,0.08); }
.visit-block-label {
  font-size: 0.6rem; letter-spacing: 5px; color: var(--gold);
  text-transform: uppercase; margin-bottom: 32px;
  display: flex; align-items: center; gap: 12px;
}
.visit-block-label::before { content: ''; width: 20px; height: 1px; background: var(--gold); }
.hours-list { list-style: none; }
.hours-item {
  display: flex; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.65rem;
}
.hours-day { color: var(--text-dim); letter-spacing: 1px; text-transform: uppercase; }
.hours-time { color: var(--cream); }
.hours-item.closed .hours-time { color: var(--text-dim); }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.65rem;
}
.contact-label { color: var(--gold); min-width: 60px; text-transform: uppercase; letter-spacing: 2px; }
.contact-value { color: var(--text-dim); line-height: 1.6; }
.map-embed {
  width: 100%; aspect-ratio: 4/3;
  background: var(--dark3);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-size: 0.65rem;
  letter-spacing: 2px; flex-direction: column; gap: 12px;
}
.map-pin { font-size: 2rem; animation: bounce 2s ease-in-out infinite; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ===================== FOOTER ===================== */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(201,168,76,0.1);
  padding: 80px 60px 40px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 60px; margin-bottom: 80px;
}
.footer-logo {
  font-family: 'Bebas Neue'; font-size: 3rem;
  letter-spacing: 6px; color: var(--gold); display: block;
  margin-bottom: 20px;
}
.footer-tagline { font-size: 0.65rem; line-height: 2; color: var(--text-dim); max-width: 280px; }
.footer-col-title { font-size: 0.55rem; letter-spacing: 5px; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 14px; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.65rem; letter-spacing: 1px; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-copy { font-size: 0.55rem; letter-spacing: 2px; color: var(--text-dim); }
.footer-credit a { color: var(--gold); text-decoration: none; }
.social-links { display: flex; gap: 20px; }
.social-link {
  width: 36px; height: 36px;
  border: 1px solid rgba(201,168,76,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-size: 0.6rem;
  text-decoration: none; transition: all 0.3s;
}
.social-link:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.05); }

/* ===================== SCROLL ANIMATIONS ===================== */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.stagger:nth-child(2) { transition-delay: 0.15s; }
.stagger:nth-child(3) { transition-delay: 0.3s; }
.stagger:nth-child(4) { transition-delay: 0.45s; }

/* ===================== LOADING SCREEN ===================== */
#loader {
  position: fixed; inset: 0;
  background: var(--dark);
  z-index: 99999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo { font-family: 'Bebas Neue'; font-size: 3rem; letter-spacing: 8px; color: var(--gold); animation: loaderFade 0.8s ease forwards; }
.loader-bar-container { width: 200px; height: 1px; background: rgba(201,168,76,0.2); margin-top: 24px; }
.loader-bar { height: 100%; width: 0; background: var(--gold); transition: width 0.05s linear; }
.loader-num { font-size: 0.6rem; letter-spacing: 3px; color: var(--text-dim); margin-top: 12px; }
@keyframes loaderFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ===================== GLITCH ===================== */
.glitch { position: relative; }
.glitch:hover { animation: glitchText 0.3s steps(2) 1; }
@keyframes glitchText {
  0% { text-shadow: 2px 0 var(--gold); }
  20% { text-shadow: -2px 0 var(--red-accent), 2px 0 var(--gold); clip-path: inset(20% 0 30% 0); }
  40% { text-shadow: 2px 0 var(--red-accent); clip-path: inset(50% 0 10% 0); }
  60% { text-shadow: -2px 0 var(--gold); clip-path: inset(10% 0 70% 0); }
  80% { text-shadow: 2px 0 var(--red-accent), -2px 0 var(--gold); }
  100% { text-shadow: none; clip-path: none; }
}

/* ===================== COUNTER STRIP ===================== */
.counter-strip {
  background: var(--mid);
  padding: 60px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.counter-item {
  background: var(--dark3);
  padding: 40px; text-align: center;
  transition: background 0.3s;
}
.counter-item:hover { background: var(--dark2); }
.counter-num {
  font-family: 'Bebas Neue'; font-size: 4rem;
  color: var(--gold); display: block; line-height: 1;
}
.counter-label { font-size: 0.6rem; letter-spacing: 3px; color: var(--text-dim); text-transform: uppercase; margin-top: 8px; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  #our-story { grid-template-columns: 1fr; padding: 100px 40px; }
  .story-accent-block { display: none; }
  .story-year-tag { display: none; }
  .products-grid { grid-template-columns: 1fr; gap: 2px; }
  .counter-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { display: none; }
  .hero-content { padding: 0 40px 80px; }
  .hero-bottom { padding: 0 40px 60px; }
  .origins-grid { grid-template-columns: 1fr; }
  .visit-inner { grid-template-columns: 1fr; }
  .divider-line { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .philosophy-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  nav { padding: 20px 24px; }
  nav.scrolled { padding: 14px 24px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-content { padding: 0 24px 80px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 24px; padding: 0 24px 40px; }
  .hero-actions { align-items: flex-start; }
  #our-story { padding: 80px 24px; }
  #philosophy { padding: 80px 24px; }
  #products { padding: 80px 24px; }
  #origins { padding: 80px 24px; }
  #testimonial { padding: 80px 24px; }
  #visit { padding: 80px 24px; }
  footer { padding: 60px 24px 32px; }
  .counter-strip { padding: 24px; grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: clamp(4rem, 16vw, 7rem); }
  .products-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .products-desc { text-align: left; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
