/* ============ VIRA COFFEE ============ */
:root {
  --espresso: #2b160c;
  --espresso-2: #3a1f11;
  --brown: #5a2e17;
  --brown-2: #8a4a22;
  --gold: #d9a55f;
  --gold-2: #c58b45;
  --cream: #faf6f0;
  --paper: #fefbf6;
  --ink: #2a1a10;
  --muted: #6e5a4b;
  --line: #e7dccd;
  --serif: 'Playfair Display', Georgia, serif;
  --script: 'Great Vibes', cursive;
  --sans: 'Manrope', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.v-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.gold { color: var(--gold); }
.brown { color: var(--brown-2); }

/* ---- buttons ---- */
.v-btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.v-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.v-btn:hover { transform: translateY(-2px); }
.v-btn:hover svg { transform: translateX(3px); }
.v-btn-gold { background: linear-gradient(180deg, #e6b977, var(--gold-2)); color: var(--espresso); box-shadow: 0 8px 24px rgba(197,139,69,.35); }
.v-btn-dark { background: var(--espresso); color: #fff; box-shadow: 0 8px 22px rgba(43,22,12,.25); }
.v-btn-dark:hover { background: var(--brown); }

.v-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 14px; }

/* ---- header ---- */
.v-header { position: sticky; top: 0; z-index: 50; background: rgba(254,251,246,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: box-shadow .25s; }
.v-header.scrolled { box-shadow: 0 6px 24px rgba(43,22,12,.08); }
.v-header .v-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.v-brand img { height: 60px; width: auto; }
.v-nav { display: flex; align-items: center; gap: 32px; }
.v-nav a:not(.v-btn) { font-weight: 600; font-size: 15px; color: var(--brown); position: relative; }
.v-nav a:not(.v-btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.v-nav a:not(.v-btn):hover::after { transform: scaleX(1); }
.v-nav .v-btn { padding: 10px 22px; font-size: 14px; }
.v-menu { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 8px; }
.v-menu span { display: block; height: 2px; background: var(--espresso); border-radius: 2px; transition: transform .25s, opacity .25s; }
.v-menu.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.v-menu.open span:nth-child(2) { opacity: 0; }
.v-menu.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- hero ---- */
.v-hero { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; background: #2a1810; color: #fff; }
.v-hero-img { position: absolute; inset: 0 0 0 auto; width: 58%; background-size: cover; background-position: center left; }
.v-hero-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #2a1810 0%, rgba(42,24,16,.75) 25%, rgba(42,24,16,0) 60%); }
.v-hero .v-wrap { position: relative; }
.v-hero-copy { max-width: 560px; padding: 80px 0; }
.v-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 6vw, 72px); line-height: 1.05; margin-bottom: 22px; text-shadow: 0 4px 24px rgba(0,0,0,.35); }
.v-hero p { font-size: clamp(16px, 1.6vw, 20px); color: #f1e6d8; margin-bottom: 34px; }

/* ---- features ---- */
.v-features { background: var(--paper); border-bottom: 1px solid var(--line); }
.v-features .v-wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.v-feat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 16px; position: relative; }
.v-feat + .v-feat::before { content: ''; position: absolute; left: 0; top: 30%; bottom: 30%; width: 1px; background: var(--line); }
.v-feat svg { width: 42px; height: 42px; fill: none; stroke: var(--brown-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.v-feat b { font-size: 17px; color: var(--espresso); }
.v-feat span { font-size: 14px; color: var(--muted); }

/* ---- coffee ---- */
.v-coffee { padding: 100px 0; background: var(--cream); }
.v-coffee .v-wrap { display: grid; grid-template-columns: 400px 1fr; gap: 48px; align-items: center; }
.v-coffee h2, .v-story h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 4vw, 46px); line-height: 1.12; margin-bottom: 20px; }
.v-coffee h2 { color: var(--espresso); }
.v-coffee-copy p { color: var(--muted); margin-bottom: 30px; font-size: 16px; }
.v-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.v-prod { text-align: center; }
.v-prod img { width: 100%; aspect-ratio: 117 / 200; object-fit: cover; background: #fefbf6; border-radius: 14px; transition: transform .35s; }
.v-prod:hover img { transform: translateY(-8px); }
.v-prod figcaption { margin-top: 14px; }
.v-prod b { display: block; font-size: 16px; color: var(--espresso); }
.v-prod span { font-size: 13px; color: var(--muted); }

/* ---- story ---- */
.v-story { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--espresso-2); color: #fff; }
.v-story-img { min-height: 520px; background-size: cover; background-position: center; position: relative; }
.v-story-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(58,31,17,0) 55%, var(--espresso-2) 100%); }
.v-story-copy { padding: 90px 7vw 80px 56px; max-width: 700px; }
.v-story .v-eyebrow { color: var(--gold); }
.v-story-copy > p { color: #e9dccd; margin-bottom: 32px; font-size: 16px; }
.v-values { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 48px; }
.v-values div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 0 8px; position: relative; }
.v-values div + div::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: rgba(217,165,95,.35); }
.v-values svg { width: 36px; height: 36px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v-values span { font-size: 13px; color: #f1e6d8; line-height: 1.3; }

/* ---- banner ---- */
.v-banner { position: relative; overflow: hidden; background: #faf0e1; }
.v-banner-img { position: absolute; inset: 0 0 0 auto; width: 55%; background-size: cover; background-position: center; }
.v-banner-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #faf0e1 0%, rgba(250,240,225,.6) 25%, rgba(250,240,225,0) 60%); }
.v-banner .v-wrap { position: relative; }
.v-banner-copy { padding: 70px 0; max-width: 520px; }
.v-script { font-family: var(--script); font-size: clamp(48px, 6vw, 76px); line-height: 1; color: var(--espresso); }
.v-rule { display: block; width: 220px; height: 3px; margin: 10px 0 18px 40px; background: linear-gradient(90deg, transparent, var(--gold-2), transparent); border-radius: 3px; }
.v-banner p { font-size: 19px; font-weight: 500; color: var(--espresso); margin-bottom: 24px; }

/* ---- footer ---- */
.v-footer { background: var(--espresso); color: #e9dccd; }
.v-footer .v-wrap { display: flex; align-items: center; gap: 24px; padding-top: 20px; padding-bottom: 20px; }
.v-line { flex: 1; height: 1px; background: rgba(217,165,95,.4); }
.v-footer p { font-size: 14px; text-align: center; }
.v-footer b { color: #fff; letter-spacing: .08em; font-size: 15px; }
.v-footer .v-foot-powered { font-size: 12px; opacity: .75; margin-top: 4px; }
.v-footer .v-foot-powered a { color: #fff; font-weight: 600; text-decoration: none; }
.v-footer .v-foot-powered a:hover { text-decoration: underline; }
.v-foot-contact { margin-bottom: 4px; }
.v-foot-contact a { color: var(--gold); }
.v-foot-contact a:hover { text-decoration: underline; }

.v-contact { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 26px; }
.v-contact a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--espresso); }
.v-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.v-contact svg { width: 18px; height: 18px; fill: none; stroke: var(--gold-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- reveal ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---- responsive ---- */
@media (max-width: 1024px) {
  .v-coffee .v-wrap { grid-template-columns: 1fr; text-align: center; }
  .v-coffee-copy { max-width: 560px; margin: 0 auto; }
  .v-story { grid-template-columns: 1fr; }
  .v-story-img { min-height: 360px; }
  .v-story-img::after { background: linear-gradient(180deg, rgba(43,22,12,0) 70%, var(--espresso-2) 100%); }
  .v-story-copy { padding: 56px 24px 64px; max-width: none; }
}
@media (max-width: 760px) {
  .v-wrap { padding: 0 16px; }
  .v-brand img { height: 50px; }
  .v-menu { display: flex; }
  .v-nav { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); box-shadow: 0 16px 30px rgba(43,22,12,.12); max-height: 0; overflow: hidden; transition: max-height .3s; }
  .v-nav.open { max-height: 320px; }
  .v-nav a:not(.v-btn) { padding: 16px; width: 100%; text-align: center; border-top: 1px solid var(--line); }
  .v-nav .v-btn { margin: 16px; }

  .v-hero { min-height: 640px; align-items: flex-end; }
  .v-hero-img { width: 100%; background-position: center; }
  .v-hero-img::after { background: linear-gradient(180deg, rgba(42,24,16,.15) 0%, rgba(42,24,16,.55) 45%, #2a1810 78%); }
  .v-hero-copy { padding: 0 0 56px; }

  .v-features .v-wrap { grid-template-columns: repeat(2, 1fr); }
  .v-feat { padding: 28px 8px; }
  .v-feat:nth-child(3)::before { display: none; }
  .v-feat:nth-child(n+3) { border-top: 1px solid var(--line); }

  .v-coffee { padding: 64px 0; }
  .v-products { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }

  .v-values { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .v-values div:nth-child(3)::before { display: none; }

  .v-banner { padding-top: 180px; }
  .v-banner-img { width: 100%; height: 220px; inset: 0 0 auto 0; }
  .v-banner-img::after { background: linear-gradient(180deg, rgba(250,240,225,0) 40%, #fff8ec 100%); }
  .v-banner-copy { padding: 0 0 56px; text-align: center; margin: 0 auto; }
  .v-rule { margin: 10px auto 18px; }

  .v-footer .v-wrap { gap: 12px; }
  .v-footer p { font-size: 13px; }
  .v-contact { justify-content: center; }
}
