:root {
  --cream: #F5EFE0;
  --cream-dark: #EDE3C8;
  --brown-light: #C4935A;
  --brown: #8B5E3C;
  --brown-deep: #5C3A1E;
  --forest: #2D4A2D;
  --forest-light: #3D6B3D;
  --ink: #1A1208;
  --mist: rgba(245,239,224,0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}
a { text-decoration: none; }
img { max-width: 100%; display: block; }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 4rem;
  background: rgba(28, 18, 8, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196,147,90,0.2);
}

.nav-logo {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-size: 1.6rem; font-weight: 300; letter-spacing: 0.15em;
  color: var(--cream); text-decoration: none;
}
.nav-logo span { color: var(--brown-light); }

.nav-links {
  display: flex; gap: 2.4rem; list-style: none; align-items: center;
}
.nav-links a {
  color: var(--cream-dark); text-decoration: none;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 400; transition: color 0.3s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--brown-light); }

.hero {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(45,74,45,0.45) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(91,58,30,0.35) 0%, transparent 55%),
    linear-gradient(160deg, #1A1208 0%, #2D1E0E 40%, #1C2C1C 100%);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(196,147,90,0.12) 1px, transparent 0);
  background-size: 40px 40px;
  animation: grain 8s linear infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); }
  25% { transform: translate(-1px, 1px); }
  50% { transform: translate(1px, -1px); }
  75% { transform: translate(-1px, -1px); }
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  border: 1px solid rgba(196,147,90,0.5);
  color: var(--brown-light);
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  padding: 0.5rem 1.4rem; border-radius: 2rem; margin-bottom: 2.5rem;
  animation: fadeUp 0.8s ease both;
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 300; line-height: 0.9;
  color: var(--cream);
  letter-spacing: -0.01em;
  animation: fadeUp 0.8s 0.15s ease both;
}
.hero h1 em {
  font-style: italic; color: var(--brown-light); display: block;
}
.hero-sub {
  margin-top: 2rem;
  font-size: 1rem; font-weight: 300; letter-spacing: 0.1em;
  color: rgba(237,227,200,0.7);
  max-width: 460px; line-height: 1.8; margin-inline: auto;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero-cta {
  margin-top: 3rem;
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 0.8s 0.45s ease both;
}
.btn-primary { 
  background: var(--brown-light); color: var(--ink); 
  padding: 0.85rem 2.2rem; border: none; border-radius: 0.2rem;
  font-family: 'Jost', sans-serif; font-size: 0.8rem;
  letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  cursor: pointer; text-decoration: none; transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover { background: var(--brown); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--cream);
  padding: 0.85rem 2.2rem; border: 1px solid rgba(237,227,200,0.4);
  border-radius: 0.2rem; font-family: 'Jost', sans-serif;
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 400; cursor: pointer; text-decoration: none; transition: border-color 0.3s, color 0.3s;
}
.btn-outline:hover { border-color: var(--brown-light); color: var(--brown-light); }
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(237,227,200,0.4); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; animation: fadeUp 0.8s 0.6s ease both;
}
.scroll-line {
  width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(196,147,90,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity:0.4; } 50% { opacity:1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.origin-banner {
  background: var(--forest);
  padding: 1.2rem 4rem;
  display: flex; align-items: center; justify-content: center; gap: 3rem;
  flex-wrap: wrap;
}
.origin-item {
  display: flex; align-items: center; gap: 0.8rem;
  color: rgba(237,227,200,0.85); font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase;
}
.origin-dot { width: 6px; height: 6px; background: var(--brown-light); border-radius: 50%; }

section, .page-section { padding: 7rem 2rem; }
.container, .page-container { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 0.7rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--brown-light); margin-bottom: 1rem; font-weight: 500;
}
.section-title {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 300; line-height: 1.1; color: var(--brown-deep);
}
.section-title em { font-style: italic; color: var(--forest); }

.story, .farmer-gallery { background: var(--cream); }
.story-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center;
}
.story-visual { position: relative; }
.story-map {
  width: 100%; aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-light) 50%, var(--brown) 100%);
  border-radius: 0.3rem; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.5rem; padding: 2rem; position: relative;
}
.story-map::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.country-node {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: var(--cream); z-index: 1;
}
.country-node .label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 300; letter-spacing: 0.1em;
}
.country-node .sub {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(237,227,200,0.6);
}
.bridge-line {
  width: 1px; height: 60px; background: linear-gradient(to bottom, rgba(196,147,90,0.8), rgba(196,147,90,0.2)); position: relative;
}
.bridge-line::after {
  content: '✦'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); color: var(--brown-light); font-size: 0.9rem; background: var(--forest); padding: 0.2rem;
}
.story-text p {
  font-size: 1.05rem; line-height: 1.9; color: #3A2A18; font-weight: 300; margin-bottom: 1.5rem;
}
.story-quote {
  border-left: 2px solid var(--brown-light); padding: 0.8rem 1.5rem; margin: 2rem 0;
}
.story-quote p {
  font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-style: italic; color: var(--brown-deep); margin: 0; line-height: 1.6;
}
.story-founders { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.founder-tag {
  background: var(--forest); color: var(--cream); padding: 0.4rem 1rem; border-radius: 2rem; font-size: 0.75rem; letter-spacing: 0.1em;
}

.mission {
  background: var(--brown-deep); text-align: center; position: relative; overflow: hidden;
}
.mission::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(45,74,45,0.3) 0%, transparent 70%); }
.mission .section-title, .mission .section-label { position: relative; }
.mission .section-title { color: var(--cream); }
.mission .section-title em { color: var(--brown-light); }
.mission-text {
  max-width: 720px; margin: 2rem auto 0; font-size: 1.15rem; line-height: 1.9; color: rgba(237,227,200,0.8); font-weight: 300; position: relative;
}
.mission-pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 4rem; position: relative;
}
.pillar {
  padding: 2rem 1.5rem; border: 1px solid rgba(196,147,90,0.2); border-radius: 0.3rem; text-align: left;
}
.pillar-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.pillar h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 400; color: var(--brown-light); margin-bottom: 0.6rem; }
.pillar p { font-size: 0.88rem; color: rgba(237,227,200,0.65); line-height: 1.7; }

.mission-traceability {
  margin-top: 5rem; padding-top: 4rem; border-top: 1px solid rgba(196,147,90,0.2); position: relative;
}
.trace-heading { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 400; color: var(--cream); }
.trace-heading em { font-style: italic; color: var(--brown-light); }
.trace-sub { max-width: 560px; margin: 1.5rem auto 4rem; font-size: 1rem; color: rgba(237,227,200,0.7); line-height: 1.8; font-weight: 300; }
.trace-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(196,147,90,0.15); border: 1px solid rgba(196,147,90,0.15); border-radius: 0.3rem; overflow: hidden; }
.trace-step { background: rgba(28,44,28,0.8); padding: 2.5rem 1.5rem; text-align: center; }
.trace-step:hover { background: rgba(45,74,45,0.9); }
.trace-icon { font-size: 2rem; margin-bottom: 1rem; }
.trace-step h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--cream); margin-bottom: 0.5rem; }
.trace-step p { font-size: 0.8rem; color: rgba(237,227,200,0.55); line-height: 1.6; }

.coffees { background: var(--cream-dark); }
.coffees-intro { max-width: 600px; margin-bottom: 4rem; }
.coffees-intro p { margin-top: 1.5rem; font-size: 1rem; line-height: 1.8; color: #4A3020; font-weight: 300; }
.coffee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.coffee-card {
  background: var(--cream); border: 1px solid rgba(139,94,60,0.15); border-radius: 0.3rem; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; cursor: default;
}
.coffee-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(92,58,30,0.15); }
.coffee-card-top {
  padding: 2rem 1.8rem 1.2rem; background: linear-gradient(135deg, var(--forest) 0%, var(--brown-deep) 100%); position: relative; overflow: hidden; min-height: 140px; display: flex; flex-direction: column; justify-content: flex-end;
}
.coffee-card-top::before {
  content: ''; position: absolute; top: -20px; right: -20px; width: 100px; height: 100px; border: 1px solid rgba(196,147,90,0.2); border-radius: 50%;
}
.coffee-card-top::after {
  content: ''; position: absolute; top: 10px; right: 10px; width: 60px; height: 60px; border: 1px solid rgba(196,147,90,0.15); border-radius: 50%;
}
.coffee-number { font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(196,147,90,0.7); margin-bottom: 0.5rem; }
.coffee-name { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 300; color: var(--cream); line-height: 1; position: relative; z-index: 1; }
.coffee-card-body { padding: 1.5rem 1.8rem; }
.coffee-region { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brown-light); margin-bottom: 0.6rem; }
.coffee-desc { font-size: 0.88rem; line-height: 1.7; color: #4A3020; font-weight: 300; }
.coffee-purchase { display: flex; align-items: center; gap: 0.5rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid rgba(139,94,60,0.15); }
.coffee-purchase-btn {
  display: inline-flex; align-items: center; gap: 0.5rem; background: var(--brown-deep); color: var(--cream); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.6rem 1.1rem; border-radius: 2rem; text-decoration: none; border: 1px solid var(--brown-deep); transition: background 0.3s, color 0.3s;
}
.coffee-purchase-btn:hover { background: transparent; color: var(--brown-deep); }
.coffee-purchase-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.coffee-flag { position: absolute; top: 1.2rem; right: 1.5rem; font-size: 0.8rem; letter-spacing: 0.1em; color: rgba(237,227,200,0.5); }

.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 1rem; margin-top: 3rem;
}
.gallery-item {
  position: relative; border-radius: 0.3rem; overflow: hidden; background-size: cover; background-position: center; cursor: pointer;
}
.gallery-item.ph-1 { background: radial-gradient(ellipse at 30% 30%, #6B4A2A 0%, #3A2A18 70%); }
.gallery-item.ph-2 { background: radial-gradient(ellipse at 70% 40%, #4A5C3A 0%, #223018 70%); }
.gallery-item.ph-3 { background: radial-gradient(ellipse at 40% 60%, #8B5E3C 0%, #2D1E0E 70%); }
.gallery-item.ph-4 { background: radial-gradient(ellipse at 60% 30%, #5C3A1E 0%, #1C2C1C 70%); }
.gallery-item.ph-5 { background: radial-gradient(ellipse at 50% 50%, #C4935A 0%, #3A2A18 75%); }
.gallery-item.ph-6 { background: radial-gradient(ellipse at 30% 70%, #4A5C3A 0%, #1A1208 70%); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(26,18,8,0.85) 100%); opacity: 0; transition: opacity 0.35s ease;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-caption {
  position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.1rem; transform: translateY(10px); opacity: 0; transition: transform 0.35s ease, opacity 0.35s ease; z-index: 1;
}
.gallery-item:hover .gallery-caption { transform: translateY(0); opacity: 1; }
.gallery-name { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--cream); font-style: italic; }
.gallery-role { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brown-light); margin-top: 0.2rem; }
.gallery-note { text-align: center; margin-top: 2.5rem; font-size: 0.85rem; color: rgba(92,58,30,0.65); font-style: italic; }
.trust-badges { display: flex; align-items: center; justify-content: center; gap: 3rem; margin-top: 4rem; flex-wrap: wrap; padding: 2rem; border-top: 1px solid rgba(139,94,60,0.15); }
.badge { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(92,58,30,0.5); font-weight: 500; display: flex; align-items: center; gap: 0.5rem; }
.badge::before { content: '✦'; color: var(--brown-light); }

.contact { background: var(--brown-deep); text-align: center; position: relative; overflow: hidden; }
.contact::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 20%, rgba(45,74,45,0.25) 0%, transparent 60%); }
.contact .section-title, .contact .section-label { position: relative; }
.contact .section-title { color: var(--cream); }
.contact .section-title em { color: var(--brown-light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 4rem; text-align: left; position: relative; }
.contact-office h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--brown-light); margin-bottom: 1rem; }
.contact-office p { font-size: 0.9rem; color: rgba(237,227,200,0.7); line-height: 1.8; font-weight: 300; }
.contact-form-area { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(237,227,200,0.5); }
.form-group input, .form-group textarea, .form-group select {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(196,147,90,0.2); border-radius: 0.2rem; padding: 0.7rem 1rem; color: var(--cream); font-family: 'Jost', sans-serif; font-size: 0.9rem; outline: none; transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--brown-light); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select option { background: var(--brown-deep); }
.trade-partners-label { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brown-light); margin-top: 1.4rem; margin-bottom: 0.6rem; }
.trade-partners { display: flex; gap: 1rem; margin-top: 0; flex-wrap: wrap; }
.trade-partner-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(196,147,90,0.2); border-radius: 0.3rem; padding: 1rem 1.2rem; flex: 1; min-width: 170px; transition: border-color 0.3s, background 0.3s;
}
.trade-partner-card:hover { border-color: var(--brown-light); background: rgba(255,255,255,0.08); }
.trade-partner-card .partner-icon { font-size: 1.3rem; margin-bottom: 0.4rem; }
.trade-partner-card h4 { font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: var(--brown-light); margin-bottom: 0.3rem; }
.trade-partner-card p { font-size: 0.78rem; color: rgba(237,227,200,0.55); line-height: 1.55; font-weight: 300; }

footer {
  background: var(--ink); padding: 4rem 2rem 2rem;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(196,147,90,0.1); max-width: 1100px; margin: 0 auto;
}
.footer-brand .logo { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 300; letter-spacing: 0.1em; color: var(--cream); margin-bottom: 1rem; }
.footer-brand .logo span { color: var(--brown-light); }
.footer-brand p { font-size: 0.85rem; color: rgba(237,227,200,0.45); line-height: 1.7; font-weight: 300; max-width: 280px; }
.footer-col h4 { font-size: 0.68rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--brown-light); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a { color: rgba(237,227,200,0.45); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.footer-col ul a:hover { color: var(--brown-light); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 2rem; flex-wrap: wrap; gap: 1rem; max-width: 1100px; margin: 0 auto; }
.footer-bottom p { font-size: 0.75rem; color: rgba(237,227,200,0.25); }
.footer-legal { display: flex; gap: 2rem; }
.footer-legal a { font-size: 0.75rem; color: rgba(237,227,200,0.25); text-decoration: none; transition: color 0.3s; }
.footer-legal a:hover { color: var(--brown-light); }

.reveal { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.hidden { opacity: 0; transform: translateY(30px); }
.reveal.hidden.visible { opacity: 1; transform: none; }

.page-hero {
  min-height: 70vh; padding-top: 9rem; padding-bottom: 4rem; background: linear-gradient(160deg, #1A1208 0%, #2D1E0E 40%, #1C2C1C 100%);
  color: var(--cream); text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(196,147,90,0.12), transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero p { margin-top: 1rem; font-size: 0.8rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--brown-light); }
.page-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 300; line-height: 1; }
.page-hero h1 em { color: var(--brown-light); font-style: italic; }
.page-hero .lead { max-width: 700px; margin: 1.7rem auto 0; font-size: 1.05rem; line-height: 1.8; color: rgba(237,227,200,0.75); }

.page-card {
  background: var(--cream); border: 1px solid rgba(139,94,60,0.15); border-radius: 0.4rem; padding: 2rem; box-shadow: 0 12px 32px rgba(26,18,8,0.06);
}

.list-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
}
.list-item { padding: 1.5rem; border: 1px solid rgba(139,94,60,0.12); border-radius: 0.3rem; background: rgba(255,255,255,0.1); }
.list-item h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; color: var(--brown-deep); margin-bottom: 0.8rem; }
.list-item p { color: #3A2A18; line-height: 1.8; }

/* ============ Cart Notification ============ */
.cart-notification {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 1000;
  background: #4a7c59; color: white; padding: 1rem 1.5rem;
  border-radius: 0.3rem; font-size: 0.95rem; font-weight: 500;
  box-shadow: 0 8px 24px rgba(26,18,8,0.2);
  animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
  from { transform: translateX(400px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ============ Button Styles ============ */
.btn-primary, .btn-secondary {
  display: inline-block; padding: 1rem 2rem;
  font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 500; border-radius: 0.3rem; transition: all 0.3s;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
}
.btn-primary {
  background: #8b5e3c; color: white;
}
.btn-primary:hover {
  background: #6b4830; transform: translateY(-2px);
}
.btn-secondary {
  background: transparent; color: #8b5e3c; border-color: #8b5e3c;
}
.btn-secondary:hover {
  background: #f5efe0; transform: translateY(-2px);
}

@media (max-width: 900px) {
  nav { padding: 1.2rem 1.5rem; }
  .nav-links { gap: 1.5rem; }
  .story-grid { grid-template-columns: 1fr; gap: 3rem; }
  .coffee-grid { grid-template-columns: 1fr 1fr; }
  .mission-pillars { grid-template-columns: 1fr; }
  .trace-steps { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-item.wide { grid-column: span 2; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .trade-partners { flex-direction: column; }
  .list-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  nav { padding: 1rem; }
  .nav-links { display: none; }
  section, .page-section { padding: 4rem 1.2rem; }
  .coffee-grid { grid-template-columns: 1fr; }
  .trace-steps { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery-item.wide, .gallery-item.tall { grid-column: span 1; grid-row: span 1; }
  .footer-top { grid-template-columns: 1fr; }
  .origin-banner { padding: 1rem; gap: 1.5rem; }
  .trust-badges { gap: 1.5rem; }
}
