/* ============================================================
   LAYOUT — eirene-classic: exact section geometry from reference
   hero 100vh · harvest 200vh · beans · roast 400vh pin ·
   process (leaf pin + 2 photos) · bag · footer
   ============================================================ */

/* ---------- navbar (fixed pill, top right) ---------- */
.navbar{
  position:fixed;z-index:99;top:2rem;right:3%;
  display:flex;align-items:center;gap:1.5rem;
  padding:0 2rem;height:4rem;
  background:rgba(0,0,0,.5);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
  border-radius:999rem;
}
.navbar .logo-image{width:3.1rem;height:3.1rem;object-fit:contain;animation:donutSpin 12s linear infinite}
@keyframes donutSpin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion: reduce){.navbar .logo-image{animation:none}}
.navbar__links{display:flex;gap:1.5rem;font-size:1rem}
.navbar__links a{opacity:.85}
.navbar__links a:hover{opacity:.5}
.navbar__burger{display:none;width:2.4rem;height:2.4rem;position:relative}
.navbar__burger span{
  position:absolute;left:20%;right:20%;height:2px;background:#fff;border-radius:2px;
}
.navbar__burger span:nth-child(1){top:32%}
.navbar__burger span:nth-child(2){bottom:32%}
@media (max-width:767px){
  .navbar{top:1rem;right:4%;height:3.4rem;padding:0 1.2rem}
  .navbar__links{display:none}
  .navbar__burger{display:block}
  .hero-heading{font-size:2.6rem}
  .bag-text{font-size:1.05rem}
}
/* mobile full-screen menu */
.nav-mobile{
  position:fixed;inset:0;z-index:200;background:var(--primary-dark);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2rem;
  opacity:0;pointer-events:none;transition:opacity .4s ease;
}
.nav-mobile.open{opacity:1;pointer-events:auto}
.nav-mobile a{font-size:2.4rem;color:var(--secondary)}
.nav-mobile__close{position:absolute;top:2rem;right:2rem;width:2.6rem;height:2.6rem}
.nav-mobile__close::before,.nav-mobile__close::after{
  content:"";position:absolute;top:50%;left:10%;right:10%;height:2px;background:#fff;
}
.nav-mobile__close::before{transform:rotate(45deg)}
.nav-mobile__close::after{transform:rotate(-45deg)}

/* ---------- curtain gate ---------- */
.curtain{position:fixed;inset:0;z-index:100;display:flex}
.curtain-side{
  position:relative;flex:1 1 50%;background:var(--primary);
  display:flex;align-items:center;justify-content:center;
}
.curtain-side_left{border-right:1px solid rgba(255,255,255,.08)}
.curtain-side_right{border-left:1px solid rgba(255,255,255,.08)}
.curtain-side img{
  width:5rem;position:absolute;
  filter:brightness(0) invert(1);opacity:.9;
}
/* the Anthora cup straddles the curtain seam, dead center, full color */
.curtain-cup{
  width:11rem !important;position:absolute;z-index:103;
  left:100%;top:50%;transform:translate(-50%,-135%);
  filter:none !important;opacity:1 !important;
}
.preloader-logo_left{inset:auto 18% auto auto}
.preloader-logo_right{inset:auto auto auto 18%;transform:scaleX(-1)}
.curtain-button{
  position:absolute;z-index:102;left:50%;top:50%;transform:translate(-50%,-50%);
  display:flex;align-items:center;justify-content:center;
  color:#fff;text-transform:uppercase;font-size:.8rem;letter-spacing:.2em;
  border:1px solid rgba(255,255,255,.6);border-radius:999rem;
  padding:.9rem 2.4rem;transition:background-color .25s ease,opacity .4s ease;
  background:rgba(255,255,255,.04);
}
.curtain-button:hover{background:rgba(255,255,255,.12)}
.curtain.is-lifting{pointer-events:none}
.curtain.is-lifting .curtain-button{opacity:0}

/* ---------- hero ---------- */
.section_hero{
  position:relative;height:100vh;display:flex;justify-content:center;align-items:center;
  overflow:hidden;
}
.hero-video_wrapper{position:absolute;inset:0;overflow:hidden}
.hero-video_wrapper .img-slot,
.hero-video_wrapper img,
.hero-video_wrapper video{width:100%;height:100%;object-fit:cover}
.hero-content{
  position:relative;z-index:2;width:100%;margin-bottom:10rem;
}
.hero-heading_wrapper{display:flex;flex-direction:column;gap:.2rem;align-items:flex-start}
.hero-heading-row{overflow:hidden}
.hero-heading{
  display:inline-block;color:var(--secondary);
  font-family:var(--font-heading);font-size:6vw;line-height:1.05;font-weight:500;
}

/* ---------- beans strip (heading + map) ---------- */
.section_beans{padding-top:20rem;padding-bottom:10rem}
.container-4{
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  width:100%;max-width:74%;margin:0 auto;
}
.heading_wrap{display:flex;flex-direction:column;gap:1rem;align-items:center;width:100%}
.map-image{width:34vw;max-width:30rem;margin-top:3rem;border-radius:1.6rem;box-shadow:0 1.4rem 3.4rem rgba(10,24,45,.38), 0 0 0 1px rgba(255,255,255,.18)}
.map-image-wrap{display:block;position:relative;margin-top:3rem}
.map-image-wrap .map-image{margin-top:0}
.map-address{display:inline-block;margin-top:1rem;padding:.55rem 1.6rem;border-radius:999px;
  border:1px solid rgba(255,255,255,.5);background:rgba(255,255,255,.08);
  color:var(--white-smoke);font-family:var(--font-label);font-size:.78rem;
  letter-spacing:.16em;text-transform:uppercase}
@media (max-width:767px){.map-image{width:80vw}}

/* ---------- harvest ---------- */
.section_harvest{
  position:relative;min-height:200vh;display:flex;flex-direction:column;
  justify-content:center;align-items:center;gap:4rem;
  padding:6rem 0;overflow:hidden;
}
.harvest-photo-card{
  position:relative;z-index:4;width:min(24rem,80vw);border-radius:1.8rem;overflow:hidden;
  box-shadow:0 1.4rem 3.4rem rgba(10,24,45,.38), 0 0 0 1px rgba(255,255,255,.18);
}
.harvest-photo-card img{display:block;width:100%;height:auto}
@media (max-width:767px){.harvest-photo-card{width:82vw}}
.harvest_content{
  display:flex;flex-direction:column;gap:2rem;align-items:flex-start;
  margin-right:auto;max-width:40rem;padding:0 5%;
}
.harvest_content.align-right{
  width:auto;margin:0 0 0 auto;border-radius:1rem;overflow:hidden;
}
.harvest-image_slot{width:min(48rem,60vw);aspect-ratio:4/3;border-radius:1.8rem;overflow:hidden}
@media (max-width:767px){.harvest-image_slot{width:86vw}}
.harvest-content_heading{display:flex;flex-direction:column;align-items:flex-start}
.harvest-content_heading.gap{gap:1rem}
.harvest-image_slot .img-slot{width:100%;height:100%}

/* ---------- roast (400vh pin) ---------- */
.section_roast{position:relative;height:400vh}
.roast-sticky{
  position:sticky;top:0;height:100vh;display:flex;justify-content:center;align-items:center;
  overflow:hidden; /* clips drifting beans; NOT on the section (sticky safety) */
}
.bean{
  position:absolute;z-index:3;
  transform:translate(var(--s-x,0px), var(--s-y,0px)) rotate(var(--s-r,0deg)) scale(var(--s-sc,1));
  filter:saturate(var(--s-sat,0%));
  opacity:var(--s-o,1);
  will-change:transform,filter,opacity;
}
.bean-1{width:11vw;margin-right:34vw}
.bean-2{width:11vw;margin-bottom:29rem;margin-right:60vw}
.bean-3{width:5vw;margin-top:25rem;margin-right:40vw}
.bean-4{width:16vw;margin-top:25rem;margin-right:80vw}
.bean-5{width:8vw;margin-bottom:15rem;margin-right:90vw}
.bean-6{width:14vw;margin-bottom:20rem;margin-left:30vw}
.bean-7{width:15vw;margin-bottom:-15rem;margin-left:60vw}
.bean-8{width:9vw;margin-bottom:10rem;margin-left:70vw}
.bean-9{width:7vw;margin-bottom:-6rem;margin-left:90vw}
.roast-content{
  position:relative;z-index:2;display:flex;flex-direction:column;gap:2rem;
  justify-content:center;align-items:center;
}

/* ---------- process (falling-cup pin + photos) ---------- */
.section_process{position:relative;background:var(--primary)}
.leaf_wrapper{
  position:sticky;top:0;height:100vh;z-index:2;
  display:flex;justify-content:center;align-items:flex-start;
  overflow:hidden;pointer-events:none;
  /* soft fade at top & bottom edges: anything entering/leaving melts in
     instead of getting hard-clipped at the overflow line */
  -webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 9rem, #000 calc(100% - 9rem), transparent 100%);
  mask-image:linear-gradient(to bottom, transparent 0, #000 9rem, #000 calc(100% - 9rem), transparent 100%);
}
.leaf{
  position:absolute;top:-14rem;
  filter:drop-shadow(0 .7rem 1.3rem rgba(10,24,45,.35));
  transform:translate(var(--l-x,0px), var(--l-y,0px)) rotate(var(--l-r,0deg)) scale(var(--l-s,1));
  opacity:var(--l-o,1);
  will-change:transform,opacity,filter;pointer-events:none;
}
/* horizontal spread ≈ reference (edge / left-center / right-center / edge) */
.leaf-1{width:10rem;left:4%}
.leaf-2{width:10rem;left:32%;--l-s:.7}
.leaf-3{width:12rem;left:62%}
.leaf-4{width:8rem;left:86%}
.process-grid{
  position:relative;z-index:3;
  display:flex;flex-direction:column;gap:20rem;justify-content:space-between;
  width:100%;max-width:120rem;height:100%;
  margin-top:-100vh;padding:20rem 0;
}
.process_wrapper{
  display:flex;gap:8rem;justify-content:center;align-items:center;margin-right:auto;
}
.process_wrapper.align-right{margin-left:auto;margin-right:0}
.process-image_wrapper{width:min(36rem,44vw);aspect-ratio:4/5;border-radius:1rem;overflow:hidden}
.process-image_wrapper .img-slot{width:100%;height:100%;border-radius:1rem}
/* story card crossfade layers */
.story-fader{position:relative}
.sf-layer{position:absolute;inset:0;background-position:center;background-size:cover;background-repeat:no-repeat;opacity:0;transition:opacity 1.1s ease}
.sf-layer.on{opacity:1}
.process-copy{max-width:34rem;display:flex;flex-direction:column;gap:1.4rem}
@media (max-width:767px){
  .process_wrapper{flex-direction:column;gap:3rem}
  .process-image_wrapper{width:86vw}
  .process-grid{gap:12rem;padding:16rem 0}
}

/* ---------- instagram gallery ---------- */
.section_ig{position:relative;background:var(--primary-dark);padding:14rem 5%}
.ig-inner{max-width:120rem;margin:0 auto;display:flex;flex-direction:column;gap:3rem;align-items:center}
.ig-slider{display:flex;flex-direction:column;align-items:center;gap:1.2rem;margin-top:2rem;width:100%}
.ig-viewport{
  position:relative;width:min(26rem,78vw);aspect-ratio:3/4;
  border-radius:1.4rem;overflow:hidden;
  box-shadow:0 1.6rem 3.6rem rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.14);
}
.ig-track{display:flex;height:100%;transition:transform .6s cubic-bezier(.22,.9,.3,1)}
.ig-slide{flex:0 0 100%;margin:0}
.ig-slide img{width:100%;height:100%;object-fit:cover;display:block}
.ig-arrow{
  position:absolute;top:50%;transform:translateY(-50%);z-index:2;
  width:2.8rem;height:2.8rem;border-radius:999rem;
  background:rgba(10,24,45,.55);color:#fff;font-size:1.1rem;
  display:flex;align-items:center;justify-content:center;
  border:1px solid rgba(255,255,255,.35);
  transition:background-color .25s ease;
}
.ig-arrow:hover{background:rgba(10,24,45,.85)}
.ig-arrow_left{left:.9rem}
.ig-arrow_right{right:.9rem}
.ig-dots{display:flex;gap:.55rem}
.ig-dot{
  width:.55rem;height:.55rem;border-radius:999rem;padding:0;
  background:rgba(255,255,255,.35);cursor:pointer;
  transition:background-color .3s ease, width .3s ease;
}
.ig-dot.is-on{background:var(--tertiary);width:1.5rem}
@media (max-width:639px){.ig-viewport{width:84vw}}
.ig-follow{
  display:inline-block;margin-top:2.5rem;padding:1rem 2.6rem;
  border:1px solid rgba(255,255,255,.55);border-radius:999rem;
  color:#fff;text-transform:uppercase;font-size:.8rem;letter-spacing:.2em;
  transition:background-color .25s ease;
}
.ig-follow:hover{background:rgba(255,255,255,.12)}
@media (max-width:1023px){.ig-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:639px){.ig-grid{grid-template-columns:repeat(2,1fr);gap:1rem}.ig-card:nth-child(5){display:none}}

/* ---------- reviews strip ---------- */
.section_reviews{position:relative;background:var(--primary);padding:12rem 5%}
.reviews-inner{max-width:120rem;margin:0 auto;display:flex;flex-direction:column;gap:3rem;align-items:center}
.reviews-strip{display:flex;gap:1.8rem;justify-content:center;width:100%;margin-top:1.5rem}
.review-card{
  flex:1 1 0;max-width:24rem;margin:0;padding:1.8rem 1.8rem 1.5rem;
  display:flex;flex-direction:column;gap:1rem;
  background:rgba(255,255,255,.07);border-radius:1.4rem;
  box-shadow:0 1.2rem 2.8rem rgba(0,0,0,.28);
}
.review-stars{position:relative;font-size:1.25rem;letter-spacing:.22em;color:rgba(255,255,255,.28);width:max-content}
.review-stars .fill{
  position:absolute;inset:0;width:0;overflow:hidden;white-space:nowrap;color:var(--tertiary);
  transition:width 1.1s cubic-bezier(.22,.9,.3,1);
}
.review-card:nth-child(2) .review-stars .fill{transition-delay:.25s}
.review-card:nth-child(3) .review-stars .fill{transition-delay:.5s}
.section_reviews.stars-in .review-stars .fill{width:var(--fill)}
@media (prefers-reduced-motion: reduce){.review-stars .fill{transition:none;width:var(--fill)}}
.review-card blockquote{margin:0;color:var(--white-smoke);font-size:.98rem;line-height:1.55}
.review-card figcaption{
  margin-top:auto;color:var(--tertiary);
  font-family:var(--font-label);font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;
}
@media (max-width:899px){.reviews-strip{flex-direction:column;align-items:center}.review-card{width:100%;max-width:28rem}}

/* ---------- bag ---------- */
.section_bag{
  position:relative;z-index:1;background:#ccc;
  display:flex;flex-direction:column;justify-content:flex-start;align-items:center;
  padding-top:20rem;
}
.bag-content{
  display:flex;flex-direction:column;gap:1rem;justify-content:flex-start;align-items:center;
  transform-origin:50% 0;
}
.bag-image_wrapper{
  position:relative;z-index:2;width:min(30rem,72vw);aspect-ratio:860/956;
  display:flex;justify-content:center;align-items:center;
}
.bag-image{object-fit:contain;width:100%;height:100%;position:relative}
.bag-text{font-size:clamp(.9rem,1.6vw,1.2rem)}
.bag-text + .bag-text{margin-top:0}

/* ---------- footer ---------- */
.footer_wrapper{background:#ccc}
.footer{
  position:relative;background:var(--primary-dark);
  display:flex;flex-direction:column;justify-content:flex-end;align-items:center;
  padding:20rem 5% 3rem;
}
.footer-content{display:flex;flex-direction:column;gap:8rem;width:100%}
.footer-logo-text{
  color:var(--secondary);text-transform:uppercase;
  font-family:var(--font-heading);font-size:3rem;line-height:1.1;
}
.footer-line{height:1px;background:rgba(255,255,255,.15)}
.footer-top{display:flex;justify-content:space-between;gap:3rem;flex-wrap:wrap}
.footer-top .col{display:flex;flex-direction:column;gap:.9rem;font-size:1rem}
.footer-top .col .lbl{font-size:.75rem;letter-spacing:.2em;text-transform:uppercase;color:rgba(255,255,255,.5)}
.footer-end{display:flex;justify-content:space-between;gap:2rem;flex-wrap:wrap;font-size:.85rem;color:rgba(255,255,255,.55)}
.footer-terms{display:flex;gap:2rem}
.back-to-top{
  position:absolute;inset:0 0 auto;z-index:3;
  width:6rem;height:6rem;margin:-2.5rem auto 0;
  display:flex;justify-content:center;align-items:center;
  background:var(--tertiary);border-radius:999rem;
  transition:transform .3s ease;
}
.back-to-top:hover{transform:translateY(-6px)}
.back-to-top .arrow-icon{width:1.8rem;position:absolute;margin:auto}
/* real reference ornament: curved-text badge covering the button,
   spins 360° every 15s (webflow interaction a-88) */
.back-to-top .curve-text{
  position:absolute;inset:0;width:100%;height:100%;transform:scale(.98);
  animation:curveSpin 15s linear infinite;
}
@keyframes curveSpin{to{transform:scale(.98) rotate(360deg)}}

/* ============================================================
   ORDER ONLINE — delivery buttons (DoorDash + Uber Eats)
   ============================================================ */
.order-strip{display:flex;flex-direction:column;gap:1.2rem;align-items:center}
.order-btns{display:flex;gap:1rem;flex-wrap:wrap;justify-content:center}
.order-btn{display:inline-block;border:1px solid rgba(238,243,253,.55);border-radius:999px;
  padding:.9rem 2.4rem;font-family:var(--font-label);font-size:.8rem;
  letter-spacing:.26em;text-transform:uppercase;color:var(--secondary);
  transition:background-color .3s ease,color .3s ease}
.order-btn:hover{background:var(--secondary);color:var(--primary-dark)}
.order-btn.bag-order{margin-top:1.6rem;border-color:rgba(26,55,96,.45);color:var(--primary-dark)}
.order-btn.bag-order:hover{background:var(--primary-dark);color:var(--secondary)}
.navbar__links .nav-order{padding:.55rem 1.5rem;font-size:.72rem}


/* ============================================================
   HERO SLIDESHOW — crossfade inside the curtain-zoom wrapper
   ============================================================ */
.hero-slides{position:absolute;inset:0}
.hero-slides img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  opacity:0;transition:opacity 1.6s ease}
.hero-slides img.is-active{opacity:1}
