:root{
  --cream: #f7f1e8;
  --cream-2: #efe6d8;
  --card: #fffdf9;
  --ink: #2a2420;
  --muted: #6f6459;
  --border: #e6dac6;
  --clay: #b8794f;
  --clay-light: #e8c9a0;
  --clay-deep: #8a5638;
  --charcoal: #2a2420;
  --charcoal-2: #1c1815;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(42, 36, 32, .08);
  --shadow-lg: 0 24px 60px rgba(42, 36, 32, .16);
  --maxw: 1180px;
  font-size: 16px;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Jost', system-ui, sans-serif;
  color:var(--ink);
  background:var(--cream);
  line-height:1.65;
  overflow-x:hidden;
}
h1,h2,h3,h4{font-family:'Cormorant Garamond', serif; line-height:1.15; font-weight:600;}
a{text-decoration:none; color:inherit;}
ul{list-style:none;}
img{max-width:100%; display:block;}
.container{max-width:var(--maxw); margin:0 auto; padding:0 24px;}
::selection{background:var(--clay); color:#fff;}

/* Preloader */
#preloader{position:fixed; inset:0; background:var(--charcoal); z-index:9999; display:flex; align-items:center; justify-content:center; transition:opacity .5s ease, visibility .5s ease;}
#preloader.done{opacity:0; visibility:hidden;}
.loader-ring{width:44px; height:44px; border:3px solid rgba(255,255,255,.15); border-top-color:var(--clay-light); border-radius:50%; animation:spin .9s linear infinite;}
@keyframes spin{to{transform:rotate(360deg);}}

/* Buttons */
.btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:14px 30px; border-radius:999px; font-weight:500; font-size:.92rem; letter-spacing:.03em; text-transform:uppercase; cursor:pointer; border:1px solid transparent; transition:transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;}
.btn-dark{background:var(--charcoal); color:#fff; box-shadow:0 10px 24px rgba(42,36,32,.25);}
.btn-dark:hover{transform:translateY(-2px); background:var(--charcoal-2); box-shadow:0 14px 30px rgba(42,36,32,.35);}
.btn-cream{background:var(--cream); color:var(--charcoal); box-shadow:0 10px 24px rgba(0,0,0,.2);}
.btn-cream:hover{transform:translateY(-2px); background:#fff;}
.btn-outline{border-color:rgba(255,255,255,.5); color:#fff;}
.btn-outline:hover{background:rgba(255,255,255,.12); transform:translateY(-2px);}
.section .btn-outline{border-color:var(--border); color:var(--ink);}

/* Header */
#header{position:fixed; top:0; left:0; right:0; z-index:1000; padding:20px 0; transition:padding .3s ease, background .3s ease;}
#header.scrolled{background:rgba(247,241,232,.9); backdrop-filter:blur(14px); padding:12px 0; box-shadow:0 8px 24px rgba(42,36,32,.08);}
.nav-wrap{display:flex; align-items:center; justify-content:space-between; gap:24px;}
.brand{display:flex; align-items:center; gap:12px;}
.brand-logo{width:42px; height:auto; display:block; transition:transform .3s ease;}
.brand:hover .brand-logo{transform:scale(1.06);}
.brand-text{
  display:flex; flex-direction:column; line-height:1; font-family:'Cormorant Garamond', serif;
  font-size:1.45rem; font-weight:700; letter-spacing:.04em; color:#fff;
  text-shadow:0 2px 10px rgba(0,0,0,.35);
  animation:brandIn 1s ease .2s both;
  transition:color .3s ease, text-shadow .3s ease;
}
.brand-text span{font-family:'Jost', sans-serif; font-size:.6rem; font-weight:600; color:var(--clay-light); letter-spacing:.16em; text-transform:uppercase; margin-top:2px; transition:color .3s ease;}
#header.scrolled .brand-text{color:var(--ink); text-shadow:none;}
#header.scrolled .brand-text span{color:var(--clay-deep);}
#header.scrolled #nav a{color:var(--ink);}
@keyframes brandIn{from{opacity:0; transform:translateY(-6px);} to{opacity:1; transform:translateY(0);}}
@media (prefers-reduced-motion: reduce){ .brand-text{animation:none;} }
#nav ul{display:flex; gap:30px;}
#nav a{color:#fff; font-weight:500; font-size:.9rem; letter-spacing:.02em; position:relative; padding:4px 0; transition:color .3s ease;}
#nav a::after{content:''; position:absolute; left:0; bottom:-2px; width:0; height:1.5px; background:var(--clay); transition:width .25s ease;}
#nav a:hover::after, #nav a.active::after{width:100%;}
.nav-cta{white-space:nowrap;}
#navToggle{display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:6px;}
#navToggle span{width:24px; height:2px; background:#fff; border-radius:2px; transition:.3s;}
#header.scrolled #navToggle span{background:var(--ink);}

/* Hero */
.hero{position:relative; min-height:100vh; display:flex; align-items:center; overflow:hidden; color:#fff;}
.hero-img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2;}
.hero-scrim{position:absolute; inset:0; z-index:-1; background:linear-gradient(100deg, rgba(20,16,12,.72) 0%, rgba(20,16,12,.42) 48%, rgba(20,16,12,.18) 100%);}
.hero-inner{max-width:680px; padding-top:100px;}
.founder-credit{
  display:inline-flex; align-items:center; gap:12px; margin-bottom:22px;
  padding:6px 20px 6px 16px; border-radius:999px; border:1px solid rgba(255,255,255,.35);
  background:rgba(0,0,0,.28); backdrop-filter:blur(6px);
  color:#fff; font-family:'Cormorant Garamond', serif; font-style:italic; font-size:1.05rem;
  text-shadow:0 1px 6px rgba(0,0,0,.4);
}
.founder-credit::before{content:'★'; color:var(--clay-light); font-size:.8rem;}
.founder-photo{
  width:38px; height:38px; border-radius:50%; object-fit:cover; flex-shrink:0;
  padding:2px; background:linear-gradient(135deg, var(--clay-light), var(--clay) 55%, var(--clay-deep));
  box-shadow:0 4px 14px rgba(184,121,79,.5), 0 0 0 2px rgba(255,255,255,.15);
}
.eyebrow{display:inline-flex; align-items:center; gap:10px; font-weight:500; letter-spacing:.2em; font-size:.74rem; margin-bottom:20px; text-transform:uppercase; color:var(--clay-light);}
.eyebrow::before{content:''; width:26px; height:1.5px; background:var(--clay-light);}
.hero h1{font-size:clamp(2.8rem, 6vw, 4.6rem); font-weight:600; color:#fff; margin-bottom:24px; text-wrap:balance;}
.hero h1 .accent{color:var(--clay-light); font-style:italic;}
.hero .lead{font-size:1.12rem; color:#e8e2d8; max-width:520px; margin-bottom:36px;}
.hero-actions{display:flex; gap:16px; flex-wrap:wrap;}

/* Sections */
.section{padding:120px 0;}
.section-head{max-width:620px; margin:0 auto 56px; text-align:center;}
.section-head h2{font-size:clamp(2rem,3.4vw,2.8rem); margin-bottom:14px;}
.section-head .lead{color:var(--muted);}
.section .eyebrow{color:var(--clay-deep);}
.section .eyebrow::before{background:var(--clay-deep);}

/* Categories */
.cat-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
.cat-card{position:relative; border-radius:var(--radius); overflow:hidden; aspect-ratio:3/4; box-shadow:var(--shadow);}
.cat-card img{width:100%; height:100%; object-fit:cover; transition:transform .5s ease;}
.cat-card::after{content:''; position:absolute; inset:0; background:linear-gradient(180deg, transparent 40%, rgba(20,16,12,.75));}
.cat-card:hover img{transform:scale(1.06);}
.cat-label{position:absolute; left:22px; bottom:20px; z-index:1; color:#fff; font-family:'Cormorant Garamond', serif; font-size:1.6rem; font-weight:600;}

/* Products */
.grid{display:grid; gap:26px;}
.product-grid{grid-template-columns:repeat(3, 1fr);}
.product-card{background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:16px; transition:transform .3s ease, box-shadow .3s ease;}
.product-card:hover{transform:translateY(-6px); box-shadow:var(--shadow-lg);}
.product-media{position:relative; border-radius:12px; overflow:hidden; aspect-ratio:4/5; margin-bottom:16px;}
.product-media img{width:100%; height:100%; object-fit:cover; transition:transform .5s ease;}
.product-card:hover .product-media img{transform:scale(1.05);}
.tag{position:absolute; top:12px; left:12px; background:var(--charcoal); color:#fff; font-size:.68rem; letter-spacing:.08em; text-transform:uppercase; padding:5px 10px; border-radius:999px;}
.product-card h3{font-size:1.2rem; margin-bottom:0;}

/* Story */
.story-grid{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;}
.story-media img{border-radius:20px; box-shadow:var(--shadow-lg);}
.story-copy h2{font-size:clamp(2rem,3.4vw,2.6rem); margin:10px 0 20px;}
.story-copy p{color:var(--muted); margin-bottom:16px; max-width:52ch;}
.founder-line{font-family:'Cormorant Garamond', serif; font-style:italic; font-size:1.1rem; color:var(--clay-deep); margin-bottom:0;}
.check-list{margin-top:20px; display:flex; flex-direction:column; gap:10px;}
.check-list li{padding-left:26px; position:relative; font-weight:500; font-size:.95rem;}
.check-list li::before{content:'—'; position:absolute; left:0; color:var(--clay);}

/* Newsletter */
.newsletter{background:var(--charcoal); color:#fff; text-align:center;}
.newsletter-inner{max-width:560px; margin:0 auto;}
.newsletter h2{color:#fff; font-size:clamp(2rem,3.4vw,2.6rem); margin-bottom:14px;}
.newsletter .lead{color:#cfc6ba; margin-bottom:30px;}
.newsletter-form{display:flex; gap:10px; flex-wrap:wrap; justify-content:center;}
.newsletter-form input{flex:1; min-width:220px; padding:14px 18px; border-radius:999px; border:1px solid rgba(255,255,255,.25); background:rgba(255,255,255,.06); color:#fff; font-family:inherit; font-size:.95rem;}
.newsletter-form input::placeholder{color:#a89e90;}
.newsletter-form input:focus{outline:none; border-color:var(--clay-light);}
.newsletter .btn-dark{background:var(--clay); }
.newsletter .btn-dark:hover{background:var(--clay-deep);}

/* Contact */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:32px; align-items:start;}
.panel{background:var(--card); border:1px solid var(--border); border-radius:20px; padding:36px; box-shadow:var(--shadow);}
.contact h2{font-size:clamp(1.9rem,3vw,2.4rem); margin:10px 0 26px;}
.contact-info{display:flex; flex-direction:column; gap:18px; margin-bottom:24px;}
.info-item{display:flex; flex-direction:column; gap:4px;}
.info-item strong{font-family:'Cormorant Garamond', serif; font-size:1.1rem;}
.info-item span{color:var(--muted); font-size:.92rem;}
.socials{display:flex; gap:12px;}
.socials a{width:38px; height:38px; border-radius:50%; background:var(--cream-2); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:.78rem; font-weight:700; color:var(--clay-deep); transition:.25s;}
.socials a:hover{background:var(--clay); color:#fff; transform:translateY(-3px);}
.contact-form{display:flex; flex-direction:column; gap:16px;}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
.contact-form input, .contact-form textarea{width:100%; border:1px solid var(--border); border-radius:10px; padding:13px 16px; font-family:inherit; font-size:.94rem; background:var(--cream); resize:vertical; transition:border-color .2s ease, box-shadow .2s ease;}
.contact-form input:focus, .contact-form textarea:focus{outline:none; border-color:var(--clay); box-shadow:0 0 0 3px rgba(184,121,79,.15);}
.form-note{font-size:.85rem; color:var(--clay-deep); font-weight:600; min-height:1.2em; margin-top:4px;}

.map-wrap{margin-top:40px; border-radius:20px; overflow:hidden; box-shadow:var(--shadow-lg); border:1px solid var(--border);}
.map-frame{width:100%; height:360px; border:0; display:block; filter:sepia(.08) saturate(1.05);}
@media (max-width:760px){.map-frame{height:280px;}}

/* Footer */
.footer{background:var(--charcoal-2); color:#a89e90; padding:44px 0;}
.footer-inner{text-align:center; display:flex; flex-direction:column; align-items:center; gap:10px;}
.footer-brand{display:flex; align-items:center; gap:10px; color:#fff; font-family:'Cormorant Garamond', serif; font-weight:700; font-size:1.2rem; letter-spacing:.04em;}
.footer-logo{width:34px; height:auto; display:block;}
.footer-tag{font-style:italic; color:var(--clay-light); font-size:.9rem;}
.footer-copy{font-size:.8rem;}

/* Back to top */
#toTop{position:fixed; right:24px; bottom:24px; width:44px; height:44px; border-radius:50%; background:var(--charcoal); color:#fff; display:flex; align-items:center; justify-content:center; opacity:0; visibility:hidden; transform:translateY(10px); transition:.3s; z-index:900; box-shadow:var(--shadow-lg);}
#toTop.show{opacity:1; visibility:visible; transform:translateY(0);}

/* WhatsApp chat */
#waChat{
  position:fixed; left:24px; bottom:24px; width:56px; height:56px; border-radius:50%;
  background:#25D366; color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 26px rgba(37,211,102,.45); z-index:900; transition:transform .25s ease, box-shadow .25s ease;
  animation:waPulse 2.6s ease-in-out infinite;
}
#waChat:hover{transform:translateY(-3px) scale(1.05); box-shadow:0 14px 32px rgba(37,211,102,.55);}
@keyframes waPulse{0%,100%{box-shadow:0 10px 26px rgba(37,211,102,.45);}50%{box-shadow:0 10px 26px rgba(37,211,102,.45), 0 0 0 8px rgba(37,211,102,.18);}}
@media (prefers-reduced-motion: reduce){ #waChat{animation:none;} }

/* Instagram */
#igChat{
  position:fixed; left:92px; bottom:24px; width:56px; height:56px; border-radius:50%;
  background:radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 26px rgba(214,36,159,.4); z-index:900; transition:transform .25s ease, box-shadow .25s ease;
}
#igChat:hover{transform:translateY(-3px) scale(1.05); box-shadow:0 14px 32px rgba(214,36,159,.5);}

/* Facebook */
#fbChat{
  position:fixed; left:160px; bottom:24px; width:56px; height:56px; border-radius:50%;
  background:#1877F2; color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 26px rgba(24,119,242,.45); z-index:900; transition:transform .25s ease, box-shadow .25s ease;
}
#fbChat:hover{transform:translateY(-3px) scale(1.05); box-shadow:0 14px 32px rgba(24,119,242,.55);}

/* YouTube */
#ytChat{
  position:fixed; left:228px; bottom:24px; width:56px; height:56px; border-radius:50%;
  background:#FF0000; color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 26px rgba(255,0,0,.4); z-index:900; transition:transform .25s ease, box-shadow .25s ease;
}
#ytChat:hover{transform:translateY(-3px) scale(1.05); box-shadow:0 14px 32px rgba(255,0,0,.5);}

@media (max-width:600px){
  #waChat{width:50px; height:50px; left:16px; bottom:16px;}
  #igChat{width:50px; height:50px; left:78px; bottom:16px;}
  #fbChat{width:50px; height:50px; left:140px; bottom:16px;}
  #ytChat{width:50px; height:50px; left:202px; bottom:16px;}
  #toTop{right:16px; bottom:16px;}
}

/* Reveal animation */
[data-aos]{opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease;}
[data-aos].in{opacity:1; transform:translateY(0);}
@media (prefers-reduced-motion: reduce){ [data-aos]{opacity:1; transform:none;} html{scroll-behavior:auto;} }

/* Responsive */
@media (max-width: 980px){
  .cat-grid{grid-template-columns:1fr 1fr;}
  .product-grid{grid-template-columns:repeat(2,1fr);}
  .story-grid, .contact-grid{grid-template-columns:1fr;}
}
@media (max-width: 760px){
  #nav{position:fixed; top:0; right:-100%; height:100vh; width:78%; max-width:320px; background:var(--charcoal); flex-direction:column; padding:100px 32px; transition:right .35s ease;}
  #nav.open{right:0;}
  #nav ul{flex-direction:column; gap:22px;}
  #nav a{color:#fff !important;}
  .nav-cta{display:none;}
  #navToggle{display:flex;}
  .cat-grid{grid-template-columns:1fr;}
  .product-grid{grid-template-columns:1fr;}
  .form-row{grid-template-columns:1fr;}
}
