/* ============================================================
   PREMEDITATED COFFEE CO. — Main Stylesheet
   ============================================================ */

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

:root {
  --black: #080808;
  --near-black: #0d0d0d;
  --charcoal: #1a1a1a;
  --dark-brown: #1c1410;
  --gold: #c8b49a;
  --gold-light: #ddd0be;
  --gold-dim: #7a6a58;
  --red: #8b1a1a;
  --red-bright: #c0392b;
  --red-dim: #5a1010;
  --red-glow: rgba(139,26,26,0.15);
  --cream: #f0e8d8;
  --cream-dim: #a89880;
  --white: #f8f4ee;
  --font-display: 'Bebas Neue', sans-serif;
  --font-serif: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
}

/* Custom cursor only on true pointer devices — not touch */
@media (pointer: fine) {
  body,
  a,
  button,
  .cart-btn,
  .btn-primary,
  .btn-ghost,
  .add-btn,
  .nav-toggle,
  .newsletter-form button { cursor: none; }
}

/* ── SKIP LINK ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--red-bright);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  z-index: 10000;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ── CURSOR ── */
.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--red-bright);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
}
.cursor-ring {
  position: fixed;
  width: 32px; height: 32px;
  border: 1px solid var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.15s ease;
  opacity: 0.5;
}

/* ── FOCUS VISIBLE ── */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
}

/* ── GRAIN OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  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)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9997;
  opacity: 0.4;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 4rem;
  background: linear-gradient(to bottom, rgba(8,8,8,0.95), transparent);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.3em;
  color: var(--cream);
  text-decoration: none;
}
.nav-logo span { color: var(--red-bright); }
.nav-links { display: flex; gap: 3rem; list-style: none; }
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--cream); }
.cart-btn {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  background: transparent;
  border: 1px solid rgba(200,180,154,0.3);
  padding: 0.6rem 1.4rem;
  transition: all 0.3s;
  font-family: var(--font-body);
}
.cart-btn:hover { border-color: var(--cream); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 0;
  padding-top: 5rem;
  padding-bottom: 10rem;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

/* Video background */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: saturate(0.3) brightness(0.6);
}
/* Fallback gradient shown while video loads or if no video */
.hero-video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8,8,8,0.97) 0%, rgba(8,8,8,0.6) 55%, rgba(8,8,8,0.3) 100%),
    radial-gradient(ellipse at 70% 50%, #1a0d08 0%, #080808 60%);
  z-index: 1;
}

/* Hero coffee cup visual */
.hero-visual {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 52%;
  height: 560px;
  z-index: 2;
  overflow: hidden;
}
/* Fade edges — left edge bleeds into hero bg, top/bottom feather */
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--black) 0%, transparent 30%),
    linear-gradient(to bottom, rgba(8,8,8,0.6) 0%, transparent 20%),
    linear-gradient(to top, rgba(8,8,8,0.6) 0%, transparent 20%);
  z-index: 1;
  pointer-events: none;
}
.hero-visual-video {
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: center 65%;
  transform: scale(0.88);
  transform-origin: center 65%;
  opacity: 0.55;
  filter: saturate(0.25) brightness(0.65);
  will-change: transform;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.85;
  filter: saturate(0.4) brightness(0.7);
  mix-blend-mode: screen;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 4rem;
  width: 100%;
  max-width: 900px;
}

.hero-signature {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(3rem, 5vw, 5.5rem);
  color: var(--gold-light);
  opacity: 0.9;
  line-height: 1;
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.05s forwards;
}

.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--red-bright);
  flex-shrink: 0;
}

.hero-tagline-block {
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.4s forwards;
}
.hero-tagline-line {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  line-height: 0.95;
  color: var(--white);
  letter-spacing: -0.01em;
}
.hero-tagline-line.indent {
  padding-left: clamp(2rem, 8vw, 8rem);
  color: var(--cream-dim);
}
.hero-tagline-line.accent {
  color: var(--red-bright);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  padding-left: clamp(4rem, 14vw, 14rem);
  font-style: normal;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
}

.hero-brand-lockup {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.9s forwards;
}
.hero-brand-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(200,180,154,0.3), transparent);
}
.hero-brand-name {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.55em;
  color: var(--cream-dim);
  white-space: nowrap;
  opacity: 0.5;
}

.hero-desc {
  font-size: 0.72rem;
  line-height: 2;
  letter-spacing: 0.04em;
  color: var(--cream-dim);
  max-width: 380px;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.1s forwards;
}
.hero-cta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.3s forwards;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--red-bright), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
.scroll-text {
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red-dim);
}

/* ── MARQUEE ── */
.marquee-strip {
  background: #111;
  border-top: 1px solid rgba(200,180,154,0.15);
  border-bottom: 1px solid rgba(200,180,154,0.15);
  padding: 0.75rem 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  animation: marqueeScroll 20s linear infinite;
  white-space: nowrap;
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
.marquee-item {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  padding: 0 3rem;
  flex-shrink: 0;
}
.marquee-sep { color: var(--red-dim); font-size: 0.5rem; }

/* ── COMMON ── */
section { position: relative; }
.section-label {
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--red-bright);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--red-bright);
}
.gold-line { width: 60px; height: 1px; background: var(--red-bright); margin: 2rem 0; }
.divider-gold { width: 60px; height: 1px; background: var(--red-bright); margin: 2rem 0; }

/* ── BUTTONS ── */
.btn-primary {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold);
  padding: 1rem 2.5rem;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold); color: var(--black); }
.btn-ghost {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream-dim);
  background: transparent;
  border: none;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}
.btn-ghost:hover { color: var(--gold); }
.btn-ghost::after { content: '→'; transition: transform 0.3s; }
.btn-ghost:hover::after { transform: translateX(4px); }

/* ── PRODUCTS ── */
.products { padding: 8rem 4rem; background: var(--black); }
.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
}
.products-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  letter-spacing: 0.05em;
  color: var(--white);
  line-height: 1;
}
.products-header h2 span {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.35em;
  color: var(--red-bright);
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}
.view-all {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.view-all:hover { color: var(--gold); border-color: var(--gold); }

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

/* Product cards */
.product-card {
  position: relative;
  background: var(--charcoal);
  overflow: hidden;
}
.product-img {
  width: 100%;
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  transition: transform 0.6s ease;
}
.product-card:hover .product-img { transform: scale(1.04); }

/* REAL IMAGE support */
.product-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  filter: saturate(0.6) brightness(0.7);
  z-index: 1;
}
.product-card:hover .product-img img {
  filter: saturate(0.8) brightness(0.85);
}

/* Fallback bg if no image */
.product-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.product-dark .product-bg { background: radial-gradient(ellipse at center, #1a0f08 0%, #080808 100%); }
.product-medium .product-bg { background: radial-gradient(ellipse at center, #241508 0%, #0d0d0d 100%); }
.product-light .product-bg { background: radial-gradient(ellipse at center, #2a1c10 0%, #101010 100%); }

.product-art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4;
  z-index: 1;
}
/* Hide art when real image present; show art again if img failed to load */
.product-img img ~ .product-art { display: none; }
.product-img.img-missing img ~ .product-art { display: flex; }
.product-img.img-missing img { display: none; }

.product-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.92) 0%, transparent 55%);
  z-index: 2;
}
.product-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem;
  z-index: 3;
  transform: translateY(3rem);
  transition: transform 0.4s ease;
}
.product-card:hover .product-info { transform: translateY(0); }
.product-roast {
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 0.5rem;
}
.product-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.product-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--cream-dim);
  margin-bottom: 1.2rem;
  opacity: 0;
  transition: opacity 0.4s ease 0.1s;
}
.product-card:hover .product-tagline { opacity: 1; }
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease 0.15s;
}
.product-card:hover .product-footer { opacity: 1; }
.product-price { font-family: var(--font-serif); font-size: 1.2rem; color: var(--gold); }
.add-btn {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold);
  padding: 0.6rem 1.2rem;
  font-family: var(--font-body);
  transition: all 0.3s;
}
.add-btn:hover { background: var(--gold); color: var(--black); }

/* ── SHOPIFY BUY BUTTON EMBED ──
   Overrides Shopify's injected iframe/button to match site aesthetic.
   Shopify injects an <iframe> inside .shopify-embed — these rules
   force it to blend with the card layout. */
.shopify-embed { display: flex; align-items: center; }
.shopify-embed iframe { border: none !important; }
.shopify-embed .shopify-buy__btn {
  font-size: 0.55rem !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--gold) !important;
  background: transparent !important;
  border: 1px solid var(--gold) !important;
  padding: 0.6rem 1.2rem !important;
  font-family: var(--font-body) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: all 0.3s !important;
}
.shopify-embed .shopify-buy__btn:hover {
  background: var(--gold) !important;
  color: var(--black) !important;
}

/* HIGH CAF / DECAF / SIGNATURE badges */
.high-caf-badge {
  position: absolute; top: 1rem; right: 1rem; z-index: 4;
  font-family: var(--font-display);
  font-size: 0.55rem; letter-spacing: 0.2em;
  color: var(--red-bright);
  border: 1px solid var(--red);
  padding: 0.3rem 0.7rem;
  background: rgba(8,8,8,0.85);
}
.decaf-badge {
  position: absolute; top: 1rem; right: 1rem; z-index: 4;
  font-family: var(--font-display);
  font-size: 0.55rem; letter-spacing: 0.2em;
  color: var(--cream-dim);
  border: 1px solid rgba(200,180,154,0.2);
  padding: 0.3rem 0.7rem;
  background: rgba(8,8,8,0.85);
}
.signature-badge {
  position: absolute; top: 1rem; right: 1rem; z-index: 4;
  font-family: var(--font-display);
  font-size: 0.55rem; letter-spacing: 0.2em;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 0.3rem 0.7rem;
  background: rgba(8,8,8,0.85);
}
.signature-product .product-img-overlay {
  background: linear-gradient(to top, rgba(8,8,8,0.95) 0%, rgba(26,8,8,0.25) 60%, transparent 100%);
}

/* ── PHILOSOPHY ── */
.philosophy {
  padding: 8rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  background: var(--near-black);
}
.philosophy-text h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 2rem;
}
.philosophy-text h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--red-bright);
  font-size: 1.1em;
}
.philosophy-text p {
  font-size: 0.8rem;
  line-height: 2;
  color: var(--cream-dim);
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}
.philosophy-visual {
  position: relative;
  height: 500px;
}
.philosophy-img-frame {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.philosophy-img-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139,26,26,0.08) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}
.philosophy-img-frame::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-bright), transparent);
  z-index: 2;
}

/* REAL IMAGE in philosophy */
.philosophy-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.3) brightness(0.6);
}

/* Fallback animated beans */
.beans-visual {
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, #2a1f0a 0%, #0d0d0d 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.bean {
  position: absolute;
  background: #3d2810;
  border-radius: 50%;
  border: 1px solid #5a3d1a;
  animation: floatBean linear infinite;
}
.bean::after {
  content: '';
  position: absolute;
  top: 50%; left: 15%; right: 15%;
  height: 1px;
  background: #2a1b0a;
  transform: translateY(-50%);
}

/* ── QUOTE SECTION ── */
.quote-section {
  padding: 4rem 4rem 2.5rem;
  text-align: center;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
/* Static image background for quote — cup-steam.jpg */
.quote-img-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.quote-img-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.38;
  filter: saturate(0.2) brightness(0.6);
}
.quote-img-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(8,8,8,0.75) 70%),
    rgba(8,8,8,0.45);
}
.quote-bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 18rem;
  color: rgba(192,57,43,0.03);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.1em;
  z-index: 1;
}
.quote-mark {
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--red-bright);
  line-height: 0.5;
  display: block;
  margin-bottom: 1rem;
  opacity: 0.4;
  position: relative;
  z-index: 2;
}
blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  color: var(--cream);
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.5;
  font-weight: 300;
  position: relative;
  z-index: 2;
}
.quote-attr {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red-dim);
  position: relative;
  z-index: 2;
}

/* ── EXPERIENCE ── */
.experience {
  padding: 8rem 4rem;
  background: var(--dark-brown);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.exp-number {
  font-family: var(--font-display);
  font-size: 12rem;
  color: rgba(192,57,43,0.05);
  line-height: 1;
  position: absolute;
  top: -2rem; left: -2rem;
  pointer-events: none;
  letter-spacing: -0.05em;
}
/* topcup.jpg background behind stats grid */
.exp-img-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.exp-img-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.38;
  filter: saturate(0.25) brightness(0.6);
}
.exp-img-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,20,16,0.45) 0%, rgba(28,20,16,0.15) 100%);
}
.exp-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  position: relative;
  z-index: 1;
}
.exp-stat {
  background: rgba(8,8,8,0.6);
  padding: 2.5rem;
  border: 1px solid rgba(192,57,43,0.1);
}
.exp-stat-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--red-bright);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.exp-stat-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.experience-visual { position: relative; }
.experience-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  letter-spacing: 0.05em;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 2rem;
}
.experience-text h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--red-bright);
}
.experience-text p {
  font-size: 0.78rem;
  line-height: 2;
  color: var(--cream-dim);
  margin-bottom: 1.5rem;
}

/* On touch devices, always show product info (no hover available) */
@media (hover: none) {
  .product-card .product-info { transform: translateY(0); }
  .product-card .product-tagline { opacity: 1; }
  .product-card .product-footer { opacity: 1; }
}

/* ── PROCESS ── */
.process { padding: 8rem 4rem; background: var(--near-black); }
.process h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 4rem;
}
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); }
.process-step {
  padding: 3rem 2.5rem;
  border-left: 1px solid rgba(192,57,43,0.15);
  position: relative;
  transition: background 0.4s;
}
.process-step:hover { background: rgba(192,57,43,0.03); }
.process-step::before {
  content: attr(data-num);
  font-family: var(--font-display);
  font-size: 6rem;
  color: rgba(192,57,43,0.05);
  position: absolute;
  top: 1rem; right: 1rem;
  line-height: 1;
}
.step-icon { width: 40px; height: 40px; margin-bottom: 1.5rem; }
.step-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--red-bright);
  margin-bottom: 1rem;
}
.step-desc { font-size: 0.72rem; line-height: 1.9; color: var(--cream-dim); letter-spacing: 0.02em; }

/* ── NEWSLETTER ── */
.newsletter {
  padding: 7rem 4rem;
  background: var(--charcoal);
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* bean-light.jpg subtle background texture */
.newsletter-img-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.newsletter-img-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.28;
  filter: saturate(0.3) brightness(0.55);
}
.newsletter-img-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.72);
}
.newsletter::before {
  content: '';
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-dim), transparent);
  z-index: 1;
}
.newsletter::after {
  content: '';
  position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-dim), transparent);
  z-index: 1;
}
.newsletter h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}
.newsletter p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--cream-dim);
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}
.newsletter .section-label { position: relative; z-index: 1; }
.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,180,154,0.2);
  border-right: none;
  color: var(--cream);
  padding: 1rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  outline: none;
  transition: border-color 0.3s;
}
.newsletter-form input:focus { border-color: var(--red-bright); }
.newsletter-form input::placeholder { color: var(--cream-dim); opacity: 0.4; }
.newsletter-form button {
  background: transparent;
  border: 1px solid var(--gold);
  border-left: none;
  color: var(--gold);
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.3s;
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--gold); color: var(--black); }

/* ── FOOTER ── */
footer {
  background: var(--black);
  padding: 5rem 4rem 3rem;
  border-top: 1px solid rgba(192,57,43,0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.3em;
  color: var(--cream);
}
.footer-logo span { color: var(--red-bright); }
.footer-brand p {
  font-size: 0.72rem;
  line-height: 1.9;
  color: var(--cream-dim);
  margin: 1.5rem 0;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red-dim);
  margin-bottom: 1.5rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul a {
  font-size: 0.72rem;
  color: var(--cream-dim);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
.footer-col ul a:hover { color: var(--cream); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-bottom p { font-size: 0.6rem; color: var(--cream-dim); opacity: 0.4; letter-spacing: 0.1em; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes floatBean {
  0% { transform: translateY(200px) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-200px) rotate(360deg); opacity: 0; }
}
@keyframes steam1 {
  0% { transform: translateY(0) scaleX(1); opacity: 0.5; }
  100% { transform: translateY(-80px) scaleX(1.5); opacity: 0; }
}
@keyframes steam2 {
  0% { transform: translateY(0) scaleX(1); opacity: 0.3; }
  100% { transform: translateY(-60px) scaleX(2); opacity: 0; }
}
@keyframes pour {
  0%, 100% { opacity: 0.85; transform: scaleY(1); }
  50% { opacity: 0.6; transform: scaleY(0.95); }
}

/* ── TESTIMONIALS ── */
.testimonials {
  padding: 7rem 2rem 6rem;
  background: var(--near-black);
  text-align: center;
  border-top: 1px solid rgba(200,180,154,0.08);
  border-bottom: 1px solid rgba(200,180,154,0.08);
}
.testimonials h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: 0.08em;
  color: var(--cream);
  margin-bottom: 4rem;
}
.testimonial-stage {
  max-width: 680px;
  margin: 0 auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  transition: opacity 0.45s ease;
}
.testimonial-stage.fading { opacity: 0; }
.testimonial-stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.35em;
}
.testimonial-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.65;
  color: var(--cream);
}
.testimonial-author {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dim);
}
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}
.testimonial-prev,
.testimonial-next {
  background: transparent;
  border: none;
  color: var(--gold-dim);
  font-size: 1.1rem;
  padding: 0.25rem 0.5rem;
  transition: color 0.2s;
}
.testimonial-prev:hover,
.testimonial-next:hover { color: var(--gold); }
.testimonial-dots {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.testimonial-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: none;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}
.testimonial-dot.active {
  background: var(--gold);
  transform: scale(1.5);
}

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* hero animations now handled inline via fadeUp keyframe */

/* ── MOBILE NAV TOGGLE ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 14px;
  background: transparent;
  border: none;
  padding: 0;
  margin-left: 1.5rem;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--cream);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
/* X state */
nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav { padding: 1.5rem 2rem; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(8,8,8,0.98);
    border-top: 1px solid rgba(200,180,154,0.08);
    border-bottom: 1px solid rgba(200,180,154,0.08);
    flex-direction: column;
    gap: 0;
    padding: 0;
  }
  .nav-links.nav-links-open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.04); }
  .nav-links a {
    display: block;
    padding: 1.2rem 2rem;
    font-size: 0.7rem;
    letter-spacing: 0.35em;
  }
  .hero-content { padding: 0 2rem; }
  .hero-visual { display: none; }
  .philosophy, .experience { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 2rem; }
  .products { padding: 5rem 2rem; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .newsletter, .quote-section, .process { padding: 5rem 2rem; }
  footer { padding: 4rem 2rem 2rem; }
}
@media (max-width: 600px) {
  .products-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-tagline-line { font-size: clamp(2.5rem, 12vw, 4rem); }
  .hero-tagline-line.indent { padding-left: 1.5rem; }
  .hero-tagline-line.accent { padding-left: 3rem; font-size: clamp(2rem, 9vw, 3rem); }
}
