/* =====================================================
   GREEN SOURCE — Design tokens
   Palette pulled from the real logo: red badge, navy wordmark, warm cream base, gold accent
   Display: Fraunces (bold, confident headlines — Bakehouse/Cobs style)
   Body: Work Sans
   Utility/ticket: Space Mono
   Signature: "4D" moving photo carousel (continuous 3D coverflow of real product/store photography)
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,600&family=Work+Sans:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root{
  --cream:#FAF5E8;
  --cream-soft:#FFFDF8;
  --ink:#20211D;
  --navy:#14315D;
  --red:#C21F26;
  --gold:#E8A33D;
  --leaf:#3D6B3F;
  --line: rgba(20,49,93,0.14);
  --shadow: 0 24px 60px rgba(20,49,93,0.16);
  --ease: cubic-bezier(.22,.68,0,1);
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth; overflow-x:hidden; width:100%;}
body{
  font-family:'Work Sans', sans-serif;
  background:var(--cream);
  color:var(--ink);
  overflow-x:hidden;
  width:100%;
  line-height:1.6;
}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
button{font-family:inherit; cursor:pointer; border:none; background:none;}
ul{list-style:none;}
h1,h2,h3,h4{font-family:'Fraunces', serif; font-weight:600; letter-spacing:-0.01em;}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important;}
}
:focus-visible{outline:2px solid var(--red); outline-offset:3px;}

.container{max-width:1200px; margin:0 auto; padding:0 32px;}
@media (max-width:640px){.container{padding:0 20px;}}

.eyebrow{
  font-family:'Space Mono', monospace;
  font-size:12px; letter-spacing:0.12em; text-transform:uppercase;
  color:var(--red); display:block; margin-bottom:12px;
}

.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:15px 28px; border-radius:3px;
  font-family:'Space Mono', monospace; font-size:13px; letter-spacing:0.04em; text-transform:uppercase;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn-primary{background:var(--red); color:#fff;}
.btn-primary:hover{transform:translateY(-3px); box-shadow:0 14px 26px rgba(194,31,38,0.35);}
.btn-outline{border:1.5px solid var(--navy); color:var(--navy);}
.btn-outline:hover{background:var(--navy); color:#fff;}
.btn-light{border:1.5px solid rgba(255,255,255,.7); color:#fff;}
.btn-light:hover{background:#fff; color:var(--navy);}
.btn-whatsapp{background:#2CA84A; color:#fff;}
.btn-whatsapp:hover{transform:translateY(-3px); box-shadow:0 14px 26px rgba(44,168,74,.35);}

/* cursor -------------------------------------------- */
.cursor-dot, .cursor-ring{position:fixed; top:0; left:0; pointer-events:none; z-index:9999; border-radius:50%; transform:translate(-50%,-50%);}
.cursor-dot{width:6px; height:6px; background:var(--red);}
.cursor-ring{width:34px; height:34px; border:1px solid rgba(194,31,38,0.45); transition:width .25s var(--ease), height .25s var(--ease), background .25s var(--ease);}
.cursor-ring.hover{width:56px; height:56px; background:rgba(232,163,61,0.15);}
@media (hover:none), (pointer:coarse){.cursor-dot,.cursor-ring{display:none;}}

/* Splash ---------------------------------------------------------- */
#splash{
  position:fixed; inset:0; z-index:10000; background:var(--navy);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:22px;
  transition:opacity .8s var(--ease), visibility .8s;
}
#splash.hide{opacity:0; visibility:hidden; pointer-events:none;}
#splash .logo-mark{width:100px; background:#fff; border-radius:10px; padding:10px; animation:riseFall 1.8s ease-in-out infinite;}
@keyframes riseFall{0%,100%{transform:translateY(0) scale(1);}50%{transform:translateY(-10px) scale(1.05);}}
#splash .splash-word{font-family:'Fraunces',serif; color:#fff; font-size:22px; font-weight:600;}
#splash .progress-track{width:220px; height:3px; background:rgba(255,255,255,0.2); position:relative; overflow:hidden; border-radius:2px;}
#splash .progress-fill{position:absolute; left:0; top:0; height:100%; width:0%; background:var(--gold); transition:width .2s linear;}
#splash .progress-pct{font-family:'Space Mono',monospace; color:var(--gold); font-size:12px; letter-spacing:.1em;}

/* Language gate ------------------------------------------------------------ */
#lang-gate{
  position:fixed; inset:0; z-index:9998; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(160deg, rgba(20,49,93,.88), rgba(194,31,38,.55)), url('assets/hero/hero-shelf-woman.jpg') center/cover;
  opacity:0; visibility:hidden; transition:opacity .6s var(--ease), visibility .6s;
}
#lang-gate.show{opacity:1; visibility:visible;}
.lang-card{
  background:rgba(255,253,248,0.94); backdrop-filter:blur(18px);
  border:1px solid rgba(255,255,255,0.4); border-radius:6px;
  padding:56px 48px; text-align:center; max-width:420px; width:92%;
  box-shadow:var(--shadow); animation:cardIn .9s var(--ease);
}
@keyframes cardIn{from{opacity:0; transform:translateY(24px) scale(.97);} to{opacity:1; transform:none;}}
.lang-card img{width:64px; margin:0 auto 20px;}
.lang-card h2{font-size:26px; margin-bottom:6px;}
.lang-card p{font-size:14px; color:rgba(32,33,29,.7); margin-bottom:28px;}
.lang-options{display:flex; flex-direction:column; gap:12px;}
.lang-btn{
  border:1px solid var(--line); padding:16px 20px; border-radius:3px;
  display:flex; align-items:center; justify-content:space-between;
  font-family:'Fraunces',serif; font-size:17px; background:rgba(255,255,255,.6);
  transition:all .35s var(--ease);
}
.lang-btn:hover{border-color:var(--red); background:#fff; transform:translateX(4px);}

/* Particles ------------------------------------------------------------ */
#particles{position:fixed; inset:0; pointer-events:none; z-index:5; overflow:hidden;}
.mote{position:absolute; background:rgba(232,163,61,0.55); border-radius:50%; animation:drift linear infinite;}
@keyframes drift{from{transform:translateY(110vh) translateX(0);} to{transform:translateY(-10vh) translateX(30px);}}

/* Header ------------------------------------------------------------------ */
header{
  position:fixed; top:0; left:0; right:0; z-index:200;
  display:flex; align-items:center; justify-content:space-between;
  padding:20px 32px; transition:background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
header.scrolled{background:rgba(250,245,232,0.94); backdrop-filter:blur(10px); padding:13px 32px; box-shadow:0 2px 20px rgba(20,49,93,.1);}
.brand{display:flex; align-items:center; gap:10px; font-family:'Fraunces',serif; font-size:19px; font-weight:700; color:var(--navy);}
header:not(.scrolled) .brand{color:#fff;}
.brand img{width:38px; background:#fff; border-radius:6px; padding:3px;}
nav.primary-nav{display:flex; gap:32px;}
nav.primary-nav a{font-size:14px; position:relative; padding:4px 0; color:var(--navy); font-weight:500;}
header:not(.scrolled) nav.primary-nav a{color:#fff;}
nav.primary-nav a::after{content:'';position:absolute; left:0; bottom:0; width:0; height:2px; background:var(--red); transition:width .35s var(--ease);}
nav.primary-nav a:hover::after{width:100%;}
.header-actions{display:flex; align-items:center; gap:16px;}
.icon-btn{position:relative; font-size:20px; color:var(--navy);}
header:not(.scrolled) .icon-btn{color:#fff;}
.cart-count{position:absolute; top:-8px; right:-10px; background:var(--red); color:#fff; font-size:10px; width:17px; height:17px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:'Space Mono',monospace;}
.lang-toggle{font-family:'Space Mono',monospace; font-size:12px; border:1px solid var(--line); padding:6px 10px; border-radius:3px; color:var(--navy);}
header:not(.scrolled) .lang-toggle{color:#fff; border-color:rgba(255,255,255,.5);}
.hamburger{display:none; font-size:22px; color:var(--navy);}
header:not(.scrolled) .hamburger{color:#fff;}
@media(max-width:900px){
  nav.primary-nav{position:fixed; top:0; right:-100%; width:78%; max-width:340px; height:100vh; background:var(--cream-soft); flex-direction:column; padding:100px 32px; gap:26px; transition:right .5s var(--ease); box-shadow:-10px 0 40px rgba(0,0,0,.15);}
  nav.primary-nav a{color:var(--navy) !important;}
  nav.primary-nav.open{right:0;}
  .hamburger{display:block;}
}

/* Hero — real photo, dark overlay ------------------------------------- */
.hero{
  min-height:100vh; display:flex; align-items:flex-end; position:relative;
  padding:140px 0 100px; overflow:hidden; color:#fff;
}
.hero-bg{position:absolute; inset:0; z-index:-2;}
.hero-bg img{width:100%; height:100%; object-fit:cover;}
.hero-bg::after{content:''; position:absolute; inset:0; background:linear-gradient(180deg, rgba(20,49,93,.55) 0%, rgba(20,20,15,.65) 55%, rgba(10,10,8,.88) 100%); z-index:-1;}
.hero-content{max-width:640px;}
.hero .eyebrow{color:var(--gold);}
.hero h1{font-size:clamp(38px,6vw,68px); line-height:1.04; margin-bottom:20px;}
.hero p.lead{font-size:17px; color:rgba(255,255,255,.85); max-width:480px; margin-bottom:32px;}
.hero-cta{display:flex; gap:16px; flex-wrap:wrap;}
.scroll-progress{position:fixed; top:0; left:0; height:3px; background:var(--red); z-index:300; width:0%;}

/* Reveal-on-scroll ------------------------------------------------------------ */
.reveal{opacity:0; transform:translateY(36px); transition:opacity .9s var(--ease), transform .9s var(--ease);}
.reveal.in{opacity:1; transform:none;}
.reveal-blur{opacity:0; filter:blur(10px); transition:opacity 1s var(--ease), filter 1s var(--ease);}
.reveal-blur.in{opacity:1; filter:blur(0);}

/* Stat strip (Bakehouse-style bold number banner) ------------------------ */
.stat-strip{background:var(--navy); color:#fff; padding:48px 0;}
.stat-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(130px,1fr)); gap:16px; text-align:center;}
.stat-grid div strong{font-family:'Fraunces',serif; font-size:40px; display:block; color:var(--gold);}
.stat-grid div span{font-size:12px; font-family:'Space Mono',monospace; text-transform:uppercase; letter-spacing:.06em; opacity:.85;}

/* Section basics --------------------------------------------------------------- */
section{padding:100px 0;}
.section-head{max-width:620px; margin-bottom:52px;}
.section-head h2{font-size:clamp(30px,4vw,44px);}
.section-head p{color:rgba(32,33,29,.68); margin-top:14px; font-size:15px;}
.section-head.center{margin-left:auto; margin-right:auto; text-align:center;}

/* About / factory --------------------------------------------------------------- */
.about-grid{display:grid; grid-template-columns:.9fr 1.1fr; gap:60px; align-items:center;}
@media(max-width:900px){.about-grid{grid-template-columns:1fr;}}
.about-grid img{border-radius:6px; box-shadow:var(--shadow);}

/* Products --------------------------------------------------------------- */
.product-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:32px;}
.product-card{
  background:var(--cream-soft); border-radius:8px; overflow:hidden; border:1px solid var(--line);
  transition:transform .5s var(--ease), box-shadow .5s var(--ease);
}
.product-card:hover{transform:translateY(-8px); box-shadow:var(--shadow);}
.product-card .thumb{aspect-ratio:4/3; overflow:hidden; position:relative; background:#f0e9d8;}
.product-card .thumb img{width:100%; height:100%; object-fit:cover; transition:transform .7s var(--ease);}
.product-card:hover .thumb img{transform:scale(1.08);}
.product-card .weight-tag{position:absolute; top:14px; right:14px; background:rgba(255,255,255,.92); font-family:'Space Mono',monospace; font-size:11px; padding:4px 10px; border-radius:20px; color:var(--navy);}
.product-card .body{padding:22px 24px 26px;}
.product-card h4{font-size:19px; margin-bottom:8px;}
.product-card p{font-size:13.5px; color:rgba(32,33,29,.65); min-height:40px;}
.product-card .price{font-family:'Space Mono',monospace; color:var(--red); font-size:16px; margin:14px 0;}
.product-card .card-actions{display:flex; gap:8px;}
.product-card .card-actions button{flex:1; padding:11px; font-size:11px; border-radius:3px;}

/* "4D" moving carousel — continuous 3D coverflow of real photography ------- */
.carousel-4d{position:relative; height:420px; perspective:1400px; margin-top:10px; overflow:hidden; max-width:100%;}
.carousel-track{position:absolute; inset:0; transform-style:preserve-3d; animation:carousel-spin 34s linear infinite;}
.carousel-track:hover{animation-play-state:paused;}
.carousel-item{
  position:absolute; top:50%; left:50%; width:280px; height:340px; margin:-170px 0 0 -140px;
  border-radius:8px; overflow:hidden; box-shadow:0 20px 50px rgba(20,49,93,.35);
  transform-origin:center center;
}
.carousel-item img{width:100%; height:100%; object-fit:cover;}
.carousel-item .cap{position:absolute; left:0; right:0; bottom:0; padding:14px 16px; background:linear-gradient(0deg, rgba(0,0,0,.75), transparent); color:#fff; font-family:'Space Mono',monospace; font-size:11.5px;}
@keyframes carousel-spin{ from{ transform:rotateY(0deg);} to{ transform:rotateY(360deg);} }
.carousel-hint{text-align:center; font-family:'Space Mono',monospace; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:rgba(32,33,29,.45); margin-top:18px;}
@media(max-width:760px){
  .carousel-4d{height:320px;}
  .carousel-item{width:210px; height:260px; margin:-130px 0 0 -105px;}
}

/* Retail presence strip ----------------------------------------------------- */
.retail-strip{display:grid; grid-template-columns:repeat(4,1fr); gap:14px;}
.retail-strip img{border-radius:6px; aspect-ratio:1/1; object-fit:cover; transition:transform .5s var(--ease);}
.retail-strip a:hover img{transform:scale(1.05);}
@media(max-width:760px){.retail-strip{grid-template-columns:repeat(2,1fr);}}

/* Testimonials --------------------------------------------------------------- */
.testi-slider{position:relative; max-width:680px; margin:0 auto; text-align:center; min-height:190px;}
.testi-slide{position:absolute; inset:0; opacity:0; transition:opacity .7s var(--ease); display:flex; flex-direction:column; align-items:center;}
.testi-slide.active{opacity:1; position:relative;}
.testi-slide .stars{color:var(--gold); font-size:16px; margin-bottom:14px;}
.testi-slide p.quote{font-family:'Fraunces',serif; font-style:italic; font-size:21px; line-height:1.5; margin-bottom:20px;}
.testi-who{display:flex; align-items:center; gap:10px; font-size:13px;}
.testi-who .avatar{width:38px; height:38px; border-radius:50%; background:var(--red); display:flex; align-items:center; justify-content:center; color:#fff; font-family:'Fraunces',serif;}
.testi-dots{display:flex; gap:8px; justify-content:center; margin-top:28px;}
.testi-dots span{width:7px; height:7px; border-radius:50%; background:var(--line); cursor:pointer; transition:background .3s;}
.testi-dots span.active{background:var(--red);}

/* Newsletter --------------------------------------------------------------- */
.newsletter{background:var(--navy); color:#fff; border-radius:8px; padding:64px 48px; text-align:center;}
.newsletter h2{color:#fff;}
.newsletter form{display:flex; gap:10px; max-width:420px; margin:28px auto 0; flex-wrap:wrap; justify-content:center;}
.newsletter input{flex:1; min-width:220px; padding:14px 16px; border-radius:3px; border:1px solid rgba(255,255,255,.3); background:rgba(255,255,255,.08); color:#fff;}
.newsletter input::placeholder{color:rgba(255,255,255,.6);}

/* Contact --------------------------------------------------------------------- */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:50px;}
@media(max-width:900px){.contact-grid{grid-template-columns:1fr;}}
.contact-info li{display:flex; gap:14px; margin-bottom:20px; font-size:14px;}
.contact-info strong{display:block; font-family:'Space Mono',monospace; font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:var(--red); margin-bottom:3px;}
.map-embed{border-radius:6px; overflow:hidden; border:1px solid var(--line); height:280px; margin-top:24px; position:relative;}
.map-embed iframe{width:100%; height:100%; border:0;}
.map-directions{position:absolute; bottom:14px; right:14px;}

/* Cart drawer --------------------------------------------------------------- */
.overlay{position:fixed; inset:0; background:rgba(20,49,93,.5); z-index:400; opacity:0; visibility:hidden; transition:opacity .4s;}
.overlay.show{opacity:1; visibility:visible;}
#cart-drawer{
  position:fixed; top:0; right:-420px; width:400px; max-width:92vw; height:100vh; background:var(--cream-soft);
  z-index:401; box-shadow:-10px 0 40px rgba(0,0,0,.2); transition:right .5s var(--ease);
  display:flex; flex-direction:column;
}
#cart-drawer.open{right:0;}
.cart-head{padding:24px 24px 16px; display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid var(--line);}
.cart-items{flex:1; overflow-y:auto; padding:16px 24px;}
.cart-item{display:flex; gap:12px; padding:14px 0; border-bottom:1px solid var(--line);}
.cart-item img{width:64px; height:64px; object-fit:cover; border-radius:4px;}
.cart-item .qty-row{display:flex; align-items:center; gap:10px; margin-top:6px;}
.cart-item .qty-row button{border:1px solid var(--line); width:22px; height:22px; border-radius:3px; font-size:13px;}
.cart-foot{padding:20px 24px 28px; border-top:1px solid var(--line);}
.cart-foot .row{display:flex; justify-content:space-between; font-size:14px; margin-bottom:8px;}
.cart-foot .row.total{font-family:'Fraunces',serif; font-size:19px; margin:14px 0;}
.empty-cart{text-align:center; padding:60px 20px; color:rgba(32,33,29,.5); font-size:14px;}

/* Product quick modal --------------------------------------------------------- */
#product-modal{position:fixed; inset:0; z-index:500; display:flex; align-items:center; justify-content:center; opacity:0; visibility:hidden; transition:opacity .4s; background:rgba(20,49,93,.5);}
#product-modal.show{opacity:1; visibility:visible;}
.modal-card{background:var(--cream-soft); border-radius:8px; max-width:640px; width:92%; display:grid; grid-template-columns:1fr 1fr; overflow:hidden; box-shadow:var(--shadow); position:relative;}
@media(max-width:640px){.modal-card{grid-template-columns:1fr;}}
.modal-card img{width:100%; height:100%; object-fit:cover; min-height:220px;}
.modal-body{padding:32px;}
.modal-close{position:absolute; top:14px; right:16px; font-size:20px; color:var(--navy); z-index:2; background:rgba(255,255,255,.8); width:32px; height:32px; border-radius:50%;}

/* Footer --------------------------------------------------------------------- */
footer{background:var(--ink); color:rgba(250,245,232,.85); padding:70px 0 28px;}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; margin-bottom:50px;}
@media(max-width:800px){.footer-grid{grid-template-columns:1fr 1fr;}}
footer h5{font-family:'Space Mono',monospace; font-size:12px; text-transform:uppercase; letter-spacing:.08em; color:var(--gold); margin-bottom:16px;}
footer li{margin-bottom:10px; font-size:14px;}
footer li a:hover{color:var(--gold);}
.footer-bottom{border-top:1px solid rgba(250,245,232,.12); padding-top:24px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:12px; color:rgba(250,245,232,.5);}
.credit-link{color:rgba(250,245,232,.35); font-size:11px; transition:color .3s;}
.credit-link:hover{color:var(--gold);}

/* Toast ------------------------------------------------------------------------ */
#toast{position:fixed; bottom:26px; left:50%; transform:translateX(-50%) translateY(20px); background:var(--ink); color:#fff; padding:14px 24px; border-radius:4px; font-size:13px; opacity:0; visibility:hidden; transition:all .4s var(--ease); z-index:600; font-family:'Space Mono',monospace;}
#toast.show{opacity:1; visibility:visible; transform:translateX(-50%) translateY(0);}

/* Back to top --------------------------------------------------------------- */
#to-top{position:fixed; bottom:26px; right:26px; width:44px; height:44px; border-radius:50%; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; z-index:150; opacity:0; visibility:hidden; transition:all .4s var(--ease);}
#to-top.show{opacity:1; visibility:visible;}
